From owner-cvs-all Sat Sep 25 3:34:26 1999 Delivered-To: cvs-all@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 766EA15018; Sat, 25 Sep 1999 03:34:15 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id LAA85444; Sat, 25 Sep 1999 11:36:35 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 25 Sep 1999 11:36:34 +0100 (BST) From: Doug Rabson To: Dag-Erling Smorgrav Cc: Brian Somers , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/ppp bundle.c id.c id.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On 25 Sep 1999, Dag-Erling Smorgrav wrote: > Brian Somers writes: > > Log: > > Do a kldload() if we get ENXIO trying to open /dev/tun0 > > Hmm, we should have a mechanism for querying the kernel about the > presence or absence of a specific driver. Maybe a sysctl hierarchy > that lists installed drivers and attached devices (and maybe even > detected but unattached devices). (BTW, that would allow us to > implement something like Windows' device manager, which is actually > quite a cool concept) There is some experimental code in subr_bus.c which constructs sysctl nodes for each device. I never had the time to take this further though. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message