Date: Thu, 11 Mar 2004 12:15:55 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk> To: Putinas Piliponis <putinas.piliponis@icnspot.net> Cc: current@freebsd.org Subject: Re: VIA VT6410 ATA support Message-ID: <40504A6B.50608@DeepCore.dk> In-Reply-To: <001601c40752$92a731c0$1e64a8c0@spotripoli.local> References: <001601c40752$92a731c0$1e64a8c0@spotripoli.local>
next in thread | previous in thread | raw e-mail | index | archive | help
Putinas Piliponis wrote:
> Hi,
> Is there any planning to make vt6410 working ? ( at least like simple ide, not raid )
> Right now on booting it's not detected.
You could try this patch (untested and for -current)
Index: ata-chipset.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.63
diff -u -r1.63 ata-chipset.c
--- ata-chipset.c 4 Mar 2004 16:39:59 -0000 1.63
+++ ata-chipset.c 11 Mar 2004 11:14:30 -0000
@@ -2138,7 +2138,8 @@
{ ATA_VIA8237, 0x00, VIA133, 0x00, ATA_UDMA6, "VIA 8237" },
{ 0, 0, 0, 0, 0, 0 }};
static struct ata_chip_id new_ids[] =
- {{ ATA_VIA8237_1, 0x00, 0x00, 0x00, ATA_SA150, "VIA 8237" },
+ {{ ATA_VIA6410, 0x00, 0x00, 0x00, ATA_UDMA6, "VIA 6410" },
+ {{ ATA_VIA6420, 0x00, 0x00, 0x00, ATA_SA150, "VIA 6420" },
{ 0, 0, 0, 0, 0, 0 }};
char buffer[64];
Index: ata-pci.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v
retrieving revision 1.25
diff -u -r1.25 ata-pci.h
--- ata-pci.h 25 Feb 2004 09:55:49 -0000 1.25
+++ ata-pci.h 11 Mar 2004 11:13:27 -0000
@@ -224,11 +224,12 @@
#define ATA_VIA8233C 0x31091106
#define ATA_VIA8235 0x31771106
#define ATA_VIA8237 0x32271106
-#define ATA_VIA8237_1 0x31491106
#define ATA_VIA8361 0x31121106
#define ATA_VIA8363 0x03051106
#define ATA_VIA8371 0x03911106
#define ATA_VIA8662 0x31021106
+#define ATA_VIA6410 0x31641106
+#define ATA_VIA6420 0x31491106
/* chipset setup related defines */
#define ATPOLD 1
--
-Søren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40504A6B.50608>
