aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98/cbus
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r--sys/pc98/cbus/fdc.c2
-rw-r--r--sys/pc98/cbus/olpt.c2
-rw-r--r--sys/pc98/cbus/sio.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 77961b3d8368..a2ebaa4ce381 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -622,7 +622,6 @@ fdin_rd(fdc_p fdc)
}
#endif /* PC98 */
-#define CDEV_MAJOR 9
static struct cdevsw fd_cdevsw = {
.d_open = fdopen,
.d_close = fdclose,
@@ -631,7 +630,6 @@ static struct cdevsw fd_cdevsw = {
.d_ioctl = fdioctl,
.d_strategy = fdstrategy,
.d_name = "fd",
- .d_maj = CDEV_MAJOR,
.d_flags = D_DISK,
};
diff --git a/sys/pc98/cbus/olpt.c b/sys/pc98/cbus/olpt.c
index e21e35400834..f17604617487 100644
--- a/sys/pc98/cbus/olpt.c
+++ b/sys/pc98/cbus/olpt.c
@@ -229,14 +229,12 @@ static d_close_t lptclose;
static d_write_t lptwrite;
static d_ioctl_t lptioctl;
-#define CDEV_MAJOR 16
static struct cdevsw lpt_cdevsw = {
.d_open = lptopen,
.d_close = lptclose,
.d_write = lptwrite,
.d_ioctl = lptioctl,
.d_name = "lpt",
- .d_maj = CDEV_MAJOR,
};
static bus_addr_t lpt_iat[] = {0, 2, 4, 6};
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 4e3467110e1c..6c865853ddb5 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -415,7 +415,6 @@ static d_read_t sioread;
static d_write_t siowrite;
static d_ioctl_t sioioctl;
-#define CDEV_MAJOR 28
static struct cdevsw sio_cdevsw = {
.d_open = sioopen,
.d_close = sioclose,
@@ -424,7 +423,6 @@ static struct cdevsw sio_cdevsw = {
.d_ioctl = sioioctl,
.d_poll = ttypoll,
.d_name = sio_driver_name,
- .d_maj = CDEV_MAJOR,
.d_flags = D_TTY,
.d_kqfilter = ttykqfilter,
};