Re: device driver questions

2001-04-13 Thread Jamie Lokier
Friedrich Steven E CONT CNIN wrote: > If you want to mmap the device then you really want to put the > device in its own 4K aligned 4K sized PCI window, otherwise adjacent > devices will become accessible too and that might not be desirable. If you can, reprogram the device's PCI configurat

RE: device driver questions

2001-04-13 Thread Friedrich Steven E CONT CNIN
a couple questions below... -Original Message- From: Alan Cox Sent: Friday, April 13, 2001 14:47 To: Friedrich Steven E CONT CNIN Cc: [EMAIL PROTECTED] Subject:Re: device driver questions > My device shows

Re: device driver questions

2001-04-13 Thread Alan Cox
> My device shows up in /proc/iomem even before I load my device driver, > indicating that the pci subsystem mapped it into the kernel pages. But bar0 Actually the addresses you see there are physical bus addresses not neccessarily and on x86 quite likely not actually mapped. > Why didn't the p