linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] add more device IDs for supporting SB700 (resend)
@ 2007-07-16 14:59 su henry
  2007-07-20 12:07 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: su henry @ 2007-07-16 14:59 UTC (permalink / raw)
  To: jeff, jgarzik; +Cc: linux-ide, bzolnier, htejun, greg, henry.su

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

From: henry.su.ati@gmail.com
The SATA controller device ID is 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 same AHCI driver
.The attached file is the patch for adding these device
IDs for ATI SB700.

Signed-off-by: henry.su.ati@gmail.com
-----------------------------------
diff -Nur a/drivers/ata/ahci.c b/drivers/ata/ahci.c
--- a/drivers/ata/ahci.c	2007-07-13 10:39:27.854093200 +0800
+++ b/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 nraid5 */
+	{ 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: text/plain, Size: 710 bytes --]

diff -Nur a/drivers/ata/ahci.c b/drivers/ata/ahci.c
--- a/drivers/ata/ahci.c	2007-07-13 10:39:27.854093200 +0800
+++ b/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 nraid5 */
+	{ 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: [patch] add more device IDs for supporting SB700 (resend)
  2007-07-16 14:59 [patch] add more device IDs for supporting SB700 (resend) su henry
@ 2007-07-20 12:07 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-07-20 12:07 UTC (permalink / raw)
  To: su henry; +Cc: jgarzik, linux-ide, bzolnier, htejun, greg, henry.su

su henry wrote:
> From: henry.su.ati@gmail.com
> The SATA controller device ID is 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 same AHCI driver
> .The attached file is the patch for adding these device
> IDs for ATI SB700.
> 
> Signed-off-by: henry.su.ati@gmail.com

applied



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

end of thread, other threads:[~2007-07-20 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-16 14:59 [patch] add more device IDs for supporting SB700 (resend) su henry
2007-07-20 12:07 ` Jeff Garzik

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