[GSOC] Converting PCI driver attachments to be table driven - weekly status report

Lakhan Shiva 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
using GitHub
as the platform to check-in GSoC code. I am currently checking code to
a freebsd fork [2].

Next I've setup the FreeBSD VM - Current 12.0 [3] 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
compares their
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.

Thank you,

[1] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables

[2] https://github.com/lakhanshiva/freebsd/tree/lakhan-pnpinfo
[3] http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.0-CURRENT/

More information about the soc-status mailing list