Skip to contentSkip to conversation

AHCI: add Dell PowerEdge SC430 pci id

PATCH In review maximilian attems 2 participants 3 messages May 8, 2008 – May 9, 2008 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 AHCI: add Dell PowerEdge SC430 pci id

ATA chipset on Dell PowerEdge SC430 is identified as:
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE [8086:27c0] (rev 01)

Kernel load the ahci driver with NCQ support after I added it's device IDs into ahci.c.

Original patch from Andrew Lee <[email protected]>, forward ported from http://bugs.debian.org/403189

---
 drivers/ata/ahci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/ata/ahci.c +1 -0
index 97f83fb..15657c9 100644
@@ -390,6 +390,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	/* Intel */
 	{ PCI_VDEVICE(INTEL, 0x2652), board_ahci }, /* ICH6 */
 	{ PCI_VDEVICE(INTEL, 0x2653), board_ahci }, /* ICH6M */
+	{ PCI_VDEVICE(INTEL, 0x27c0), board_ahci }, /* ICH7 */
 	{ PCI_VDEVICE(INTEL, 0x27c1), board_ahci }, /* ICH7 */
 	{ PCI_VDEVICE(INTEL, 0x27c5), board_ahci }, /* ICH7M */
 	{ PCI_VDEVICE(INTEL, 0x27c3), board_ahci }, /* ICH7R */
Signature · 1 line
1.5.5.1
#1 lore raw
Quoted 6 lines · maximilian attems

ATA chipset on Dell PowerEdge SC430 is identified as:
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE [8086:27c0] (rev 01)

Kernel load the ahci driver with NCQ support after I added it's device IDs into ahci.c.

Please don't do that. The BIOS has programmed the chip into IDE mode, not AHCI mode. It seems to have also set up the AHCI BAR, but the majority of chips with this ID won't have been and so the ahci driver will fail with them. If the chip was in AHCI mode, the device ID would automatically have changed to 0x27c1.

Signature · 1 line
Matthew Garrett | [email protected]
#2 lore raw
Quoted 5 lines · Matthew Garrett
Quoted 4 lines · maximilian attems

ATA chipset on Dell PowerEdge SC430 is identified as:
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE [8086:27c0] (rev 01)

Quoted 8 lines
Quoted 2 lines

Kernel load the ahci driver with NCQ support after I added it's device IDs into ahci.c.

Please don't do that. The BIOS has programmed the chip into IDE mode, not AHCI mode. It seems to have also set up the AHCI BAR, but the majority of chips with this ID won't have been and so the ahci driver will fail with them. If the chip was in AHCI mode, the device ID would automatically have changed to 0x27c1.

thanks for the info.