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

Lakhan Shiva lakhanshiva at gmail.com
Mon Jun 4 16:23:39 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 amr, age, ae,
alc, amdsmb, bfe, bge, ce PCI drivers. I worked with harder drivers as
well. [1] [2]

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 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. [3]

Please find my updated project homepage here. [4]

Thank you,
Lakhan

[1] https://github.com/bsdimp/freebsd/pull/3/files
[2]  https://github.com/bsdimp/freebsd/pull/4/files
[3]
http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html
[4]
https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables


More information about the soc-status mailing list