Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2018 21:53:21 +0530
From:      Lakhan Shiva <lakhanshiva@gmail.com>
To:        soc-status@freebsd.org
Subject:   [GSOC-18] Convert PCI drivers to be table driven - Week 3
Message-ID:  <CAHC0Yge0a9pTQHhiSZUtzxtv7-umC7knuCMb9axnC9OBC2VehQ@mail.gmail.com>

index | next in thread | raw e-mail

 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHC0Yge0a9pTQHhiSZUtzxtv7-umC7knuCMb9axnC9OBC2VehQ>