[PATCH RESEND] via82cxxx IDE: Add VT8251 ISA bridge

From: Daniel Drake
Date: Thu Dec 08 2005 - 14:31:58 EST


Some motherboards (such as the Asus P5V800-MX) ship a
PCI_DEVICE_ID_VIA_82C586_1 IDE controller alongside a VT8251 southbridge.

This southbridge is currently unrecognised in the via82cxxx IDE driver,
preventing those users from getting DMA access to disks.

Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>

--

Bart, I submitted this 2 weeks ago but sent it to your old pw.edu.pl address by accident. Sorry about that! --- linux-2.6.15-rc2/include/linux/pci_ids.h.orig 2005-11-22 22:29:42.000000000 +0000
+++ linux-2.6.15-rc2/include/linux/pci_ids.h 2005-11-22 22:30:13.000000000 +0000
@@ -1243,6 +1243,7 @@
#define PCI_DEVICE_ID_VIA_8378_0 0x3205
#define PCI_DEVICE_ID_VIA_8783_0 0x3208
#define PCI_DEVICE_ID_VIA_8237 0x3227
+#define PCI_DEVICE_ID_VIA_8251 0x3287
#define PCI_DEVICE_ID_VIA_3296_0 0x0296
#define PCI_DEVICE_ID_VIA_8231 0x8231
#define PCI_DEVICE_ID_VIA_8231_4 0x8235
--- linux-2.6.15-rc2/drivers/ide/pci/via82cxxx.c.orig 2005-11-22 22:29:05.000000000 +0000
+++ linux-2.6.15-rc2/drivers/ide/pci/via82cxxx.c 2005-11-22 22:29:27.000000000 +0000
@@ -80,6 +80,7 @@ static struct via_isa_bridge {
u16 flags;
} via_isa_bridges[] = {
{ "vt6410", PCI_DEVICE_ID_VIA_6410, 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 },
{ "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
{ "vt8233a", PCI_DEVICE_ID_VIA_8233A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },