Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2018 16:40:20 +0530
From:      Lakhan Shiva Kamireddy <lakhan@freebsd.org>
To:        soc-status@freebsd.org
Subject:   [GSOC-18] Convert PCI drivers to be table driven - Week 8
Message-ID:  <CAHC0YgcpX3OCi15_LWRq0%2BQkqVDHhbhzpHENTu6DyaRT4BV-Ug@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've worked on some of the PCI drivers which needed some
modification. As we decided to create a new macro - PCI_MATCH, there was a
change in strategy for conversion.

Firstly as per the earlier strategy I pushed the code to bsdimp fork. Then
from there I began the conversion process to consolidate the PCI drivers to
conform to our new strategy. Most of last week went into changing the probe
routines to use the new device tables that i created. I have also fixed
numerous style issues that came up.

I have already started the conversion process after rebasing to the latest
FreeBSD build. After the work on probe routines has been completed, I
worked on the earlier drivers such as amdsmb, ismt, iir, iwm, ips, ignore
[1].

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.

I am also learning the internals of the kernel, this will help our goal
ultimately - Automatic module loading. [5]

Please find my updated project homepage here. [6]

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHC0YgcpX3OCi15_LWRq0%2BQkqVDHhbhzpHENTu6DyaRT4BV-Ug>