Commit 8718d75e authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
  pata_ixp4xx_cf: fix interrupt
  pata_ixp4xx_cf: fix oops on detach
  libata: kernel-doc fix
  sata_inic162x: kill double region requests
  drivers/ata/Kconfig: PATA_SCC depends on wrong platform
  sata_sil24: Add Adaptec 1220SA PCI ID
  libata: don't whine if ->prereset() returns -ENOENT
parents f32e3555 282c6b9c
...@@ -564,7 +564,7 @@ config PATA_IXP4XX_CF ...@@ -564,7 +564,7 @@ config PATA_IXP4XX_CF
config PATA_SCC config PATA_SCC
tristate "Toshiba's Cell Reference Set IDE support" tristate "Toshiba's Cell Reference Set IDE support"
depends on PCI && PPC_IBM_CELL_BLADE depends on PCI && PPC_CELLEB
help help
This option enables support for the built-in IDE controller on This option enables support for the built-in IDE controller on
Toshiba Cell Reference Board. Toshiba Cell Reference Board.
......
...@@ -826,7 +826,7 @@ static u64 ata_id_n_sectors(const u16 *id) ...@@ -826,7 +826,7 @@ static u64 ata_id_n_sectors(const u16 *id)
/** /**
* ata_id_to_dma_mode - Identify DMA mode from id block * ata_id_to_dma_mode - Identify DMA mode from id block
* @dev: device to identify * @dev: device to identify
* @mode: mode to assume if we cannot tell * @unknown: mode to assume if we cannot tell
* *
* Set up the timing values for the device based upon the identify * Set up the timing values for the device based upon the identify
* reported values for the DMA mode. This function is used by drivers * reported values for the DMA mode. This function is used by drivers
......
...@@ -1625,8 +1625,14 @@ static int ata_eh_reset(struct ata_port *ap, int classify, ...@@ -1625,8 +1625,14 @@ static int ata_eh_reset(struct ata_port *ap, int classify,
rc = prereset(ap); rc = prereset(ap);
if (rc) { if (rc) {
if (rc == -ENOENT) { if (rc == -ENOENT) {
ata_port_printk(ap, KERN_DEBUG, "port disabled. ignoring.\n"); ata_port_printk(ap, KERN_DEBUG,
"port disabled. ignoring.\n");
ap->eh_context.i.action &= ~ATA_EH_RESET_MASK; ap->eh_context.i.action &= ~ATA_EH_RESET_MASK;
for (i = 0; i < ATA_MAX_DEVICES; i++)
classes[i] = ATA_DEV_NONE;
rc = 0;
} else } else
ata_port_printk(ap, KERN_ERR, ata_port_printk(ap, KERN_ERR,
"prereset failed (errno=%d)\n", rc); "prereset failed (errno=%d)\n", rc);
......
...@@ -193,7 +193,7 @@ static __devinit int ixp4xx_pata_probe(struct platform_device *pdev) ...@@ -193,7 +193,7 @@ static __devinit int ixp4xx_pata_probe(struct platform_device *pdev)
irq = platform_get_irq(pdev, 0); irq = platform_get_irq(pdev, 0);
if (irq) if (irq)
set_irq_type(irq, IRQT_HIGH); set_irq_type(irq, IRQT_RISING);
/* Setup expansion bus chip selects */ /* Setup expansion bus chip selects */
*data->cs0_cfg = data->cs0_bits; *data->cs0_cfg = data->cs0_bits;
...@@ -232,7 +232,6 @@ static __devexit int ixp4xx_pata_remove(struct platform_device *dev) ...@@ -232,7 +232,6 @@ static __devexit int ixp4xx_pata_remove(struct platform_device *dev)
struct ata_host *host = platform_get_drvdata(dev); struct ata_host *host = platform_get_drvdata(dev);
ata_host_detach(host); ata_host_detach(host);
platform_set_drvdata(dev, NULL);
return 0; return 0;
} }
......
...@@ -672,10 +672,6 @@ static int inic_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -672,10 +672,6 @@ static int inic_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
if (rc) if (rc)
return rc; return rc;
rc = pci_request_regions(pdev, DRV_NAME);
if (rc)
return rc;
rc = pcim_iomap_regions(pdev, 0x3f, DRV_NAME); rc = pcim_iomap_regions(pdev, 0x3f, DRV_NAME);
if (rc) if (rc)
return rc; return rc;
......
...@@ -346,6 +346,7 @@ static const struct pci_device_id sil24_pci_tbl[] = { ...@@ -346,6 +346,7 @@ static const struct pci_device_id sil24_pci_tbl[] = {
{ PCI_VDEVICE(CMD, 0x3124), BID_SIL3124 }, { PCI_VDEVICE(CMD, 0x3124), BID_SIL3124 },
{ PCI_VDEVICE(INTEL, 0x3124), BID_SIL3124 }, { PCI_VDEVICE(INTEL, 0x3124), BID_SIL3124 },
{ PCI_VDEVICE(CMD, 0x3132), BID_SIL3132 }, { PCI_VDEVICE(CMD, 0x3132), BID_SIL3132 },
{ PCI_VDEVICE(CMD, 0x0242), BID_SIL3132 },
{ PCI_VDEVICE(CMD, 0x3131), BID_SIL3131 }, { PCI_VDEVICE(CMD, 0x3131), BID_SIL3131 },
{ PCI_VDEVICE(CMD, 0x3531), BID_SIL3131 }, { PCI_VDEVICE(CMD, 0x3531), BID_SIL3131 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment