In message <[EMAIL PROTECTED]>, Assar Westerlund writes:
>Poul-Henning Kamp <[EMAIL PROTECTED]> writes:
>> 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.
>
>So how is this supposed to work for device kld's?  Currently,
>cdevsw_add() gets called from the glue generated by DEV_MODULE.

The same as for any other driver, once you find your hardware
you call make_dev() for it.

Use the variant of MODULE macro which doesn't take a cdevsw agument.

--
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