lkml.org 
[lkml]   [1997]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAccessing memory mapped PCI device?
Hi,

I have the following PCI device which has it's registers mapped to PCI
memory space. How do I access the device in a driver? Accessing a pointer
obtained using phys_to_virt(0xffae0000) causes a protection fault.

Bus 0, device 16, function 0:
Multimedia controller: Unknown vendor Unknown device (rev 1).
Vendor id=1057. Device id=1801.
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xffae0000.

Best regards,

Hannu
---------
Hannu Savolainen (hannu@voxware.pp.fi, hannu@4front-tech.com)
http://www.4Front-Tech.com/oss.html (Open Sound System (OSS))
http://personal.eunet.fi/pp/voxware (OSS Free/TASD/VoxWare)


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.026 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site