Linux PCI driver.

testlaster testlaster at gmail.com
Mon Aug 18 09:06:19 EDT 2014


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




More information about the Kernelnewbies mailing list