[GSOC-18] Convert PCI drivers to be table driven - Week 6

Lakhan Shiva Kamireddy lakhan at freebsd.org
Mon Jun 25 23:59:38 UTC 2018


 Hi All,

As you are aware, my project is to convert PCI drivers to be table driven.
This week I have worked on other PCI drivers. I converted imcsb, isab,
ignore, ix, ixv, ixgb, ips, iwm, iir PCI drivers. I worked with hard
drivers as well. [1] -[3]

I have added the Plug and Play information for them and found them to be
used by devmatch to match them with modules automatically.
I resolved all build issues.

We have migrated the reviews to Phabricator and see that it is pretty cool.
I was having a problem with updating my differential review. The process
gets frozen on a step called querydiffs. We contacted the Phabricator team
on FreeBSD side. Hopefully we will get to some solution eventually.
Phabricator reviews can be found here. [4]-[6]

We need to convert the drivers in a certain way so that kldxref can find it
and record it in linker hints. I am working on PCI drivers so as to make it
easy for kldxref to find them.

In a couple of drivers I have added tables and modified the probe function.
At the same time, I am also learning the internals of the kernel, this will
help our goal ultimately - Automatic module loading. [7]

Please find my updated project homepage here. [8]

Thank you,
Lakhan
[1] https://github.com/bsdimp/freebsd/pull/4
[2] https://github.com/bsdimp/freebsd/pull/6
[3] https://github.com/bsdimp/freebsd/pull/7
[4] https://reviews.freebsd.org/D15995
[5] https://reviews.freebsd.org/D15996
[6] https://reviews.freebsd.org/D15979
[7]
http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html
[8]
https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables


More information about the soc-status mailing list