From owner-freebsd-current Thu Dec 9 9: 7:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 285151565C for ; Thu, 9 Dec 1999 09:07:49 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id SAA11953; Thu, 9 Dec 1999 18:07:34 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <199912091707.SAA11953@freebsd.dk> Subject: Re: Breaking DMA support for multiple chipsets? (was: HEADSUP: wd driver will be retired!) In-Reply-To: <19991209114541.59531@mojave.sitaranetworks.com> from Greg Lehey at "Dec 9, 1999 11:45:41 am" To: grog@lemis.com (Greg Lehey) Date: Thu, 9 Dec 1999 18:07:33 +0100 (CET) Cc: dick@tar.com (Richard Seaman Jr.), current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Greg Lehey wrote: > >> > >> I think the old wd code was broken on reporting. The reporting > >> was changed from the original submission, when it was committed. > > > > Yep, but it does mean that people _belive_ they are running UDMA > > where in fact they aren't, and now they blaim the ata driver > > for doing worse :( > > Well, the wd driver definitely ran DMA on the 5591. And the fix > Richard reports is not normally output; IIRC it's only on a verbose > boot. On my machine, the driver reports: > > ide_pci0: irq 14 at device 0.1 on pci0 > ... > wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa0 > wdc0: unit 0 (wd0): , LBA, DMA, 32-bit, multi-block-32 > wd0: 1223MB (2504880 sectors), 621 cyls, 64 heads, 63 S/T, 512 B/S > wdc1 at port 0x170-0x177 irq 15 flags 0xb0ffb0ff on isa0 > wdc1: unit 0 (wd2): , LBA, DMA, 32-bit, multi-block-16 > wd2: 6197MB (12692736 sectors), 790 cyls, 255 heads, 63 S/T, 512 B/S > wdc1: unit 1 (wd3): , LBA, DMA, 32-bit, multi-block-16 > wd3: 8063MB (16514064 sectors), 1027 cyls, 255 heads, 63 S/T, 512 B/S > > DMA is definitely enabled. There's no mistaking the difference > between DMA and no DMA. That was not what I said, it may run DMA but it says UDMA when not and vice versa, there is a difference between WDMA and UDMA.... > > I'm not sure the other values reported are valid either as they > > are reported differently from what they are set to.... > > I took a look at this a while back and never got round to committing > the changes. I believe most of the discrepancies were minor. I'll > take charge of fixing that if you like. I dont care, but for 3.x that might be a good idea.... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message