* Re: + sata-add-pci-id.patch added to -mm tree
[not found] <200607090039.k690d4j0005100@shell0.pdx.osdl.net>
@ 2006-07-12 17:46 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2006-07-12 17:46 UTC (permalink / raw)
To: akpm, Jason Gaston; +Cc: helms.adam, htejun, linux-ide@vger.kernel.org
akpm@osdl.org wrote:
> Subject: SATA: Add PCI-ID
> From: "Adam Helms" <helms.adam@gmail.com>
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: + sata-add-pci-id.patch added to -mm tree
@ 2006-07-12 18:04 Gaston, Jason D
0 siblings, 0 replies; 2+ messages in thread
From: Gaston, Jason D @ 2006-07-12 18:04 UTC (permalink / raw)
To: Jeff Garzik, akpm; +Cc: helms.adam, htejun, linux-ide
I agree with Jeff on this and do not want to see 0x27c0 in the AHCI
driver as with this DID the controller is in IDE mode.
Note: 82801GB(ICH7) does not support AHCI mode. If you have this SKU,
you will not see AHCI available in the BIOS. You need to have an
82801GR(ICH7R) or an 82801GH(ICH7DH) for AHCI mode. All three of these
SKU's share the same IDE mode DID.
Thanks,
Jason
>-----Original Message-----
>From: Jeff Garzik [mailto:jeff@garzik.org]
>Sent: Wednesday, July 12, 2006 10:47 AM
>To: akpm@osdl.org; Gaston, Jason D
>Cc: helms.adam@gmail.com; htejun@gmail.com; linux-ide@vger.kernel.org
>Subject: Re: + sata-add-pci-id.patch added to -mm tree
>
>akpm@osdl.org wrote:
>> Subject: SATA: Add PCI-ID
>> From: "Adam Helms" <helms.adam@gmail.com>
>>
>> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-12 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200607090039.k690d4j0005100@shell0.pdx.osdl.net>
2006-07-12 17:46 ` + sata-add-pci-id.patch added to -mm tree Jeff Garzik
2006-07-12 18:04 Gaston, Jason D
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).