From 55ba1edd6ecdc68f02c03bb049c4ebd345c2a3aa Mon Sep 17 00:00:00 2001 From: grog Date: Tue, 22 Jun 1999 05:41:36 +0000 Subject: [PATCH] Add some comments about the VINUMMINOR macro, which is not for human consumption. --- sys/dev/vinum/vinumvar.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h index fb7d339c8ec2..594a08794b29 100644 --- a/sys/dev/vinum/vinumvar.h +++ b/sys/dev/vinum/vinumvar.h @@ -92,7 +92,12 @@ enum constants { MAXNAME = 64, /* maximum length of any name */ -#define VINUMMINOR(v,p,s,t) ( (v << VINUM_VOL_SHIFT) \ +/* + * Define a minor device number. + * This is not used directly; instead, it's + * called by the other macros. + */ +#define VINUMMINOR(v,p,s,t) ( (v << VINUM_VOL_SHIFT) \ | (p << VINUM_PLEX_SHIFT) \ | (s << VINUM_SD_SHIFT) \ | (t << VINUM_TYPE_SHIFT) )