[Linux-kernel-mentees] Seeking information about LKMP Project - "Linux PCI - Remove driver-local definitions of standard PCI symbols"

Puranjay Mohan puranjay12 at gmail.com
Wed May 1 21:07:17 UTC 2019


Hello,
I wanted to get a few things clarified in relation to the aforementioned project in the subject.

The description of the project states that some drivers define their own copies of PCI_COMMAND, PCI_STATUS, etc.

If we remove these definitions, 
then for the driver to work it has to include "include/uapi/linux/pci_regs.h", 
so should we also add the include statement in the driver source code or it is already included by some other way.

Kindly help me resolve this confusion as I am a beginner at this.
If the question sounds wrong or lame, please forgive me.
I want to work on this project as a part of the Linux kernel mentorship program.

Thanks and Regards


More information about the Linux-kernel-mentees mailing list