Ed Schouten d3ce832719 Remove unit2minor() use from kernel code.
When I changed kern_conf.c three months ago I made device unit numbers
equal to (unneeded) device minor numbers. We used to require
bitshifting, because there were eight bits in the middle that were
reserved for a device major number. Not very long after I turned
dev2unit(), minor(), unit2minor() and minor2unit() into macro's.
The unit2minor() and minor2unit() macro's were no-ops.

We'd better not remove these four macro's from the kernel, because there
is a lot of (external) code that may still depend on them. For now it's
harmless to remove all invocations of unit2minor() and minor2unit().

Reviewed by:	kib
2008-09-26 14:19:52 +00:00
..
2007-01-15 05:55:56 +00:00
2006-01-14 21:49:31 +00:00
2005-12-09 07:09:44 +00:00
2006-02-14 15:22:24 +00:00
2006-02-17 09:42:49 +00:00
2006-01-14 14:17:27 +00:00
2008-03-04 11:10:54 +00:00
2008-09-03 18:17:45 +00:00
2008-09-03 18:17:45 +00:00
2008-01-27 02:04:12 +00:00
2008-09-21 07:33:33 +00:00