summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-03-26 12:41:29 +0000
committerphk <phk@FreeBSD.org>2001-03-26 12:41:29 +0000
commitc47745e97713190e3da533b9d29b74b2ceee96f1 (patch)
tree6046a3f7ba5778a5ad444f6594e905caeb70379f /sys/dev/vinum
parenta95c2d852912f59fb8e69c1a812dabcaf04cfc23 (diff)
downloadFreeBSD-src-c47745e97713190e3da533b9d29b74b2ceee96f1.zip
FreeBSD-src-c47745e97713190e3da533b9d29b74b2ceee96f1.tar.gz
Send the remains (such as I have located) of "block major numbers" to
the bit-bucket.
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinum.c2
-rw-r--r--sys/dev/vinum/vinumvar.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c
index 4b7089c..366a822 100644
--- a/sys/dev/vinum/vinum.c
+++ b/sys/dev/vinum/vinum.c
@@ -58,7 +58,7 @@ struct cdevsw vinum_cdevsw =
vinumopen, vinumclose, physread, physwrite,
vinumioctl, seltrue, nommap, vinumstrategy,
"vinum", VINUM_CDEV_MAJOR, vinumdump, vinumsize,
- D_DISK, VINUM_BDEV_MAJOR
+ D_DISK
};
/* Called by main() during pseudo-device attachment. */
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h
index 44a9c8b..eb3e4c2 100644
--- a/sys/dev/vinum/vinumvar.h
+++ b/sys/dev/vinum/vinumvar.h
@@ -59,7 +59,6 @@ enum constants {
MINVINUMSLICE = 1048576, /* minimum size of a slice */
VINUM_CDEV_MAJOR = 91, /* major number for character device */
- VINUM_BDEV_MAJOR = 25, /* and legacy major number for block device */
ROUND_ROBIN_READPOL = -1, /* round robin read policy */
@@ -131,8 +130,6 @@ enum constants {
<< (VINUM_PLEX_SHIFT + VINUM_VOL_WIDTH)) \
| (t << VINUM_TYPE_SHIFT) )
-#define VINUMRBDEV(d,t) makedev (VINUM_BDEV_MAJOR, VINUMRMINOR (d, t))
-
/* extract device type */
#define DEVTYPE(x) ((minor (x) >> VINUM_TYPE_SHIFT) & 7)
OpenPOWER on IntegriCloud