[driver-discuss] device driver for a memory mapped device

Sevin Fide sfide at yahoo.com
Fri Jan 5 10:27:22 PST 2007


Hi,

I've got a memory mapped device, but the OS doesn't
let me access it in user space without a driver. So, I
need to write a driver to bind the driver to my device
at location 0x7fff00000000. Attached you will find my
driver code. But when I mmap the driver into user
space, the device at 0x7fff00000000 is not accessed at
all. So, I believe there is a problem in probing and
attaching the device. Could you please take a look at
my code and tell me what I'm doing wrong? I'm new to
device drivers. Thank you.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.c
Type: application/octet-stream
Size: 8631 bytes
Desc: 724247357-foo.c
Url : http://oss-beta1.opensolaris.org/pipermail/driver-discuss/attachments/20070105/88189dd3/attachment.obj 


More information about the driver-discuss mailing list