Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Oct 1999 13:55:43 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        committers@FreeBSD.org, current@FreeBSD.org
Subject:   Heads up!
Message-ID:  <5480.939038143@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 04 Oct 1999 04:42:42 PDT." <199910041142.EAA17355@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

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!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5480.939038143>