* check_region question
@ 2004-08-01 5:24 shai lifshitz
2004-08-01 13:26 ` Jesper Juhl
0 siblings, 1 reply; 2+ messages in thread
From: shai lifshitz @ 2004-08-01 5:24 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: check_region question
2004-08-01 5:24 check_region question shai lifshitz
@ 2004-08-01 13:26 ` Jesper Juhl
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Juhl @ 2004-08-01 13:26 UTC (permalink / raw)
To: shai lifshitz; +Cc: linux-kernel
On Sun, 1 Aug 2004, shai lifshitz wrote:
> 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 <juhl-lkml@dif.dk>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-01 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-01 5:24 check_region question shai lifshitz
2004-08-01 13:26 ` Jesper Juhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome