summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-08 18:45:58 +0000
committerphk <phk@FreeBSD.org>1999-09-08 18:45:58 +0000
commit5d43b3e6d7b21c5b1d15e660afbba4c708c6393e (patch)
treeb6e8952f639eb28bcb22005cedf6bd7527de05f1 /sys
parent606c94160331f47f8e968f2deab769b4a8d89964 (diff)
downloadFreeBSD-src-5d43b3e6d7b21c5b1d15e660afbba4c708c6393e.zip
FreeBSD-src-5d43b3e6d7b21c5b1d15e660afbba4c708c6393e.tar.gz
Don't register a bmajor.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/wst.c5
-rw-r--r--sys/i386/isa/wt.c4
-rw-r--r--sys/pc98/pc98/wst.c5
3 files changed, 3 insertions, 11 deletions
diff --git a/sys/i386/isa/wst.c b/sys/i386/isa/wst.c
index 5dae30e..4c0b912 100644
--- a/sys/i386/isa/wst.c
+++ b/sys/i386/isa/wst.c
@@ -50,9 +50,6 @@ static d_ioctl_t wstioctl;
static d_strategy_t wststrategy;
#define CDEV_MAJOR 90
-#define BDEV_MAJOR 24
-
-
static struct cdevsw wst_cdevsw = {
/* open */ wstopen,
@@ -73,7 +70,7 @@ static struct cdevsw wst_cdevsw = {
/* psize */ nopsize,
/* flags */ 0,
/* maxio */ 0,
- /* bmaj */ BDEV_MAJOR
+ /* bmaj */ -1
};
static unsigned int wst_total = 0;
diff --git a/sys/i386/isa/wt.c b/sys/i386/isa/wt.c
index 6cb7a13..735869c 100644
--- a/sys/i386/isa/wt.c
+++ b/sys/i386/isa/wt.c
@@ -183,8 +183,6 @@ static d_ioctl_t wtioctl;
static d_strategy_t wtstrategy;
#define CDEV_MAJOR 10
-#define BDEV_MAJOR 3
-
static struct cdevsw wt_cdevsw = {
/* open */ wtopen,
@@ -205,7 +203,7 @@ static struct cdevsw wt_cdevsw = {
/* psize */ nopsize,
/* flags */ 0,
/* maxio */ 0,
- /* bmaj */ BDEV_MAJOR
+ /* bmaj */ -1
};
diff --git a/sys/pc98/pc98/wst.c b/sys/pc98/pc98/wst.c
index 5dae30e..4c0b912 100644
--- a/sys/pc98/pc98/wst.c
+++ b/sys/pc98/pc98/wst.c
@@ -50,9 +50,6 @@ static d_ioctl_t wstioctl;
static d_strategy_t wststrategy;
#define CDEV_MAJOR 90
-#define BDEV_MAJOR 24
-
-
static struct cdevsw wst_cdevsw = {
/* open */ wstopen,
@@ -73,7 +70,7 @@ static struct cdevsw wst_cdevsw = {
/* psize */ nopsize,
/* flags */ 0,
/* maxio */ 0,
- /* bmaj */ BDEV_MAJOR
+ /* bmaj */ -1
};
static unsigned int wst_total = 0;
OpenPOWER on IntegriCloud