From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Mon, 18 Aug 2014 07:33:21 -0500 Subject: Linux PCI driver. In-Reply-To: <53F1F1E9.3030003@gmail.com> References: <53F1B054.2020100@gmail.com> <20140818083503.GA1550@kroah.com> <53F1F1E9.3030003@gmail.com> Message-ID: <20140818123321.GA8194@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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