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)| | lcrem...@tidalwave.net| http://st-lcremean.tidalwave.net/~lee | To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message