freebsd-skq/sys/cddl
Ed Schouten 0f03ce1bb8 Turn dev2unit(), minor(), unit2minor() and minor2unit() into macro's.
Now that we got rid of the minor-to-unit conversion and the constraints
on device minor numbers, we can convert the functions that operate on
minor and unit numbers to simple macro's. The unit2minor() and
minor2unit() macro's are now no-ops.

The ZFS code als defined a macro named `minor'. Change the ZFS code to
use umajor() and uminor() here, as it is the correct approach to do
this. Also add $FreeBSD$ to keep SVN happy.

Approved by:	philip (mentor), pjd
2008-06-12 08:30:54 +00:00
..
compat/opensolaris Remove redundant redeclaration of 'zone_drain'. 2008-05-24 19:30:38 +00:00
contrib/opensolaris Turn dev2unit(), minor(), unit2minor() and minor2unit() into macro's. 2008-06-12 08:30:54 +00:00
dev The cyclic timer device. This is a cut down version of the one in 2008-05-23 22:21:58 +00:00