Re: DEVFS_FL_AUTO_DEVNUM on block devices

Taral
2001-09-04T20:24:06Z

On Tue, Sep 04, 2001 at 02:13:34PM -0600, Richard Gooch wrote:
> taral@taral.net writes:
> >
> > --HlL+5n6rz5pIUxbD
> > Content-Type: text/plain; charset=us-ascii
> > Content-Disposition: inline
> > Content-Transfer-Encoding: quoted-printable
>
> Please fix your mailer to not send this junk.

It's not junk, it's PGP/MIME. But I disabled it for you.

> You can use the devfs_alloc_major() function to grab a major number
> that won't conflict with another driver. Then use that major when
> calling devfs_register().

Sounds good to me. It might be wise, however, to disable use of
DEVFS_FL_AUTO_DEVNUM in devfs_register with block devices, since it's
not incredibly useful to have two different drivers sharing a major
number.

--
Taral <taral@taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Any technology, no matter how primitive, is magic to those who don't
understand it." -- Florence Ambrose