tree 0b6a05017869cda984304bb24f6327da543d31b3
parent c4c8ea948aa21527d502e87227b2f1d951bc506d
author Jason Gaston <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:24:44 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:24:44 -0700
[PATCH] ata_piix: IDE mode SATA patch for Intel ESB2
This patch adds the Intel ESB2 DID's to the ata_piix.c and quirks.c file for
IDE mode SATA support.
Signed-off-by: Jason Gaston <[EMAIL PROTECTED]>
Cc: Jeff Garzik <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
pci/quirks.c | 1 +
scsi/ata_piix.c | 14 ++++++++++++++
2 files changed, 15 insertions(+)
Index: drivers/pci/quirks.c
===================================================================
--- e3c15c28614d6095fb10a0d18425cf6d9ea42de6/drivers/pci/quirks.c (mode:100644
sha1:1cfe9538fd19f62ee930ba7a185f8877e1b6241b)
+++ 0b6a05017869cda984304bb24f6327da543d31b3/drivers/pci/quirks.c (mode:100644
sha1:15a398051682ae19334a358600ecee9b85f1a434)
@@ -1189,6 +1189,7 @@
case 0x2651:
case 0x2652:
case 0x2653:
+ case 0x2680: /* ESB2 */
ich = 6;
break;
case 0x27c0:
Index: drivers/scsi/ata_piix.c
===================================================================
--- e3c15c28614d6095fb10a0d18425cf6d9ea42de6/drivers/scsi/ata_piix.c
(mode:100644 sha1:ce19728aa8a487db8635bb03a5ee351dafce7e5b)
+++ 0b6a05017869cda984304bb24f6327da543d31b3/drivers/scsi/ata_piix.c
(mode:100644 sha1:3867f91ef8c7bebe3d0edf0bd2e3b326a1d4061b)
@@ -61,6 +61,7 @@
ich6_sata = 3,
ich6_sata_rm = 4,
ich7_sata = 5,
+ esb2_sata = 6,
};
static int piix_init_one (struct pci_dev *pdev,
@@ -93,6 +94,7 @@
{ 0x8086, 0x2653, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_rm },
{ 0x8086, 0x27c0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich7_sata },
{ 0x8086, 0x27c4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich7_sata },
+ { 0x8086, 0x2680, PCI_ANY_ID, PCI_ANY_ID, 0, 0, esb2_sata },
{ } /* terminate list */
};
@@ -256,6 +258,18 @@
.udma_mask = 0x7f, /* udma0-6 */
.port_ops = &piix_sata_ops,
},
+
+ /* esb2_sata */
+ {
+ .sht = &piix_sht,
+ .host_flags = ATA_FLAG_SATA | ATA_FLAG_SRST |
+ PIIX_FLAG_COMBINED | PIIX_FLAG_CHECKINTR |
+ ATA_FLAG_SLAVE_POSS | PIIX_FLAG_AHCI,
+ .pio_mask = 0x1f, /* pio0-4 */
+ .mwdma_mask = 0x07, /* mwdma0-2 */
+ .udma_mask = 0x7f, /* udma0-6 */
+ .port_ops = &piix_sata_ops,
+ },
};
static struct pci_bits piix_enable_bits[] = {
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html