diff options
| author | Greg Lehey <grog@FreeBSD.org> | 1999-06-22 05:41:36 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 1999-06-22 05:41:36 +0000 |
| commit | 2096c6b68ae0f1836399ba70e6b099da1faae182 (patch) | |
| tree | 15857cda1344f7caabc3a1b268a43b270a81e927 /sys/dev | |
| parent | b53adf6b1c63fc015a84eb1e6b69b7806275fb6b (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -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 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) ) |
