From owner-freebsd-stable Wed Apr 18 13: 4:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 80A9C37B422 for ; Wed, 18 Apr 2001 13:04:46 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f3IK4f783020; Wed, 18 Apr 2001 13:04:41 -0700 (PDT) Date: Wed, 18 Apr 2001 13:04:41 -0700 (PDT) From: Doug White To: Matthias Andree Cc: Subject: Re: FreeBSD 4.x refuses to use DMA on WDC31200F? In-Reply-To: <20010417194643.A15712@emma1.emma.line.org> Message-ID: X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Apr 2001, Matthias Andree wrote: > On Mon, 16 Apr 2001, Doug White wrote: > > > Try booting -v and see if the system is intentionally demoting your > > controller. Not all controllers that claim DMA support actually work with > > it. Also note there are 2 "DMA" modes ... UltraDMA ("UDMA") and "WDMA". > > Attaching a WDC420400D to the board, I get UDMA/33, it's working. I don't > expect UDMA from my WDC31200F (that drives does at best around 3 MB/s even in > PIO3), but DMA1 mode rather than PIO3 would be nice IMHO. > > /kernel: atapci0: port 0xe000-0xe00f at device 7.1 on pci0 Erm, this a A rev, not a B rev. The A rev does not have UDMA support in kernel at this time. You can try adding the IDs/revs to src/sys/dev/ata/ata-dma.c but you're responsible for what happens afterward. :) > /kernel: ata0-master: success setting PIO3 on generic chip This is the hint that there's no specific support. > /netbsd: pciide0 at pci0 dev 7 function 1: VIA Tech VT82C586A IDE Controller (rev. 0x06) Hm, netbsd thinks it's an A too. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message