Don't register a bmajor.
This commit is contained in:
parent
8072a14e83
commit
c27b8405da
@ -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;
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user