[CentOS-devel] [Patch] request for add VIA VX800 storage support on CentOS 5.3

Mon Jul 13 12:46:36 UTC 2009
BruceChang at via.com.tw <BruceChang at via.com.tw>

To whom it may concern:
    I would like to request your help to integrate following patch for the HDD support of VIA VX800/VT8261/VT8237/CX700 platform:

Signed off by Joseph Chan <JosephChan at via.com.tw>

--- a/include/linux/pci_ids.h 2009-06-04 11:43:38.000000000 +0800
+++ b/include/linux/pci_ids.h 2009-06-08 18:43:22.000000000 +0800
@@ -1336,9 +1336,11 @@
 #define PCI_DEVICE_ID_VIA_8251  0x3287
 #define PCI_DEVICE_ID_VIA_8237A  0x3337
 #define PCI_DEVICE_ID_VIA_8237S  0x3372
+#define PCI_DEVICE_ID_VIA_8261  0x3402
 #define PCI_DEVICE_ID_VIA_8231  0x8231
 #define PCI_DEVICE_ID_VIA_8231_4 0x8235
 #define PCI_DEVICE_ID_VIA_8365_1 0x8305
+#define PCI_DEVICE_ID_VIA_5324  0x5324
 #define PCI_DEVICE_ID_VIA_CX700  0x8324
 #define PCI_DEVICE_ID_VIA_VX800  0x8353
 #define PCI_DEVICE_ID_VIA_8371_1 0x8391

--- a/drivers/ide/pci/via82cxxx.c 2006-09-20 11:42:06.000000000 +0800
+++ b/drivers/ide/pci/via82cxxx.c 2009-06-08 18:42:28.000000000 +0800
@@ -78,7 +78,12 @@
  u8 rev_max;
  u16 flags;
 } via_isa_bridges[] = {
+ { "vx800", PCI_DEVICE_ID_VIA_VX800,    0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST
},
+ { "cx700", PCI_DEVICE_ID_VIA_CX700,    0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST
},
+ { "vt8237s", PCI_DEVICE_ID_VIA_8237S,    0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },
+ { "vt8237a", PCI_DEVICE_ID_VIA_8237A,    0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },
  { "vt6410", PCI_DEVICE_ID_VIA_6410,     0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },
+ { "vt8261", PCI_DEVICE_ID_VIA_8261,     0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },
  { "vt8251", PCI_DEVICE_ID_VIA_8251,     0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },
  { "vt8237", PCI_DEVICE_ID_VIA_8237,     0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },
  { "vt8237a", PCI_DEVICE_ID_VIA_8237A,    0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },
@@ -498,6 +503,7 @@
  { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C576_1, PCI_ANY_ID, PCI_ANY_ID, 0,
0, 0},
  { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, PCI_ANY_ID, PCI_ANY_ID, 0,
0, 0},
  { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_6410,     PCI_ANY_ID, PCI_ANY_ID, 0,
0, 1},
+ { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_5324,     PCI_ANY_ID, PCI_ANY_ID, 0,
0, 1},
  { 0, },
 };
 MODULE_DEVICE_TABLE(pci, via_pci_tbl);

Thanks and Best Regards
=================================================
Bruce C. Chang(張祖明)
VIA Technologies, Inc. 
Address: 1F, 531, Chung-Cheng Road, Hsin-Tien, 231 Taipei
Tel: +886-2-22185452 Ext 7323
Mobile: +886-968343824
Fax: +886-2-22186282
Skype: Bruce.C.Chang
Email: BruceChang at via.com.tw