lkml.org 
[lkml]   [2004]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: check_region question
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>

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

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog