> I've just fixed the bt848 driver (bktr) where the
 > cdevsw_add() was accidentally added to the BSDI bktr_probe()
 > and not the FreeBSD bktr_probe.
 > 
 > Although Bruce and Nick said this really belongs, in the _attatch()
 > function, I've kept it in the _probe() function for consistency
 > with all the other drivers.

Hm, I think this a bad choice. Which are 'all the other drivers'? The
probe should really be as thin as possible to avoid unnecessary delays
when probing in a kernel, like GENERIC, with a lot of device drivers
compiled in.

Nick
-- 
ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy



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

Reply via email to