Date: Mon, 21 Dec 1998 00:55:24 -0800 From: Mike Smith <mike@smith.net.au> To: lcremean@tidalwave.net Cc: current@FreeBSD.ORG Subject: Re: Acer UDMA status report Message-ID: <199812210855.AAA50852@dingo.cdrom.com> In-Reply-To: Your message of "Mon, 21 Dec 1998 03:47:41 EST." <19981221034741.A958@tidalwave.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> I've done some more experimentation, and it seems that what is happening is
> that reads work just fine (I get 13MB/s sustained from my Seagate Medalist
> Pro 9140). However, if I do anything that writes to the drive, the interrupt
> timeouts start. I'm not sure what I'm doing wrong here, since the UDMA
> switches seem to be set correctly, and while Acer's documentation covers the
> bits in the registers to set, it doesn't go into detail as to which
> registers go together, or if there is anything else needed to make UDMA work
> reliably.
Ick. Have you tried talking to Acer? They've been pretty helpful
recently; you ought to be able to get some help from them without too
much trouble, especially if you sort of pretend to be official...
> PS: I did find a bug in the unit handling for DMA-detected drives. Here
> goes:
>
> *** ide_pci.c Mon Dec 14 00:49:04 1998
> --- ide_pci.c.new Mon Dec 21 03:42:10 1998
> ***************
> *** 1195,1201 ****
>
> cp = softc.cookies.lh_first;
> while(cp) {
> ! if (cp->ctlr == unit &&
> ((iobase_wd == 0) || (cp->iobase_wd == iobase_wd)))
> break;
> cp = cp->le.le_next;
> --- 1253,1259 ----
>
> cp = softc.cookies.lh_first;
> while(cp) {
> ! if (cp->unit == unit &&
> ((iobase_wd == 0) || (cp->iobase_wd == iobase_wd)))
> break;
> cp = cp->le.le_next;
>
> A PR for this will be forthcoming...
Don't bother; unless I'm missing something you're quite right here, so
I've committed it.
--
\\ Sometimes you're ahead, \\ Mike Smith
\\ sometimes you're behind. \\ mike@smith.net.au
\\ The race is long, and in the \\ msmith@freebsd.org
\\ end it's only with yourself. \\ msmith@cdrom.com
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?199812210855.AAA50852>
