lkml.org 
[lkml]   [1998]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI Device Driver Development
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.044 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site