[lkml]   [1997]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: reserve= not working, drivers fail to do check_region
> Kohtala Marko ( wrote:
> : Many drivers do I/O without check_region if user gives the address or
> : the card is in PCI devices. I do not think they should, since they'll
> : fail at request_region. Most net drivers based on the skeleton are
> : like this.
> I think these drivers are using check_region the "correct" way. One
> of the reasons for using "reserve=" is to prevent arbitrary drivers
> from probing at a particular address, but then later telling a
> specific driver to use that address. The later request_region() call
> will "fail", but request_region() doesn't return an indication of
> success or failure anyway.

Perhaps it's time for me to finish off and insert my code for
the new hardware resource managment API into the kernel.
This is part of the PnP code btw, but it is not PnP specific.

Andrew E. Mileski
Linux Plug-and-Play Kernel Project
XFree86 Matrox Team

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