Re: PNP patch into kernel when?

Andrew E. Mileski (aem@nic.ott.hookup.net)
Thu, 5 Dec 1996 10:09:03 -0500 (EST)


> > Some of the kernel drivers already knowingly abuse the existing API,
> > for the sake of the functionality the proposed new API provides.
> > Still more drivers (nearly all I expect) make assumptions that are not
> > allowed with PnP, and the existing API allows/expects/promotes this.
>
> What assumptions are these?

Well off the top of my head:
- Devices fully decode the bus.
- request_region() and free_region() always succeed.
- I/O regions can be described by a short.
- request_dma() and free_dma() control 16 physical interrupts.
- No hardware resource changes are allowed during an interrupt.

--
Andrew E. Mileski   mailto:aem@ott.hookup.net
Linux Plug-and-Play Kernel Project http://www.redhat.com/linux-info/pnp/
XFree86 Matrox Team http://www.bf.rmit.edu.au/~ajv/xf86-matrox.html