Re: check_region in ide chipset drivers

From: Martin Mares (mj@suse.cz)
Date: Wed Aug 02 2000 - 02:28:43 EST


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/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:07 EST