summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-03-26 12:41:29 +0000
committerphk <phk@FreeBSD.org>2001-03-26 12:41:29 +0000
commitc47745e97713190e3da533b9d29b74b2ceee96f1 (patch)
tree6046a3f7ba5778a5ad444f6594e905caeb70379f /sys/pc98
parenta95c2d852912f59fb8e69c1a812dabcaf04cfc23 (diff)
downloadFreeBSD-src-c47745e97713190e3da533b9d29b74b2ceee96f1.zip
FreeBSD-src-c47745e97713190e3da533b9d29b74b2ceee96f1.tar.gz
Send the remains (such as I have located) of "block major numbers" to
the bit-bucket.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/apm/apm.c1
-rw-r--r--sys/pc98/cbus/fdc.c2
-rw-r--r--sys/pc98/cbus/gdc.c1
-rw-r--r--sys/pc98/cbus/olpt.c1
-rw-r--r--sys/pc98/cbus/sio.c1
-rw-r--r--sys/pc98/pc98/fd.c2
-rw-r--r--sys/pc98/pc98/mse.c1
-rw-r--r--sys/pc98/pc98/olpt.c1
-rw-r--r--sys/pc98/pc98/pc98gdc.c1
-rw-r--r--sys/pc98/pc98/pcaudio.c1
-rw-r--r--sys/pc98/pc98/sio.c1
-rw-r--r--sys/pc98/pc98/spkr.c1
-rw-r--r--sys/pc98/pc98/syscons.c1
-rw-r--r--sys/pc98/pc98/wd.c2
-rw-r--r--sys/pc98/pc98/wd_cd.c3
-rw-r--r--sys/pc98/pc98/wfd.c2
-rw-r--r--sys/pc98/pc98/wst.c1
17 files changed, 1 insertions, 22 deletions
diff --git a/sys/pc98/apm/apm.c b/sys/pc98/apm/apm.c
index 1184c1b..cd0e66f 100644
--- a/sys/pc98/apm/apm.c
+++ b/sys/pc98/apm/apm.c
@@ -115,7 +115,6 @@ static struct cdevsw apm_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static int apm_suspend_delay = 1;
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 1b21f64..8b9b18e 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -420,7 +420,6 @@ static d_ioctl_t fdioctl;
static d_strategy_t fdstrategy;
#define CDEV_MAJOR 9
-#define BDEV_MAJOR 2
static struct cdevsw fd_cdevsw = {
/* open */ Fdopen,
@@ -436,7 +435,6 @@ static struct cdevsw fd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
- /* bmaj */ BDEV_MAJOR
};
static int
diff --git a/sys/pc98/cbus/gdc.c b/sys/pc98/cbus/gdc.c
index dabc1e8..6547a4e 100644
--- a/sys/pc98/cbus/gdc.c
+++ b/sys/pc98/cbus/gdc.c
@@ -97,7 +97,6 @@ static struct cdevsw gdc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
#endif /* FB_INSTALL_CDEV */
diff --git a/sys/pc98/cbus/olpt.c b/sys/pc98/cbus/olpt.c
index a2c7fe6..4a6488c 100644
--- a/sys/pc98/cbus/olpt.c
+++ b/sys/pc98/cbus/olpt.c
@@ -314,7 +314,6 @@ static struct cdevsw lpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
#ifndef PC98
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 3ccfdf3..7f47f43 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -510,7 +510,6 @@ static struct cdevsw sio_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
- /* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c
index 1b21f64..8b9b18e 100644
--- a/sys/pc98/pc98/fd.c
+++ b/sys/pc98/pc98/fd.c
@@ -420,7 +420,6 @@ static d_ioctl_t fdioctl;
static d_strategy_t fdstrategy;
#define CDEV_MAJOR 9
-#define BDEV_MAJOR 2
static struct cdevsw fd_cdevsw = {
/* open */ Fdopen,
@@ -436,7 +435,6 @@ static struct cdevsw fd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
- /* bmaj */ BDEV_MAJOR
};
static int
diff --git a/sys/pc98/pc98/mse.c b/sys/pc98/pc98/mse.c
index 56eeab9..8bf11ae 100644
--- a/sys/pc98/pc98/mse.c
+++ b/sys/pc98/pc98/mse.c
@@ -151,7 +151,6 @@ static struct cdevsw mse_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static void mseintr __P((void *));
diff --git a/sys/pc98/pc98/olpt.c b/sys/pc98/pc98/olpt.c
index a2c7fe6..4a6488c 100644
--- a/sys/pc98/pc98/olpt.c
+++ b/sys/pc98/pc98/olpt.c
@@ -314,7 +314,6 @@ static struct cdevsw lpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
#ifndef PC98
diff --git a/sys/pc98/pc98/pc98gdc.c b/sys/pc98/pc98/pc98gdc.c
index dabc1e8..6547a4e 100644
--- a/sys/pc98/pc98/pc98gdc.c
+++ b/sys/pc98/pc98/pc98gdc.c
@@ -97,7 +97,6 @@ static struct cdevsw gdc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
#endif /* FB_INSTALL_CDEV */
diff --git a/sys/pc98/pc98/pcaudio.c b/sys/pc98/pc98/pcaudio.c
index fdad7b4..e721f16 100644
--- a/sys/pc98/pc98/pcaudio.c
+++ b/sys/pc98/pc98/pcaudio.c
@@ -173,7 +173,6 @@ static struct cdevsw pca_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static void pca_continue __P((void));
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index 3ccfdf3..7f47f43 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -510,7 +510,6 @@ static struct cdevsw sio_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
- /* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};
diff --git a/sys/pc98/pc98/spkr.c b/sys/pc98/pc98/spkr.c
index 0c467ea..f3436d5 100644
--- a/sys/pc98/pc98/spkr.c
+++ b/sys/pc98/pc98/spkr.c
@@ -51,7 +51,6 @@ static struct cdevsw spkr_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static MALLOC_DEFINE(M_SPKR, "spkr", "Speaker buffer");
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c
index b157f4a..54c51dc 100644
--- a/sys/pc98/pc98/syscons.c
+++ b/sys/pc98/pc98/syscons.c
@@ -212,7 +212,6 @@ static struct cdevsw sc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
- /* bmaj */ -1
};
int
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 3b96e817..a527233 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -252,7 +252,6 @@ static d_open_t wdopen;
static d_strategy_t wdstrategy;
#define CDEV_MAJOR 3
-#define BDEV_MAJOR 0
static struct cdevsw wd_cdevsw = {
/* open */ wdopen,
@@ -268,7 +267,6 @@ static struct cdevsw wd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
- /* bmaj */ BDEV_MAJOR
};
static struct cdevsw wddisk_cdevsw;
diff --git a/sys/pc98/pc98/wd_cd.c b/sys/pc98/pc98/wd_cd.c
index f1cca1b..0de3104 100644
--- a/sys/pc98/pc98/wd_cd.c
+++ b/sys/pc98/pc98/wd_cd.c
@@ -49,7 +49,7 @@ static d_ioctl_t acdioctl;
static d_strategy_t acdstrategy;
#define CDEV_MAJOR 69
-#define BDEV_MAJOR 19
+
static struct cdevsw acd_cdevsw = {
/* open */ acdopen,
/* close */ acdclose,
@@ -64,7 +64,6 @@ static struct cdevsw acd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
- /* bmaj */ BDEV_MAJOR
};
#define NUNIT 16 /* Max # of devices */
diff --git a/sys/pc98/pc98/wfd.c b/sys/pc98/pc98/wfd.c
index 2ead84e..42abf43 100644
--- a/sys/pc98/pc98/wfd.c
+++ b/sys/pc98/pc98/wfd.c
@@ -53,7 +53,6 @@ static d_ioctl_t wfdioctl;
static d_strategy_t wfdstrategy;
#define CDEV_MAJOR 87
-#define BDEV_MAJOR 1
static struct cdevsw wfd_cdevsw = {
/* open */ wfdopen,
@@ -69,7 +68,6 @@ static struct cdevsw wfd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
- /* bmaj */ BDEV_MAJOR
};
int wfdattach(struct atapi*, int, struct atapi_params*, int);
diff --git a/sys/pc98/pc98/wst.c b/sys/pc98/pc98/wst.c
index 3260471..4b9b1b3 100644
--- a/sys/pc98/pc98/wst.c
+++ b/sys/pc98/pc98/wst.c
@@ -63,7 +63,6 @@ static struct cdevsw wst_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static unsigned int wst_total = 0;
OpenPOWER on IntegriCloud