From 5d43b3e6d7b21c5b1d15e660afbba4c708c6393e Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 8 Sep 1999 18:45:58 +0000 Subject: Don't register a bmajor. --- sys/i386/isa/wst.c | 5 +---- sys/i386/isa/wt.c | 4 +--- sys/pc98/pc98/wst.c | 5 +---- 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; -- cgit v1.1