Date: Tue, 26 Jun 2018 05:05:32 +0530 From: Lakhan Shiva Kamireddy <lakhan@freebsd.org> To: soc-status@freebsd.org Subject: [GSOC-18] Convert PCI drivers to be table driven - Week 6 Message-ID: <CAHC0YgfqNm1b3bPHONu7-YAgXM5WDd=Yey7LSOW0R9uDSbgf=w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHC0YgfqNm1b3bPHONu7-YAgXM5WDd=Yey7LSOW0R9uDSbgf=w>