Messages in this thread | | | Date | Wed, 2 Aug 2000 09:28:43 +0200 | From | Martin Mares <> | Subject | Re: 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/
| |