check_region question
hi group,
I try to grap the parallel port of a PC (x86), so as the first step I do: "check_region(0x378,3);" the problem is that it fails.
anybody can tell me why, where can I check who took this memory, or where to it is mapped?
HELP
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Quoted 4 lines · shai lifshitz
hi group,
I try to grap the parallel port of a PC (x86), so as the first step I do:
"check_region(0x378,3);"
You want to use request_region() instead, check_region() is deprecated and everything still using it is being moved to use request_region().
also, take a look at drivers/parport/parport_pc.c for examples.
You can also get useful info from
cat /proc/ioports
cat /proc/iomem
cat /proc/modules
You may also want to take a look at http://www.xml.com/ldd/chapter/book/
--
Jesper Juhl <[email protected]>