Re: PNP patch into kernel when?

Alan Cox (
Thu, 5 Dec 1996 22:46:49 +0000 (GMT)

> request_hw_resource() release_hw_resource()
> Management of _all_ hardware resources (DMA, IRQ, I/O, addresses, etc.)
> will be handled by these two architecture independent calls.

Which is a very good thing indeed.

> All of the following kernel calls will be marked as deprecated,
> their usage will cause a warning to be logged, and they will
> invoke the above hardware resource management API to do their work,
> but will otherwise be 100% compatible (binary and source):
> request_region() release_region() check_region()
> request_dma() free_dma()

Im not sure about logging the warning. I wish there was a way to embed
#warning lines into macros and inline function calls to get the right
result in the source tree.

> All occurances of the above calls in the kernel will be replaced by
> equivalent calls to the proposed NEW hardware resource management API.

Thats ideal. Everything carries on working, and people can fix it over
time. Like memcpy_tofs/froms slowly vanished