From owner-freebsd-hackers Fri Nov 16 11: 7:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 11DF637B416 for ; Fri, 16 Nov 2001 11:07:20 -0800 (PST) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id WAA24126; Fri, 16 Nov 2001 22:13:17 +0300 (MSK) Message-Id: <200111161913.WAA24126@aaz.links.ru> Subject: Re: VIA 82231 South Bridge In-Reply-To: <200111131138.fADBcBw36497@freebsd.dk> from "Søren Schmidt" at "Nov 13, 1 12:38:11 pm" X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R To: sos@freebsd.dk Date: Fri, 16 Nov 2001 22:13:17 +0300 (MSK) Cc: hackers@FreeBSD.ORG From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: ATA-6 disk at ata0-master ad0: 78167MB [158816/16/63] at ata0-master WDMA2 ata1-master: success setting WDMA2 on VIA chip ad2: ATA-5 disk at ata1-master ad2: 73308MB [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