Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 1999 00:25:06 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        nick.hibma@jrc.it, roger@cs.strath.ac.uk
Cc:        current@FreeBSD.ORG, phk@critter.freebsd.dk
Subject:   Re: cdevsw_add
Message-ID:  <199906041425.AAA00619@godzilla.zeta.org.au>

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

>> 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.
>
>Well, in the PCI drivers, it is just the meteor, the brooktree848
>and the Xilinx PGA driver (xrpu)
>
>In the /sys/i386/isa drivers, there were quite a few.

The isa drivers provide many bad examples.  Most of them attached the
devsw in a disgusting SYSINIT even if the device is disabled.  I moved
the devsw attach to the device attach function in some drivers that
I worked on.  This was necessary to support pcvt and syscons sharing a
devsw entry.

Bruce


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?199906041425.AAA00619>