aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r--sys/cam/scsi/scsi_cd.c2
-rw-r--r--sys/cam/scsi/scsi_ch.c1
-rw-r--r--sys/cam/scsi/scsi_da.c2
-rw-r--r--sys/cam/scsi/scsi_pass.c1
-rw-r--r--sys/cam/scsi/scsi_pt.c1
-rw-r--r--sys/cam/scsi/scsi_sa.c1
-rw-r--r--sys/cam/scsi/scsi_ses.c1
-rw-r--r--sys/cam/scsi/scsi_target.c1
8 files changed, 0 insertions, 10 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c
index cf6482eb062d..40c540b3fe89 100644
--- a/sys/cam/scsi/scsi_cd.c
+++ b/sys/cam/scsi/scsi_cd.c
@@ -176,7 +176,6 @@ static struct cd_quirk_entry cd_quirk_table[] =
#endif
#define CD_CDEV_MAJOR 15
-#define CD_BDEV_MAJOR 6
static d_open_t cdopen;
static d_close_t cdclose;
@@ -265,7 +264,6 @@ static struct cdevsw cd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
- /* bmaj */ CD_BDEV_MAJOR
};
static struct cdevsw cddisk_cdevsw;
diff --git a/sys/cam/scsi/scsi_ch.c b/sys/cam/scsi/scsi_ch.c
index 2923ab201f5d..4c8afdbe8a9d 100644
--- a/sys/cam/scsi/scsi_ch.c
+++ b/sys/cam/scsi/scsi_ch.c
@@ -225,7 +225,6 @@ static struct cdevsw ch_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static struct extend_array *chperiphs;
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index cdd70d2dea14..5b5956f626eb 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -302,7 +302,6 @@ static struct periph_driver dadriver =
PERIPHDRIVER_DECLARE(da, dadriver);
#define DA_CDEV_MAJOR 13
-#define DA_BDEV_MAJOR 4
/* For 2.2-stable support */
#ifndef D_DISK
@@ -323,7 +322,6 @@ static struct cdevsw da_cdevsw = {
/* dump */ dadump,
/* psize */ nopsize,
/* flags */ D_DISK,
- /* bmaj */ DA_BDEV_MAJOR
};
static struct cdevsw dadisk_cdevsw;
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c
index 791a71dcdcf6..7c47bc287f6f 100644
--- a/sys/cam/scsi/scsi_pass.c
+++ b/sys/cam/scsi/scsi_pass.c
@@ -123,7 +123,6 @@ static struct cdevsw pass_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static struct extend_array *passperiphs;
diff --git a/sys/cam/scsi/scsi_pt.c b/sys/cam/scsi/scsi_pt.c
index beec14d438dd..61b9d045ef70 100644
--- a/sys/cam/scsi/scsi_pt.c
+++ b/sys/cam/scsi/scsi_pt.c
@@ -132,7 +132,6 @@ static struct cdevsw pt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static struct extend_array *ptperiphs;
diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c
index e15aa6624f46..f288e4a0e9af 100644
--- a/sys/cam/scsi/scsi_sa.c
+++ b/sys/cam/scsi/scsi_sa.c
@@ -425,7 +425,6 @@ static struct cdevsw sa_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TAPE,
- /* bmaj */ -1
};
static struct extend_array *saperiphs;
diff --git a/sys/cam/scsi/scsi_ses.c b/sys/cam/scsi/scsi_ses.c
index f42a4b39ad2f..7e4b818d6e37 100644
--- a/sys/cam/scsi/scsi_ses.c
+++ b/sys/cam/scsi/scsi_ses.c
@@ -190,7 +190,6 @@ static struct cdevsw ses_cdevsw =
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static struct extend_array *sesperiphs;
diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c
index cad49a31bdaa..06fc32476b4a 100644
--- a/sys/cam/scsi/scsi_target.c
+++ b/sys/cam/scsi/scsi_target.c
@@ -180,7 +180,6 @@ static struct cdevsw targ_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* bmaj */ -1
};
static int targsendccb(struct cam_periph *periph, union ccb *ccb,