Accessing memory mapped PCI device?

Hannu Savolainen (hannu@voxware.pp.fi)
Thu, 6 Mar 1997 00:20:23 +0200 (EET)


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)