Re: PCI bus mastering in userland

Martin Mares (mj@k332.feld.cvut.cz)
Wed, 24 Jul 1996 17:39:38 +0200 (MET DST)


Hi,

> I am programming a driver for a evaluation board from AMCC.
> The kernel module is OK, with or without bus mastering and irq support.
> But one of my great concerns is to offer a user-mode driver, too;
> FIFO programming is quite easy, and what about bus mastering transfers in
> user-mode ?

I don't understand what advantages can have a user-mode driver. It must be
run as root in order to use the ports, so it's much simpler to use a kernel
module, isn't it?

Martin