diff options
author | grog <grog@FreeBSD.org> | 1999-06-22 05:41:36 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-06-22 05:41:36 +0000 |
commit | 55ba1edd6ecdc68f02c03bb049c4ebd345c2a3aa (patch) | |
tree | 0ec9884c0cce2cad8423882803b179e0885cd809 | |
parent | fc53ed5c9377dc46e0ac42a176c88573b1ec49c8 (diff) | |
download | FreeBSD-src-55ba1edd6ecdc68f02c03bb049c4ebd345c2a3aa.zip FreeBSD-src-55ba1edd6ecdc68f02c03bb049c4ebd345c2a3aa.tar.gz |
Add some comments about the VINUMMINOR macro, which is not for human
consumption.
-rw-r--r-- | sys/dev/vinum/vinumvar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h index fb7d339..594a087 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) ) |