PATCH: Allow ATI SATA to use siimage if serial ATA layer is not inuse

From: Alan Cox
Date: Tue Mar 08 2005 - 06:55:47 EST


The ATI chipset serial ATA is an SI3112 cell. While this is supported by
the sata layer (you'll need to grep by id because naughty Mr Garzik
doesn't use the PCI ID defines) the sata layer driver still gives some
users real problems.

Alan
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.11/drivers/ide/pci/siimage.c linux-2.6.11/drivers/ide/pci/siimage.c
--- linux.vanilla-2.6.11/drivers/ide/pci/siimage.c 2005-03-05 15:17:01.000000000 +0000
+++ linux-2.6.11/drivers/ide/pci/siimage.c 2005-03-07 13:18:10.000000000 +0000
@@ -48,6 +48,8 @@
{
case PCI_DEVICE_ID_SII_3112:
case PCI_DEVICE_ID_SII_1210SA:
+ case PCI_DEVICE_ID_ATI_IXP300_SATA:
+ case PCI_DEVICE_ID_ATI_IXP400_SATA:
return 1;
case PCI_DEVICE_ID_SII_680:
return 0;
@@ -1088,7 +1090,9 @@
static ide_pci_device_t siimage_chipsets[] __devinitdata = {
/* 0 */ DECLARE_SII_DEV("SiI680"),
/* 1 */ DECLARE_SII_DEV("SiI3112 Serial ATA"),
- /* 2 */ DECLARE_SII_DEV("Adaptec AAR-1210SA")
+ /* 2 */ DECLARE_SII_DEV("Adaptec AAR-1210SA"),
+ /* 3 */ DECLARE_SII_DEV("ATI IXP300"),
+ /* 4 */ DECLARE_SII_DEV("ATI IXP400")
};

/**
@@ -1110,6 +1114,8 @@
#ifdef CONFIG_BLK_DEV_IDE_SATA
{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_3112, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_1210SA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2},
+ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP300_SATA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 3},
+ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SATA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 4},
#endif
{ 0, },
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/