All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.34 - VIA VT8237A support
@ 2007-06-01  9:25 Filippo Carletti
  0 siblings, 0 replies; only message in thread
From: Filippo Carletti @ 2007-06-01  9:25 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: linux-kernel

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

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

[-- Attachment #2: linux-2.4.34_VT8237A.patch --]
[-- Type: text/x-patch, Size: 1520 bytes --]

--- include/linux/pci_ids.h.orig	2007-05-21 20:05:22.000000000 +0200
+++ include/linux/pci_ids.h	2007-05-25 00:53:14.000000000 +0200
@@ -1160,6 +1160,7 @@
 #define PCI_DEVICE_ID_VIA_8377_0	0x3189
 #define PCI_DEVICE_ID_VIA_K8T400M_0	0x3188
 #define PCI_DEVICE_ID_VIA_8237		0x3227
+#define PCI_DEVICE_ID_VIA_8237A		0x3337
 #define PCI_DEVICE_ID_VIA_86C100A	0x6100
 #define PCI_DEVICE_ID_VIA_8231		0x8231
 #define PCI_DEVICE_ID_VIA_8231_4	0x8235
--- drivers/scsi/sata_via.c.orig	2006-12-23 21:34:20.000000000 +0100
+++ drivers/scsi/sata_via.c	2007-05-25 00:41:26.000000000 +0200
@@ -76,6 +76,7 @@
 static void svia_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val);
 
 static const struct pci_device_id svia_pci_tbl[] = {
+	{ 0x1106, 0x0591, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6420 },
 	{ 0x1106, 0x3149, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6420 },
 	{ 0x1106, 0x3249, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6421 },
 
--- drivers/ide/pci/via82cxxx.c.orig	2006-12-23 21:34:20.000000000 +0100
+++ drivers/ide/pci/via82cxxx.c	2007-05-25 00:39:20.000000000 +0200
@@ -75,6 +75,7 @@
 	u16 flags;
 } via_isa_bridges[] = {
 	{ "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 },
 	{ "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 },
 	{ "vt8233c",	PCI_DEVICE_ID_VIA_8233C_0,  0x00, 0x2f, VIA_UDMA_100 },

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-01  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-01  9:25 [PATCH] 2.4.34 - VIA VT8237A support Filippo Carletti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.