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

* Re: +AFs-patch+AF0- Add more device IDs for supporting ATI SB700 SATA controller completely
  2007-07-13  3:08 [patch] Add more device IDs for supporting ATI SB700 SATA controller completely Henry Su
@ 2007-07-13  9:19 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2007-07-13  9:19 UTC (permalink / raw)
  To: Henry Su; +Cc: linux-ide

Henry Su wrote:
> 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-/

What did you do to your mailer?  Or, what is your mailer doing to you?
Please get yourself a thunderbird.

-- 
tejun

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