From owner-freebsd-drivers@FreeBSD.ORG Wed May 22 00:31:41 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4D95D130 for ; Wed, 22 May 2013 00:31:40 +0000 (UTC) (envelope-from jesalepad@gmail.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id E599EAB5 for ; Wed, 22 May 2013 00:31:39 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id e11so3712472iej.30 for ; Tue, 21 May 2013 17:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XKgBkASK4rHVKcjHjzigtkLivIYANTI9GLc1gV0PXoU=; b=IEU3JuMhhzy6wOdaBEqWqyAQI/QE1n6sZKyLFNVQbYtx4KZybFYuYRUNXvJxQPpB3W AuIvGFVsOqI1M3nIhbZXZGxh+O4OxnHi0OIl4CYVKeg7b3jlaxYvgg/AumBGpk6ee+Wp u7T17PzFP7QUlUBDWXat28Kq96RMeJCyXvzQtUrfRJq7sOWIea4Wxv667yYKydApzssE DSxx+PAkoPVjVHvC8d5+RaHdzfOUg/JiFMS+aCwVfH3OWc+ha+MnNH8zsuWRX5Cymn/Y 0Bv6GQoCbly3QZrmqkn13+kI0BHiqc2tTUSGldsHBeNUdF7CJ0Lr1SSLl8L20DTcQBM9 4/0w== MIME-Version: 1.0 X-Received: by 10.50.130.3 with SMTP id oa3mr9771291igb.69.1369182699650; Tue, 21 May 2013 17:31:39 -0700 (PDT) Received: by 10.64.14.145 with HTTP; Tue, 21 May 2013 17:31:39 -0700 (PDT) Date: Tue, 21 May 2013 20:31:39 -0400 Message-ID: Subject: Getting a list of all drivers From: Jesus Alejandro Padilla To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 00:31:41 -0000 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).