Re: + sata-add-pci-id.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



akpm@xxxxxxxx wrote:
Subject: SATA: Add PCI-ID
From: "Adam Helms" <helms.adam@xxxxxxxxx>

Makes the AHCI driver detect the PCI ID 8086:27c0 (IDE interface: Intel
Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE
(rev 01)) as an AHCI chipset.

8086:27c0 also works with ata_piix but it's much slower.  8086:27c0 is
shipped with - among others - new HP Proliant servers.

diff -puN drivers/scsi/ahci.c~sata-add-pci-id drivers/scsi/ahci.c
--- a/drivers/scsi/ahci.c~sata-add-pci-id
+++ a/drivers/scsi/ahci.c
@@ -291,6 +291,8 @@ static const struct pci_device_id ahci_p
 	  board_ahci }, /* ICH6 */
 	{ PCI_VENDOR_ID_INTEL, 0x2653, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_ahci }, /* ICH6M */
+	{ PCI_VENDOR_ID_INTEL, 0x27c0, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+	  board_ahci }, /* ICH7 */
 	{ PCI_VENDOR_ID_INTEL, 0x27c1, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 	  board_ahci }, /* ICH7 */
 	{ PCI_VENDOR_ID_INTEL, 0x27c5, PCI_ANY_ID, PCI_ANY_ID, 0, 0,

This patch needs discussing with Intel.

0x27c0 was intentionally omitted, because it is only supposed to show up when the device is configured into IDE mode.

If the user (read: BIOS) has chosen to configure the device in AHCI mode, it should show up as a different PCI ID, which ahci.c already contains.

I'm inclined to NAK the patch, since things appear to be working as expected.

	Jeff


-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux