• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revision60b9e0228da32cc4fb799042a4176c9b63393631 (tree)
Zeit2007-07-22 21:45:10
AutorFilippo Carletti <carletti@mobi...>
CommiterWilly Tarreau

Log Message

[PATCH] 2.4.34 - VIA VT8237A support

This patch adds support for VIA VT8237A.
It enables DMA on IDE and it makes sata drives work.
Tested on an Asus VINTAGE V2-P5V90.

Ciao,
Filippo

Ändern Zusammenfassung

Diff

--- a/drivers/ide/pci/via82cxxx.c
+++ b/drivers/ide/pci/via82cxxx.c
@@ -75,6 +75,7 @@ static struct via_isa_bridge {
7575 u16 flags;
7676 } via_isa_bridges[] = {
7777 { "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
78+ { "vt8237a", PCI_DEVICE_ID_VIA_8237A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
7879 { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
7980 { "vt8233a", PCI_DEVICE_ID_VIA_8233A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
8081 { "vt8233c", PCI_DEVICE_ID_VIA_8233C_0, 0x00, 0x2f, VIA_UDMA_100 },
--- a/drivers/scsi/sata_via.c
+++ b/drivers/scsi/sata_via.c
@@ -76,6 +76,7 @@ static u32 svia_scr_read (struct ata_port *ap, unsigned int sc_reg);
7676 static void svia_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val);
7777
7878 static const struct pci_device_id svia_pci_tbl[] = {
79+ { 0x1106, 0x0591, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6420 },
7980 { 0x1106, 0x3149, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6420 },
8081 { 0x1106, 0x3249, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6421 },
8182
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1159,6 +1159,7 @@
11591159 #define PCI_DEVICE_ID_VIA_8377_0 0x3189
11601160 #define PCI_DEVICE_ID_VIA_K8T400M_0 0x3188
11611161 #define PCI_DEVICE_ID_VIA_8237 0x3227
1162+#define PCI_DEVICE_ID_VIA_8237A 0x3337
11621163 #define PCI_DEVICE_ID_VIA_86C100A 0x6100
11631164 #define PCI_DEVICE_ID_VIA_8231 0x8231
11641165 #define PCI_DEVICE_ID_VIA_8231_4 0x8235
Show on old repository browser