tech-kern archive

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

Re: sys/dev/isa/fd.c FDUNIT/FDTYPE



On Wed, May 04, 2011 at 12:52:30PM +0200, Edgar Fuß wrote:
> > What is FDUNIT good for?
> Well, ehm, I suppose that's supposed to be, ehm, the unit number, e.g. 0 or 1 
> for fd0x/fd1x.

Oh, duh, of course ;-)
Unfortunatley, ultimately the kernel is correct (as always).
But you can easily change it to work div/mod 16 of course. It is all just a
convention between MAKEDEV and the kernel (which should match).

Martin


Home | Main Index | Thread Index | Old Index