[Haskell-cafe] Linux device drivers

Lennart Augustsson lennart at augustsson.net
Tue Mar 22 05:38:54 EST 2005


But there are plenty of minor variations on how to program
and initiate DMA for different devices.

	-- Lennart

Keean Schupke wrote:
> Actually with PCI chipsets, implementing a generic BusMaster DMA driver
> is not too hard, assuming you already have interrupts handled (and you 
> don't want 64bit DMA support)... You just load the parameters for the 
> disk read into the PCI registers, and wait for the completed interrupt. 
> I wrote a diver in assembly language for my own OS project a few years ago.
> 
>    Keean.


More information about the Haskell-Cafe mailing list