Just because this never seemed to make it to the list on Friday...



---------- Forwarded message ----------
Date: Fri, 10 Jul 1998 17:11:15 -0600 (MDT)
From: [EMAIL PROTECTED] (Chris Hirsch )
To: [EMAIL PROTECTED]
Subject: Using Mem Map and PCI Device


Hey all...I'm trying to use memory mapping in a module for a PCI device
and I can't
figure out what I need to do. My PCI device lists 0xe0801000 for the
config and 0xe0802000 for the data. I want to enable interrupts for this
card. The offset for the interupt register is 38h so I was trying to add
38 to the base and outl() it. That doesn't seem to work. 

After my rambling above I guess the question I have is what things do I
need to do to use mmap and how exactly do I write to a mmapped device?
Can I use outl and outb? I have Linux Device Drivers but it stops short of
doing a step by step example and uses the parallel port as a simple
example DOH!

Thanks!
Chris

Reply via email to