From: Jeff Garzik <jgarzik@pobox.com>
To: "kern.petr@seznam.cz" <kern.petr@seznam.cz>
Cc: linux-kernel@vger.kernel.org, B.Zolnierkiewicz@elka.pw.edu.pl,
vojtech@suse.cz, giovanni@sudfr.com, andre@linux-ide.org,
dake@staszic.waw.pl
Subject: Re: via 6420 pata/sata controller
Date: Wed, 02 Mar 2005 01:34:05 -0500 [thread overview]
Message-ID: <42255E5D.1030908@pobox.com> (raw)
In-Reply-To: <42213771.5060809@seznam.cz>
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
If I had to guess, I would try the attached patch. The via82cxxx.c
driver is a bit annoying in that, here we do not talk to the ISA bridge
but to the PCI device 0x4149 itself.
If this doesn't work, I could probably whip together a quick PATA driver
for libata that works on this hardware.
Jeff
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1080 bytes --]
===== drivers/ide/pci/via82cxxx.c 1.27 vs edited =====
--- 1.27/drivers/ide/pci/via82cxxx.c 2005-02-03 02:24:29 -05:00
+++ edited/drivers/ide/pci/via82cxxx.c 2005-03-02 01:28:26 -05:00
@@ -79,6 +79,7 @@
u8 rev_max;
u16 flags;
} via_isa_bridges[] = {
+ { "vt6420", 0x4149, 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 },
@@ -635,9 +636,10 @@
}
static struct pci_device_id via_pci_tbl[] = {
- { 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},
- { 0, },
+ { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C576_1) },
+ { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1) },
+ { PCI_DEVICE(PCI_VENDOR_ID_VIA, 0x4149) },
+ { }, /* terminate list */
};
MODULE_DEVICE_TABLE(pci, via_pci_tbl);
next prev parent reply other threads:[~2005-03-02 6:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-27 2:58 via 6420 pata/sata controller kern.petr
2005-03-02 6:34 ` Jeff Garzik [this message]
2005-03-04 14:10 ` kern.petr
-- strict thread matches above, loose matches on Subject: below --
2004-04-18 23:13 Kamil Okac
2004-03-30 13:24 Zdenek Tlusty
2004-03-30 15:28 ` Bartlomiej Zolnierkiewicz
2004-03-31 1:53 ` Jeff Garzik
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=42255E5D.1030908@pobox.com \
--to=jgarzik@pobox.com \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=andre@linux-ide.org \
--cc=dake@staszic.waw.pl \
--cc=giovanni@sudfr.com \
--cc=kern.petr@seznam.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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