Date: Mon, 25 Jan 1999 01:19:38 -0500 From: Lee Cremeans <lee@st-lcremean.tidalwave.net> To: Bruce Evans <bde@zeta.org.au>, grog@lemis.com Cc: current@FreeBSD.ORG, dillon@apollo.backplane.com Subject: Re: IDE DMA works, I'll be a... Message-ID: <19990125011938.F1916@tidalwave.net> In-Reply-To: <199901250608.RAA24912@godzilla.zeta.org.au>; from Bruce Evans on Mon, Jan 25, 1999 at 05:08:19PM %2B1100 References: <199901250608.RAA24912@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 25, 1999 at 05:08:19PM +1100, Bruce Evans wrote: > >> Can you find out what chipset is in this guy? There's support for anything > >> Intel or VIA, Promise UDMA cards, Cyrix MediaGX, and Acer Aladdin IV/V right > >> now. > > > >See kern/9550. The driver *used* to support my SiS chipset, but it no > >longer does when both master and slave drive are present since I > >updated about a week ago. Possibly the same bug is biting Matt. > > The driver doesn't have any special support for SiS. It uses generic > support in some cases, apparently including your case. Recent fixes > made it actually initialize DMA on the correct drive, but the > initialization in generic_dmainit() is buggy (it assumes multi-word > DMA mode 2 but your IDE timing is apparently incompatible with this). Originally, this was meant so that people with UDMA drives could use them in _some_ DMA mode on a chipset without explicit support (on the assumption that the controller will be all set up for MWDMA2 or a compatible mode; a hack, yes, but when you don't know anything about the controller, you can't very well fix it), but the code was written to assume that for _any_ DMA-capable drive on a generic controller. The patch I just posted limits the force-set to UDMA drives only, like it should have been in the first place. -- +--------------------------------------------------------------------+ | Lee Cremeans -- Manassas, VA, USA (WakkyMouse on DALnet and WTnet)| | lcremean@tidalwave.net| http://st-lcremean.tidalwave.net/~lee | 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?19990125011938.F1916>