From owner-freebsd-current Mon Oct 4 5:41:14 1999 Delivered-To: freebsd-current@freebsd.org Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (Postfix) with ESMTP id 8729C14C1B; Mon, 4 Oct 1999 05:40:52 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elect8 (elect8.jrc.it [139.191.71.152]) by mrelay.jrc.it (LMC5692) with ESMTP id OAA10155; Mon, 4 Oct 1999 14:40:37 +0200 (MET DST) Date: Mon, 4 Oct 1999 14:40:37 +0200 (MET DST) From: Nick Hibma X-Sender: n_hibma@elect8 Reply-To: Nick Hibma To: Poul-Henning Kamp Cc: committers@FreeBSD.org, current@FreeBSD.org Subject: Re: Heads up! In-Reply-To: <5480.939038143@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG And the crowd goes wild! Nick > > We have now come so far that we can start to kill cdevsw_add() > calls and rely on make_dev() for most of the device drivers. > > Later today I will add a "nagging printf", which will trigger when > a device is opened, which wasn't registered by the device driver > with make_dev(). It will only trigger once per driver per boot. > > If you see messages along the line of: > > WARNING: driver foo should register devices with make_dev() > > Please let me and the drivers maintainer know. > > Disk drivers will still be treated slightly special treatment, so > they will be exempt from this warning for now. > > Background Information: > > This is all part of the long push for DEVFS, before DEVFS can become > a reality, we need all dev_t's to be created specifically with > make_dev() so their name is available to DEVFS. > > > -- > Poul-Henning Kamp FreeBSD coreteam member > phk@FreeBSD.ORG "Real hackers run -current on their laptop." > FreeBSD -- It will take a long time before progress goes too far! > > -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message