Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 21:14:54 +0100 (CET)
From:      Søren Schmidt <sos@freebsd.dk>
To:        "."@babolo.ru
Cc:        hackers@FreeBSD.ORG
Subject:   Re: VIA 82231 South Bridge
Message-ID:  <200111162014.fAGKEsX94905@freebsd.dk>
In-Reply-To: <200111161913.WAA24126@aaz.links.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems "."@babolo.ru wrote:
> > 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

Uhm from that it seems the kernel is from Oct 29 which cannot be correct.

Also I need the atapci? line from the dmesg to tell if it works...

Are you sure you have recompiled your kernel, and installed it ?

What does a ls -l /kernel say ?

-Søren

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?200111162014.fAGKEsX94905>