[GSOC] Converting PCI driver attachments to be table driven - weekly status report
lakhanshiva at gmail.com
Mon May 21 09:41:26 UTC 2018
My name is Lakhan Kamireddy and in this year's edition of GSoC I will work on
converting PCI driver attachments to be table driven.
I've created a wiki page where I've described the project and the milestones
This week I've started preparing the development infrastructure. We're
as the platform to check-in GSoC code. I am currently checking code to
a freebsd fork .
Next I've setup the FreeBSD VM - Current 12.0  to build the code
that i am planning to write.
I was able to do a complete build of the world and then a kernel
build. Thereafter, for every check-in,
I have done an incremental kernel
build to test the code.
I have converted drivers like puc, bce, aac and ncr.
I have categorized the drivers into three categories. One, trivial
two, medium and three, hard depending on the complexity. Currently we
have a devmatch
infrastructure that looks at all unattached devices on the system and
plug and play data to that which has been recorded by kldxref and
suggests modules to load.
We need the drivers to decorate their PNP data in a certain way so that kldxref
can find it and record it in linker hints. I am working on PCI drivers
make it easy for kldxref to find them.
More information about the soc-status