cvs commit: src/sys/ia64/ia64 machdep.c
Doug Rabson
dfr at qubesoft.com
Fri Feb 4 08:30:54 PST 2005
On 4 Feb 2005, at 16:14, M. Warner Losh wrote:
> In message: <84e9ba659174ea3f7c7b2930c0ae3759 at xcllnt.net>
> Marcel Moolenaar <marcel at xcllnt.net> writes:
> : > I'm not sure if my approach is correct -- should different drivers
> for
> : > the same hardware share the same devclass?
> :
> : A datapoint: sio(4) and uart(4) are different drivers for the same
> : hardware.
> : They don't share the devclass.
>
> Neither do they share the same name.
Just to make things clear, if two drivers use the same name, they will
always share the devclass automatically (whether or not they use the
same variable to reference the devclass) and will allocate
non-conflicting unit numbers.
>
More information about the cvs-src
mailing list