Date: Tue, 21 May 2013 20:31:39 -0400 From: Jesus Alejandro Padilla <jesalepad@gmail.com> To: freebsd-drivers@freebsd.org Subject: Getting a list of all drivers Message-ID: <CAFYqdVtaBS=4sPr783WhEZ9QbY1CpLqwH-6MOs=jUo1y_XRSLg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I=92m trying to get a comprehensive list of all the drivers in FreeBSD (I= =92m 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=92ve had some problems. Here=92s what I=92ve 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 =93device=94 entries in the GENERIC and NOTES configuration fi= les. However, this has the same problem as the loadable kernel modules; there are =93devices=94 that are not drivers, and I think that these files don= =92t 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=92s a better way of building this list? Is there a fil= e, like a MAINTAINERS file that contains this information up to date? I=92d 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=92d like to get at least all the list of the drivers included in the kernel source code (/sys).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYqdVtaBS=4sPr783WhEZ9QbY1CpLqwH-6MOs=jUo1y_XRSLg>