Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Oct 1997 19:21:13 -0700
From:      Julian Elischer <julian@whistle.com>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-hackers@FreeBSD.ORG, mdean <mdean@best.com>
Subject:   Re: Device Drivers
Message-ID:  <343AEE19.1F567D97@whistle.com>
References:  <Pine.SGI.3.95.971006234141.3491A-100000@shellx.best.com> <19971008000403.RT08354@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch wrote:

> > and why does d_maj=-1 in the driver when I would think you need to set it
> > to the major of your device.
> 
> Dynamic major # assignment.  The ultimate goal once devfs is running
> completely, but currently probably not very useful.
> 

It's set when your driver adds the entry into the table.
eventually the position in the table will be dynamic,
so current code is already acting as if it was.
(so we don't have to fix it when it goes dynamic.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?343AEE19.1F567D97>