Re: PCI Device Driver Development

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Fri, 17 Apr 1998 12:32:36 +0200


Hello,

> I am aware of the /proc/pci listing however I'm not sure if it's memory or
> I/O mapped. The following is my /proc/pci:

To get more detailed information, try using the 'lspci' command from the
pciutils package.

> Memory mapped I assume that I should be doing readb/writeb. I/O should be

Better use ioremap() and you can access it directly.

> the inb/outb family. The documentation does not reveal which addresses the
> regiesters get mapped to. Can you tell from this? Remember, this card has

No.

> a LOT of registers to hold the time/location/satellite values. Once I
> figure out the address, do I need to do any paging for this many registers?

No.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"A professor is one who talks in someone else's sleep."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu