public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Filippo Carletti <carletti@mobilia.it>
To: Willy Tarreau <w@1wt.eu>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.34 - VIA VT8237A support
Date: Fri, 01 Jun 2007 11:25:14 +0200	[thread overview]
Message-ID: <465FE5FA.9040709@mobilia.it> (raw)

[-- 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 },

                 reply	other threads:[~2007-06-01  9:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=465FE5FA.9040709@mobilia.it \
    --to=carletti@mobilia.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox