Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 22:13:17 +0300 (MSK)
From:      "."@babolo.ru
To:        sos@freebsd.dk
Cc:        hackers@FreeBSD.ORG
Subject:   Re: VIA 82231 South Bridge
Message-ID:  <200111161913.WAA24126@aaz.links.ru>
In-Reply-To: <200111131138.fADBcBw36497@freebsd.dk> from "Søren Schmidt" at "Nov 13, 1 12:38:11 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for my error, the exact name of south bridge is VT8231
(from the manual I have in hands now)

Søren Schmidt writes:
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> It seems .@babolo.ru wrote:
> > > > Are there any planes to support
> > > > VIA 82231 south bridge
> > > > for UDMA33/66/100 ?
> OK, support has been added to -current, MFC will follow later...
I extracted patch

--- sys/dev/ata/ata-dma.c	Wed Nov 14 19:41:00 2001
+++ sys/dev/ata/ata-dma.c	Wed Nov 14 20:03:34 2001
@@ -413,6 +413,7 @@
 
     case 0x05711106:	/* VIA 82C571, 82C586, 82C596, 82C686 */
 	if (ata_find_dev(parent, 0x06861106, 0x40) ||
+	    ata_find_dev(parent, 0x82311106, 0) ||
 	    ata_find_dev(parent, 0x30741106, 0)) {		/* 82C686b */
 	    if (udmamode >= 5) {
 		error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
--- sys/dev/ata/ata-all.c	Tue Nov 13 20:36:33 2001
+++ sys/dev/ata/ata-all.c	Thu Nov 15 21:05:57 2001
@@ -290,6 +290,7 @@
 	if (ata_find_dev(dev, 0x05961106, 0))
 	    return "VIA 82C596 ATA33 controller";
 	if (ata_find_dev(dev, 0x06861106, 0x40) ||
+	    ata_find_dev(dev, 0x82311106, 0) ||
 	    ata_find_dev(dev, 0x30741106, 0))
 	    return "VIA 82C686 ATA100 controller";
 	if (ata_find_dev(dev, 0x06861106, 0))

from your changes for:
0test~/patch(12)>uname -a
FreeBSD test.duty.ru 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Oct 29 20:08:36 MSK 2001     babolo@test.duty.ru:/tmp/babolo/usr/src/sys/garkin  i386

and drives are

0test~/patch(13)>dmesg | grep ata
[.....]
ata0-master: success setting WDMA2 on VIA chip
ad0: <Maxtor 98196H8/ZAH814Y0> ATA-6 disk at ata0-master
ad0: 78167MB <Maxtor 98196H8> [158816/16/63] at ata0-master WDMA2
ata1-master: success setting WDMA2 on VIA chip
ad2: <IBM-DTLA-307075/TXAOA50C> ATA-5 disk at ata1-master
ad2: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata1-master tagged WDMA2

Both drives tested as UDMA in anoter system.
Am I wrong?

-- 
@BABOLO      http://links.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111161913.WAA24126>