mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Remove some more 'makedev' related macros.
Approved by: grog (mentor)
This commit is contained in:
parent
cfb6a27c5d
commit
ce7565b430
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125897
@ -126,16 +126,6 @@ enum constants {
|
||||
|
||||
#define OBJTYPE(x) ((minor(x) >> VINUM_TYPE_SHIFT) & 3)
|
||||
|
||||
/* Create device minor numbers */
|
||||
#define VINUMDEV(o, t) makedev (VINUM_CDEV_MAJOR, VINUMMINOR (o, t))
|
||||
|
||||
#define VINUM_VOL(v) makedev (VINUM_CDEV_MAJOR, \
|
||||
VINUMMINOR (v, VINUM_VOLUME_TYPE))
|
||||
#define VINUM_PLEX(p) makedev (VINUM_CDEV_MAJOR, \
|
||||
VINUMMINOR (p, VINUM_PLEX_TYPE))
|
||||
#define VINUM_SD(s) makedev (VINUM_CDEV_MAJOR, \
|
||||
VINUMMINOR (s, VINUM_SD_TYPE))
|
||||
|
||||
/* extract device type */
|
||||
#define DEVTYPE(x) ((minor (x) >> VINUM_TYPE_SHIFT) & 3)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user