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.)