diff options
author | Jason Gaston <jason.d.gaston@intel.com> | 2005-04-16 18:24:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:24:42 -0400 |
commit | d69332b875efb52ea5276d5638ce572fcd7375f2 (patch) | |
tree | e36fed981caa072abd3028b5f539c618e7a8faa2 /drivers/ide | |
parent | e285f8091b4ae9972f812400dc8b4b40ee779010 (diff) |
[PATCH] piix: IDE PATA patch for Intel ESB2
This patch adds the Intel ESB2 DID's to the piix.c file for IDE PATA support.
Signed-off-by: Jason Gaston <Jason.d.gaston@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/pci/piix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c index b5a20ae1ef3..b3e77df63ce 100644 --- a/drivers/ide/pci/piix.c +++ b/drivers/ide/pci/piix.c | |||
@@ -134,6 +134,7 @@ static u8 piix_ratemask (ide_drive_t *drive) | |||
134 | case PCI_DEVICE_ID_INTEL_ESB_2: | 134 | case PCI_DEVICE_ID_INTEL_ESB_2: |
135 | case PCI_DEVICE_ID_INTEL_ICH6_19: | 135 | case PCI_DEVICE_ID_INTEL_ICH6_19: |
136 | case PCI_DEVICE_ID_INTEL_ICH7_21: | 136 | case PCI_DEVICE_ID_INTEL_ICH7_21: |
137 | case PCI_DEVICE_ID_INTEL_ESB2_18: | ||
137 | mode = 3; | 138 | mode = 3; |
138 | break; | 139 | break; |
139 | /* UDMA 66 capable */ | 140 | /* UDMA 66 capable */ |
@@ -447,6 +448,7 @@ static unsigned int __devinit init_chipset_piix (struct pci_dev *dev, const char | |||
447 | case PCI_DEVICE_ID_INTEL_ESB_2: | 448 | case PCI_DEVICE_ID_INTEL_ESB_2: |
448 | case PCI_DEVICE_ID_INTEL_ICH6_19: | 449 | case PCI_DEVICE_ID_INTEL_ICH6_19: |
449 | case PCI_DEVICE_ID_INTEL_ICH7_21: | 450 | case PCI_DEVICE_ID_INTEL_ICH7_21: |
451 | case PCI_DEVICE_ID_INTEL_ESB2_18: | ||
450 | { | 452 | { |
451 | unsigned int extra = 0; | 453 | unsigned int extra = 0; |
452 | pci_read_config_dword(dev, 0x54, &extra); | 454 | pci_read_config_dword(dev, 0x54, &extra); |
@@ -572,6 +574,7 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = { | |||
572 | /* 20 */ DECLARE_PIIX_DEV("ICH6"), | 574 | /* 20 */ DECLARE_PIIX_DEV("ICH6"), |
573 | /* 21 */ DECLARE_PIIX_DEV("ICH7"), | 575 | /* 21 */ DECLARE_PIIX_DEV("ICH7"), |
574 | /* 22 */ DECLARE_PIIX_DEV("ICH4"), | 576 | /* 22 */ DECLARE_PIIX_DEV("ICH4"), |
577 | /* 23 */ DECLARE_PIIX_DEV("ESB2"), | ||
575 | }; | 578 | }; |
576 | 579 | ||
577 | /** | 580 | /** |
@@ -647,6 +650,7 @@ static struct pci_device_id piix_pci_tbl[] = { | |||
647 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_19, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 20}, | 650 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_19, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 20}, |
648 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_21, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 21}, | 651 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_21, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 21}, |
649 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801DB_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 22}, | 652 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801DB_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 22}, |
653 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB2_18, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 23}, | ||
650 | { 0, }, | 654 | { 0, }, |
651 | }; | 655 | }; |
652 | MODULE_DEVICE_TABLE(pci, piix_pci_tbl); | 656 | MODULE_DEVICE_TABLE(pci, piix_pci_tbl); |