Don't register a bmajor.

This commit is contained in:
Poul-Henning Kamp 1999-09-08 18:45:58 +00:00
parent 8072a14e83
commit c27b8405da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51098
3 changed files with 3 additions and 11 deletions

View file

@ -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;

View file

@ -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
};

View file

@ -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;