lkml.org 
[lkml]   [2000]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: check_region in ide chipset drivers
Hi!

> I'd like to know whether check_region() and request_region() will be
> permitted in ide chipset drivers in kernel 2.4 again as were in 2.2
> or is there any other way how to test and reserve some io ports?

The proper way in 2.4 is to call request_region() and check its return
code unless you're doing ISA autoprobing where check_region() becomes
handy (actually, it does request_region() and release_region()
internally).

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"And God said: E = 1/2mv^2 - Ze^2/r ...and there *WAS* light!"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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