kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Linux PCI driver.
@ 2014-08-18  7:50 testlaster
  2014-08-18  8:35 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: testlaster @ 2014-08-18  7:50 UTC (permalink / raw)
  To: kernelnewbies

Hey Guys

Im writing a PCI driver in Linux ( Lubuntu ). Now its not an entire 
driver its really just a little program that will latch onto a space of 
ram and dump the entire content of the ram into a file.
I have done this before in a Unix/Linux based OS and it took me quite a 
while to figure it out.

So at startup the configuration for the PCI is already done so I wont 
have to do any of that myself.
I really just need to set a pointer to a register.

My problem is that I cant find the functions to do that for linux.
I cant find similar functions to things like :
PCI_ATTACH()
pci_attach_device();
mmap_device_memory();

I think that is really all I need at the moment.
Anybody have some ideas of where I can start looking?

Thanks and regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-18 13:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18  7:50 Linux PCI driver testlaster
2014-08-18  8:35 ` Greg KH
2014-08-18 12:30   ` testlaster
2014-08-18 12:33     ` Greg KH
2014-08-18 13:06       ` testlaster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).