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
[EMAIL PROTECTED]               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to