Getting a list of all drivers

Jesus Alejandro Padilla jesalepad at gmail.com
Wed May 22 00:31:41 UTC 2013


Hi,

I’m trying to get a comprehensive list of all the drivers in FreeBSD (I’m
talking about all the drivers available, not only the ones installed in my
system). I was thinking of getting them from the kernel source code (/sys),
but I’ve had some problems. Here’s what I’ve tried so far.

   - Get all loadable kernel modules. The problem with this approach is
   that there are many modules that are not drivers (like MAC policies).
   - Get the “device” entries in the GENERIC and NOTES configuration files.
   However, this has the same problem as the loadable kernel modules; there
   are “devices” that are not drivers, and I think that these files don’t
   contain all drivers, only the ones that will be compiled statically with
   the kernel, right?
   - Get the modules under /sys/dev. The problem is that there are other
   drivers that are outside this folder.

Do you know if there’s a better way of building this list? Is there a file,
like a MAINTAINERS file that contains this information up to date? I’d
really appreciate any help.

Thank you very much!

Alex

PS: I know that some proprietary drivers, like Nvidia's, might be hard to
get, but I’d like to get at least all the list of the drivers included in
the kernel source code (/sys).


More information about the freebsd-drivers mailing list