lkml.org 
[lkml]   [1996]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PNP patch into kernel when?
Date

> 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

Alan



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.062 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site