AMD/ATI SB700 support to Ubuntu

Shane Huang shane.huang at amd.com
Fri Jul 13 11:55:20 BST 2007


Greetings:

More SATA device IDs should be added to support sb700 completely,
otherwise
Ubuntu may fail to be installed on ATI SB700 when set "onchip SATA type"
in BIOS into "AHCI" mode. There are four SATA related device IDs in
SB700:
0x4390, SATA in IDE mode
0x4391, SATA in AHCI mode
0x4392, SATA in RAID mode with Promise non-Raid5 driver
0x4393, SATA in RAID mode with Promise Raid5 driver
This is different from SB600, there is only one SATA Device ID in SB600,
which is 0x4380.

In the previous SATA patch to SB700, we only add 0x4390. This patch
provide the other three device IDs, otherwise Linux might NOT be
installed
when set SATA into "AHCI" mode in BIOS.

Could you please add this patch into Ubuntu 7.10 before it's release?
Because I'm afraid that the kernel in Ubuntu 7.10 may not support this
patch. We have submit this patch to kernel.org, and we can provide the
the upstream commit if you want when it's accepted.

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


Thanks
Best Regards
Shane


> -----Original Message-----
> From: Shane Huang
> Sent: Tuesday, July 03, 2007 2:21 PM
> To: ubuntu-devel at lists.ubuntu.com
> Cc: Henry Su; Shane Huang
> Subject: AMD/ATI SB700 support to Ubuntu
> 
> Greetings:
> 
> We have four patches for AMD/ATI SB700, and we will full support SB700
> until 2.6.23-rc1. The four patches have been accepted by kernel org
and
> the applied kernel version are listed as below:
> 
> 1.SMBus device ID   2.6.23-rc1
> Upstream commit:
>
http://khali.linux-fr.org/devel/linux-2.6/jdelvare-i2c/i2c-piix4-add-ATI
-S
> B700-support.patch
> 
> 2.IDE device ID     2.6.22
> Upstream commit:
>
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;
> h=6c6a2a8d201b4f8fd54167802da5ddbe08abd744
> 
> 3.SATA device ID    2.6.22
> Upstream commit:
>
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;
> h=2bcfdde6767f2f07891d2753c25220012fe5e6d2
> 
> 4.Combined mode     2.6.22
> Upstream commit:
>
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;
> h=823777181b4c0200923dcb026efa5b37f55c0ecf
> 
> Because the patch for SMBus device ID is sent after the merge window
for
> 2.6.22, and as a result it is queued for the next kernel version:
2.6.23.
> it will be merged in Linus' tree between 2.6.22 (final) and
2.6.23-rc1.
> 
> Our request here is:
> Would you please add these four SB700 patches into the kernel of
Ubuntu 7.10?
> If Ubuntu 7.10 will use the linux kernel after 2.6.23-rc1, then that's
good
> and you may discard this mail.
> Otherwise if it will use the kernel older than 2.6.23-rc1, please
apply these
> four patches into it manually.
> 
> BTW:
> We reported this issue on the Launchpad website about 20 days ago:
> https://bugs.launchpad.net/ubuntu/+bug/120361
> But it seems that no one is assigned to deal with this issue, so we
> have to report these patches again by mail.
> 
> 
> Thanks
> Best Regards
> Shane

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sb700sataids.patch
Type: application/octet-stream
Size: 775 bytes
Desc: sb700sataids.patch
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20070713/91b69781/attachment.obj 


More information about the ubuntu-devel mailing list