tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mjf-devfs2 branch



On Sat, Mar 29, 2008 at 04:35:31PM +0000, Matt Fleming wrote:

> int device_register_name(dev_t, device_t, boolean_t, enum devtype, 
>       const char *, ...);
> 
> 'devtype' specifies the type of device which will be used for matching rules.
> See sys/sys/conf.h for details.

[...]

> Further Work:
>       - Once device drivers are all converted, move to dynamic major
>         numbers

It seems like a lot of this naturally belongs in the device switch and that
the same call should register the device methods. Are you proposing to keep
the existing major numbers? That makes sense in the short term but longer
term I think we'd be making a mistake by doing that.

Thanks,
Andrew


Home | Main Index | Thread Index | Old Index