kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: testlaster@gmail.com (testlaster)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Linux PCI driver.
Date: Mon, 18 Aug 2014 15:06:19 +0200	[thread overview]
Message-ID: <53F1FA4B.4050706@gmail.com> (raw)
In-Reply-To: <20140818123321.GA8194@kroah.com>

I think you are right Greg

I eventually after looking for alternative header folders I found one 
here that seems to be more in the line of what I am looking for .

/usr/src/linux-header-3.13.0-32-generic/include/linux/pc.h .

This should work right?

On 8/18/2014 2:33 PM, Greg KH wrote:
> On Mon, Aug 18, 2014 at 02:30:33PM +0200, testlaster wrote:
>> Hi Greg
>>
>> Yes I have read the book and some of it does make sense to me.
>>
>> What doesnt make sense though is that my pci.h file that I have found
>> /include/linux only has like 30 lines max?
> $ wc include/linux/pci.h
>   1832  7982 65670 include/linux/pci.h
>
> are you sure you are looking at the kernel source tree?
>
>> None of the functions in the book are in the header.
> Then I don't think you are looking at kernel source, but perhaps the
> header file for libpci in userspace?
>
> good luck,
>
> greg k-h
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2014-08-18 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=53F1FA4B.4050706@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 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).