From 0abb7d2eec7595b3b6397446c5cabe1cc558915d Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 8 Sep 1999 17:01:41 +0000 Subject: Don't register a block major for tapes. Reviewed by: mjacob --- sys/cam/scsi/scsi_sa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/cam/scsi') diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c index d1d1527..225b32e 100644 --- a/sys/cam/scsi/scsi_sa.c +++ b/sys/cam/scsi/scsi_sa.c @@ -342,7 +342,6 @@ DATA_SET(periphdriver_set, sadriver); #endif #define SA_CDEV_MAJOR 14 -#define SA_BDEV_MAJOR 5 static struct cdevsw sa_cdevsw = { /* open */ saopen, @@ -363,7 +362,7 @@ static struct cdevsw sa_cdevsw = { /* psize */ nopsize, /* flags */ D_TAPE, /* maxio */ 0, - /* bmaj */ SA_BDEV_MAJOR + /* bmaj */ -1 }; static struct extend_array *saperiphs; -- cgit v1.1