diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/ahci.c | 3 | ||||
-rw-r--r-- | drivers/ata/ata_piix.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_nv.c | 12 |
3 files changed, 9 insertions, 7 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index cef2e70d64f8..988f8bbd14ff 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -736,8 +736,7 @@ static int ahci_softreset(struct ata_port *ap, unsigned int *class) | |||
736 | } | 736 | } |
737 | 737 | ||
738 | /* check BUSY/DRQ, perform Command List Override if necessary */ | 738 | /* check BUSY/DRQ, perform Command List Override if necessary */ |
739 | ahci_tf_read(ap, &tf); | 739 | if (ahci_check_status(ap) & (ATA_BUSY | ATA_DRQ)) { |
740 | if (tf.command & (ATA_BUSY | ATA_DRQ)) { | ||
741 | rc = ahci_clo(ap); | 740 | rc = ahci_clo(ap); |
742 | 741 | ||
743 | if (rc == -EOPNOTSUPP) { | 742 | if (rc == -EOPNOTSUPP) { |
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 8385387c49cd..720174d628fa 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -168,7 +168,6 @@ static const struct pci_device_id piix_pci_tbl[] = { | |||
168 | #ifdef ATA_ENABLE_PATA | 168 | #ifdef ATA_ENABLE_PATA |
169 | /* Intel PIIX4 for the 430TX/440BX/MX chipset: UDMA 33 */ | 169 | /* Intel PIIX4 for the 430TX/440BX/MX chipset: UDMA 33 */ |
170 | /* Also PIIX4E (fn3 rev 2) and PIIX4M (fn3 rev 3) */ | 170 | /* Also PIIX4E (fn3 rev 2) and PIIX4M (fn3 rev 3) */ |
171 | { 0x8086, 0x7110, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix_pata_33 }, | ||
172 | { 0x8086, 0x7111, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix_pata_33 }, | 171 | { 0x8086, 0x7111, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix_pata_33 }, |
173 | { 0x8086, 0x24db, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, | 172 | { 0x8086, 0x24db, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, |
174 | { 0x8086, 0x25a2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, | 173 | { 0x8086, 0x25a2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, |
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index 323b60710806..d65ebfd7c7b2 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -117,10 +117,14 @@ static const struct pci_device_id nv_pci_tbl[] = { | |||
117 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA), GENERIC }, | 117 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA), GENERIC }, |
118 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA2), GENERIC }, | 118 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA2), GENERIC }, |
119 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3), GENERIC }, | 119 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3), GENERIC }, |
120 | { PCI_VDEVICE(NVIDIA, 0x045c), GENERIC }, | 120 | { PCI_VDEVICE(NVIDIA, 0x045c), GENERIC }, /* MCP65 */ |
121 | { PCI_VDEVICE(NVIDIA, 0x045d), GENERIC }, | 121 | { PCI_VDEVICE(NVIDIA, 0x045d), GENERIC }, /* MCP65 */ |
122 | { PCI_VDEVICE(NVIDIA, 0x045e), GENERIC }, | 122 | { PCI_VDEVICE(NVIDIA, 0x045e), GENERIC }, /* MCP65 */ |
123 | { PCI_VDEVICE(NVIDIA, 0x045f), GENERIC }, | 123 | { PCI_VDEVICE(NVIDIA, 0x045f), GENERIC }, /* MCP65 */ |
124 | { PCI_VDEVICE(NVIDIA, 0x0550), GENERIC }, /* MCP67 */ | ||
125 | { PCI_VDEVICE(NVIDIA, 0x0551), GENERIC }, /* MCP67 */ | ||
126 | { PCI_VDEVICE(NVIDIA, 0x0552), GENERIC }, /* MCP67 */ | ||
127 | { PCI_VDEVICE(NVIDIA, 0x0553), GENERIC }, /* MCP67 */ | ||
124 | { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, | 128 | { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, |
125 | PCI_ANY_ID, PCI_ANY_ID, | 129 | PCI_ANY_ID, PCI_ANY_ID, |
126 | PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC }, | 130 | PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC }, |