Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 1997 17:25:53 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        sos@sos.freebsd.dk (Søren Schmidt)
Cc:        toor@dyson.iquest.net, hackers@FreeBSD.ORG
Subject:   Re: DMA for IDE drives ?
Message-ID:  <199706031525.RAA26497@labinfo.iet.unipi.it>
In-Reply-To: <199706031539.RAA25432@sos.freebsd.dk> from "Søren Schmidt" at Jun 3, 97 05:39:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> In reply to Luigi Rizzo who wrote:
> > Following the suggestion from John Dyson, I have downloaded the
> > documents for the PIIX controller (i82371FB/i82371SB) which is used
> > on several of our motherboards.
> >=20
> > Maybe I am oversimplifying things but it seems that DMA for IDE
> > could be implemented as follows:
...

> Pretty to the point, but you also need code to check if the drive
> really supports DMAr. the struct wdparam has to be enlarged.

one bit per drive, there is one bit per drive reserved to this in the 82371
registers BMISTA (see the data sheets, page 77) :) It's a hack of
course, since you also need to store somewhere the type of controller
you are using.

> I'm currently testing exactly this here, it seems to work so far.
> More later...

Great!

	Cheers
	Luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706031525.RAA26497>