[patch] Add more device IDs for supporting ATI SB700

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: henry.su.ati@xxxxxxxxxx
The SATA controller device ID will be different according to
the onchip SATA type set in the system BIOS:
Device                                Device ID
SATA in IDE mode              0x4390
SATA in AHCI mode            0x4391
SATA in non-raid5 driver     0x4392
SATA in raid5 driver            0x4393

Although the device ID is different, they use the AHCI driver
together.The attached file is the patch for adding these device
IDs for ATI SB700.

Signed-off-by: henry.su.ati@xxxxxxxxxx
-----------------------------------
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 */
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 */


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux