[patch] Add the combined mode for ATI SB700

From: Henry Su
Date: Sun Apr 29 2007 - 22:48:49 EST


From: henry.su@xxxxxxx
Besides those modes in ATI SB600 SATA controller, ATI SB700 supports one
more mode:the combined mode. \
The combined mode is a Legacy IDE mode used for compatibility with some
old OS without AHCI driver, \
but now it is not necessary for Linux since the kernel has supported
AHCI.
Signed-off-by: Luugi Marsan <luugi.marsan@xxxxxxx>
------------------------------------
diff -Nur linux-2.6.21.orig/include/linux/pci_ids.h
linux-2.6.21/include/linux/pci_ids.h
--- linux-2.6.21.orig/include/linux/pci_ids.h 2007-04-29
07:00:04.000000000 +0800
+++ linux-2.6.21/include/linux/pci_ids.h 2007-04-29 07:49:00.000000000
+++ +0800
@@ -371,6 +371,7 @@
#define PCI_DEVICE_ID_ATI_IXP600_SRAID 0x4381
#define PCI_DEVICE_ID_ATI_IXP600_SMBUS 0x4385
#define PCI_DEVICE_ID_ATI_IXP600_IDE 0x438c
+#define PCI_DEVICE_ID_ATI_IXP700_SATA 0x4390

#define PCI_VENDOR_ID_VLSI 0x1004
#define PCI_DEVICE_ID_VLSI_82C592 0x0005

diff -Nur linux-2.6.21.orig/drivers/pci/quirks.c
linux-2.6.21/drivers/pci/quirks.c
--- linux-2.6.21.orig/drivers/pci/quirks.c 2007-04-29 07:00:15.000000000
+0800
+++ linux-2.6.21/drivers/pci/quirks.c 2007-04-29 07:35:53.000000000
+++ +0800
@@ -875,6 +875,7 @@
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI,
PCI_DEVICE_ID_ATI_IXP600_SATA, quirk_sb600_sata);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI,
+PCI_DEVICE_ID_ATI_IXP700_SATA, quirk_sb600_sata);

/*
* Serverworks CSB5 IDE does not fully support native mode




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