cosmetic fixes plus bring the cdevsw and bdevsw entries

into line with the new form.
This commit is contained in:
julian 1996-02-19 09:36:23 +00:00
parent df36e66991
commit 71193c8808

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: st.c,v 1.60 1996/02/03 13:31:13 joerg Exp $
* $Id: st.c,v 1.61 1996/02/08 06:23:49 pst Exp $
*/
/*
@ -176,14 +176,16 @@ static d_strategy_t ststrategy;
#define CDEV_MAJOR 14
#define BDEV_MAJOR 5
extern struct cdevsw st_cdevsw; /* hold off the complaints for a second */
static struct bdevsw st_bdevsw =
{ stopen, stclose, ststrategy, stioctl, /*5*/
nodump, nopsize, 0 };
nodump, nopsize, 0, "st", &st_cdevsw, -1 };
static struct cdevsw st_cdevsw =
{ stopen, stclose, rawread, rawwrite, /*14*/
stioctl, nostop, nullreset, nodevtotty,/* st */
seltrue, nommap, ststrategy };
seltrue, nommap, ststrategy, "st",
&st_bdevsw, -1 };
SCSI_DEVICE_ENTRIES(st)