From owner-freebsd-current Sun Jan 24 22:20:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA24536 for freebsd-current-outgoing; Sun, 24 Jan 1999 22:20:18 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from st-lcremean.tidalwave.net (host-e186.tidalwave.net [208.213.203.186] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA24531 for ; Sun, 24 Jan 1999 22:20:14 -0800 (PST) (envelope-from lee@st-lcremean.tidalwave.net) Received: (from lee@localhost) by st-lcremean.tidalwave.net (8.9.2/8.9.2) id BAA02235; Mon, 25 Jan 1999 01:19:38 -0500 (EST) (envelope-from lee) Message-ID: <19990125011938.F1916@tidalwave.net> Date: Mon, 25 Jan 1999 01:19:38 -0500 From: Lee Cremeans To: Bruce Evans , grog@lemis.com Cc: current@FreeBSD.ORG, dillon@apollo.backplane.com Subject: Re: IDE DMA works, I'll be a... Reply-To: lcremean@tidalwave.net References: <199901250608.RAA24912@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199901250608.RAA24912@godzilla.zeta.org.au>; from Bruce Evans on Mon, Jan 25, 1999 at 05:08:19PM +1100 X-OS: FreeBSD 3.0-CURRENT X-Evil: microsoft.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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