aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-03-26 12:41:29 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-03-26 12:41:29 +0000
commitf83880518b12341c0e6c9decc990ade59c9eb911 (patch)
treeae1758acac671af37c31e933dbaac944bfce0391 /sys/dev/vinum
parent0c8923e54bcdb2d1e1877349b5ba5440944c14ac (diff)
downloadsrc-f83880518b12341c0e6c9decc990ade59c9eb911.tar.gz
src-f83880518b12341c0e6c9decc990ade59c9eb911.zip
Send the remains (such as I have located) of "block major numbers" to
the bit-bucket.
Notes
Notes: svn path=/head/; revision=74810
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 4b7089c800a6..366a822e4192 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 44a9c8b978ef..eb3e4c2b0095 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)