Accessing memory mapped PCI device?

Hannu Savolainen (
Thu, 6 Mar 1997 00:20:23 +0200 (EET)


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 Savolainen (, (Open Sound System (OSS)) (OSS Free/TASD/VoxWare)