All of lore.kernel.org
 help / color / mirror / Atom feed
From: testlaster@gmail.com (testlaster)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Linux PCI driver.
Date: Mon, 18 Aug 2014 09:50:44 +0200	[thread overview]
Message-ID: <53F1B054.2020100@gmail.com> (raw)

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.

             reply	other threads:[~2014-08-18  7:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18  7:50 testlaster [this message]
2014-08-18  8:35 ` Linux PCI driver Greg KH
2014-08-18 12:30   ` testlaster
2014-08-18 12:33     ` Greg KH
2014-08-18 13:06       ` testlaster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53F1B054.2020100@gmail.com \
    --to=testlaster@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.