Date: Thu, 9 Dec 1999 11:45:41 -0500 From: Greg Lehey <grog@mojave.sitaranetworks.com> To: Soren Schmidt <sos@freebsd.dk>, "Richard Seaman Jr." <dick@tar.com> Cc: current@FreeBSD.ORG Subject: Re: Breaking DMA support for multiple chipsets? (was: HEADSUP: wd driver will be retired!) Message-ID: <19991209114541.59531@mojave.sitaranetworks.com> In-Reply-To: <199912091542.QAA90420@freebsd.dk>; from Soren Schmidt on Thu, Dec 09, 1999 at 04:42:01PM %2B0100 References: <19991209093436.A782@tar.com> <199912091542.QAA90420@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 9 December 1999 at 16:42:01 +0100, Soren Schmidt wrote: > It seems Richard Seaman Jr. wrote: >>> >>> It already being tested, and it works, but at the same tike I found >>> out that the code in the old driver for the sis is schizofrenic, it >>> has one way of setting things up, and another way of reporting how >>> it is set :(, that way it is difficult to compare results from >>> the two drivers.. >> >> 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: <SiS 5591 Bus-master IDE Controller> irq 14 at device 0.1 on pci0 ... wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa0 wdc0: unit 0 (wd0): <ST51270A>, 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): <IBM-DHEA-36480>, 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): <IBM-DHEA-38451>, 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. > 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. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991209114541.59531>