lkml.org 
[lkml]   [2007]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Subject[patch] Add the device IDs for A MD/ATI SB700
Date
From
From: henry.su@amd.com
Adding the device ID for AMD/ATI SB700.
Signed-off-by:henry su <henry.su@amd.com>
------------------------------------------
--- linux-2.6.21.1.orig/include/linux/pci_ids.h 2007-05-10 06:30:23.000000000 +0800
+++ linux-2.6.21.1/include/linux/pci_ids.h 2007-05-10 07:10:18.000000000 +0800
@@ -371,6 +371,9 @@
#define PCI_DEVICE_ID_ATI_IXP600_SRAID 0x4381
#define PCI_DEVICE_ID_ATI_IXP600_SMBUS 0x4385
#define PCI_DEVICE_ID_ATI_IXP600_IDE 0x438c
+#define PCI_DEVICE_ID_ATI_IXP700_SATA 0x4390
+#define PCI_DEVICE_ID_ATI_IXP700_SMBUS 0x4395
+#define PCI_DEVICE_ID_ATI_IXP700_IDE 0x439c

#define PCI_VENDOR_ID_VLSI 0x1004
#define PCI_DEVICE_ID_VLSI_82C592 0x0005
--- linux-2.6.21.1.orig/drivers/i2c/busses/i2c-piix4.c 2007-05-10 06:30:14.000000000 +0800
+++ linux-2.6.21.1/drivers/i2c/busses/i2c-piix4.c 2007-05-10 07:14:06.000000000 +0800
@@ -399,6 +399,8 @@ static struct pci_device_id piix4_ids[]
.driver_data = 0 },
{ PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SMBUS),
.driver_data = 0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP700_SMBUS),
+ .driver_data = 0 },
{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_OSB4),
.driver_data = 0 },
{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB5),
--- linux-2.6.21.1.orig/drivers/ata/pata_atiixp.c 2007-05-10 06:30:14.000000000 +0800
+++ linux-2.6.21.1/drivers/ata/pata_atiixp.c 2007-05-10 07:17:07.000000000 +0800
@@ -283,6 +283,7 @@ static const struct pci_device_id atiixp
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP300_IDE), },
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP400_IDE), },
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP600_IDE), },
+ { PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP700_IDE), },

{ },
};
--- linux-2.6.21.1.orig/drivers/ide/pci/atiixp.c 2007-05-10 06:30:17.000000000 +0800
+++ linux-2.6.21.1/drivers/ide/pci/atiixp.c 2007-05-10 07:18:39.000000000 +0800
@@ -353,6 +353,7 @@ static struct pci_device_id atiixp_pci_t
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP300_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
+ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP700_IDE, PCI_ANY_ID,
+PCI_ANY_ID, 0, 0, 1},
{ 0, },
};
MODULE_DEVICE_TABLE(pci, atiixp_pci_tbl);
--- linux-2.6.21.1.orig/drivers/ata/ahci.c 2007-05-10 06:30:14.000000000 +0800
+++ linux-2.6.21.1/drivers/ata/ahci.c 2007-05-10 07:41:41.000000000 +0800
@@ -415,6 +415,7 @@ static const struct pci_device_id ahci_p
/* ATI */
{ PCI_VDEVICE(ATI, 0x4380), board_ahci_sb600 }, /* ATI SB600 non-raid */
{ PCI_VDEVICE(ATI, 0x4381), board_ahci }, /* ATI SB600 raid */
+ { PCI_VDEVICE(ATI, 0x4390), board_ahci_sb600 }, /* ATI SB700 */

/* VIA */
{ PCI_VDEVICE(VIA, 0x3349), board_ahci_vt8251 }, /* VIA VT8251 */
--- linux-2.6.21.1.orig/drivers/pci/quirks.c 2007-05-10 06:30:17.000000000 +0800
+++ linux-2.6.21.1/drivers/pci/quirks.c 2007-05-10 07:49:33.000000000 +0800
@@ -875,6 +875,7 @@ static void __devinit quirk_sb600_sata(s
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SATA, quirk_sb600_sata);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI,
+PCI_DEVICE_ID_ATI_IXP700_SATA, quirk_sb600_sata);

/*
* Serverworks CSB5 IDE does not fully support native mode

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-09 13:19    [from the cache]
©2003-2011 Jasper Spaans