mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] SATA: Add PCI-ID
@ 2006-07-07 17:19 Adam Helms
  2006-07-19 12:45 ` Nerijus Baliunas
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Helms @ 2006-07-07 17:19 UTC (permalink / raw)
  To: linux-kernel, jgarzik

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.

Signed-off-by: Adam Helms <helms.adam@gmail.com>
---------

--- /usr/src/linux-source-2.6.15/drivers/scsi/ahci.c.orig
2006-07-07 19:07:14.000000000 +0200
+++ /usr/src/linux-source-2.6.15/drivers/scsi/ahci.c    2006-07-07
19:07:31.000000000 +0200
@@ -261,6 +261,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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] SATA: Add PCI-ID
  2006-07-07 17:19 [PATCH] SATA: Add PCI-ID Adam Helms
@ 2006-07-19 12:45 ` Nerijus Baliunas
  0 siblings, 0 replies; 2+ messages in thread
From: Nerijus Baliunas @ 2006-07-19 12:45 UTC (permalink / raw)
  To: Adam Helms, jgarzik, linux-kernel

On Fri, 7 Jul 2006 19:19:23 +0200 Adam Helms <helms.adam@gmail.com> wrote:

> 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.

I have Intel d945psn motherboard with this controller. I patched
Fedora 2.6.17-1.2145 kernel with this patch, but I get when booting:

ahci 0000:00:1f.2: version 1.2
ACPI: PCI Interrupt 0000:00:1f:2[B] -> GSI 19 (level, low) -> IRQ 193
ahci: probe of 0000:00:1f.2 failed with error -12

Is it because it has IDE controller too?
dmesg:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 185
ICH7: chipset revision 1
ICH7: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x40b0-0x40b7, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: ST3120026A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 512KiB

Regards,
Nerijus

> Signed-off-by: Adam Helms <helms.adam@gmail.com>
> ---------
> 
> --- /usr/src/linux-source-2.6.15/drivers/scsi/ahci.c.orig
> 2006-07-07 19:07:14.000000000 +0200
> +++ /usr/src/linux-source-2.6.15/drivers/scsi/ahci.c    2006-07-07
> 19:07:31.000000000 +0200
> @@ -261,6 +261,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,


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-19 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 17:19 [PATCH] SATA: Add PCI-ID Adam Helms
2006-07-19 12:45 ` Nerijus Baliunas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®