=?utf-7?b?K0FGcy1wYXRjaCtBRjAtIEFkZCBtb3JlIGRldmljZSBJRHMgZm9yIA==?==?utf-7?b?c3VwcG9ydGluZyBBVEkgU0I3MDAgU0FUQSBjb250cm8=?==?utf-7?b?bGxlciBjb21wbGV0ZWx5IA==?=
From: Henry Su
Date: Thu Jul 12 2007 - 23:02:53 EST
From: henry.su+AEA-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+AEA-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
+AEAAQA- -399,7 +-399,10 +AEAAQA-
/+ACo- ATI +ACo-/
+AHs- PCI+AF8-VDEVICE(ATI, 0x4380), board+AF8-ahci+AF8-sb600 +AH0-, /+ACo- ATI SB600 +ACo-/
- +AHs- PCI+AF8-VDEVICE(ATI, 0x4390), board+AF8-ahci+AF8-sb600 +AH0-, /+ACo- ATI SB700 +ACo-/
+- +AHs- PCI+AF8-VDEVICE(ATI, 0x4390), board+AF8-ahci+AF8-sb600 +AH0-, /+ACo- ATI SB700 IDE +ACo-/
+- +AHs- PCI+AF8-VDEVICE(ATI, 0x4391), board+AF8-ahci+AF8-sb600 +AH0-, /+ACo- ATI SB700 AHCI +ACo-/
+- +AHs- PCI+AF8-VDEVICE(ATI, 0x4392), board+AF8-ahci+AF8-sb600 +AH0-, /+ACo- ATI SB700 nor-raid5 +ACo-/
+- +AHs- PCI+AF8-VDEVICE(ATI, 0x4393), board+AF8-ahci+AF8-sb600 +AH0-, /+ACo- ATI SB700 raid5 +ACo-/
/+ACo- VIA +ACo-/
+AHs- PCI+AF8-VDEVICE(VIA, 0x3349), board+AF8-ahci+AF8-vt8251 +AH0-, /+ACo- VIA VT8251 +ACo-/
Attachment:
sb700sataids.patch
Description: sb700sataids.patch