linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] Add more device IDs for supporting ATI SB700 SATA controller completely 
@ 2007-07-13  3:08 Henry Su
  2007-07-13  9:19 ` +AFs-patch+AF0- " Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Henry Su @ 2007-07-13  3:08 UTC (permalink / raw)
  To: linux-ide

[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]

From: henry.su@amd.com

The sata controller device ID will be different according to the onchip
 sata type setting in system BIOS:
Device                                                                 Device ID
SATA in IDE mode                                             0x4390
SATA in AHCI mode                                           0x4391
SATA in RAID mode with non-Raid 5 driver  0x4392
SATA in RAID mode with Raid 5 driver          0x4393

Signed-off-by: henry.su@amd.com
----------------------------------------------
diff -Nur linux-2.6.22.1.orig/drivers/ata/ahci.c linux-2.6.22.1/drivers/ata/ahci.c
--- linux-2.6.22.1.orig/drivers/ata/ahci.c      2007-07-13 10:39:27.854093200 +0800
+++ linux-2.6.22.1/drivers/ata/ahci.c   2007-07-13 10:52:58.625022700 +0800
@@ -399,7 +399,10 @@

        /* ATI */
        { PCI_VDEVICE(ATI, 0x4380), board_ahci_sb600 }, /* ATI SB600 */
-       { PCI_VDEVICE(ATI, 0x4390), board_ahci_sb600 }, /* ATI SB700 */
+       { PCI_VDEVICE(ATI, 0x4390), board_ahci_sb600 }, /* ATI SB700 IDE */
+       { PCI_VDEVICE(ATI, 0x4391), board_ahci_sb600 }, /* ATI SB700 AHCI */
+       { PCI_VDEVICE(ATI, 0x4392), board_ahci_sb600 }, /* ATI SB700 nor-raid5 */
+       { PCI_VDEVICE(ATI, 0x4393), board_ahci_sb600 }, /* ATI SB700 raid5 */

        /* VIA */
        { PCI_VDEVICE(VIA, 0x3349), board_ahci_vt8251 }, /* VIA VT8251 */

[-- Attachment #2: sb700sataids.patch --]
[-- Type: application/octet-stream, Size: 775 bytes --]

diff -Nur linux-2.6.22.1.orig/drivers/ata/ahci.c linux-2.6.22.1/drivers/ata/ahci.c
--- linux-2.6.22.1.orig/drivers/ata/ahci.c	2007-07-13 10:39:27.854093200 +0800
+++ linux-2.6.22.1/drivers/ata/ahci.c	2007-07-13 10:52:58.625022700 +0800
@@ -399,7 +399,10 @@
 
 	/* ATI */
 	{ PCI_VDEVICE(ATI, 0x4380), board_ahci_sb600 }, /* ATI SB600 */
-	{ PCI_VDEVICE(ATI, 0x4390), board_ahci_sb600 }, /* ATI SB700 */
+	{ PCI_VDEVICE(ATI, 0x4390), board_ahci_sb600 }, /* ATI SB700 IDE */
+	{ PCI_VDEVICE(ATI, 0x4391), board_ahci_sb600 }, /* ATI SB700 AHCI */
+	{ PCI_VDEVICE(ATI, 0x4392), board_ahci_sb600 }, /* ATI SB700 nor-raid5 */
+	{ PCI_VDEVICE(ATI, 0x4393), board_ahci_sb600 }, /* ATI SB700 raid5 */
 
 	/* VIA */
 	{ PCI_VDEVICE(VIA, 0x3349), board_ahci_vt8251 }, /* VIA VT8251 */


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

end of thread, other threads:[~2007-07-13  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13  3:08 [patch] Add more device IDs for supporting ATI SB700 SATA controller completely Henry Su
2007-07-13  9:19 ` +AFs-patch+AF0- " Tejun Heo

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