diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-30 16:53:49 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-30 16:53:49 +0000 |
| commit | 4e2f199e0c9ada1b226f685a848abb1420a1ff8f (patch) | |
| tree | c7dba053fd70eed731104c273f0605d351ea65cd /sys/dev/scd | |
| parent | 7a1c7bc99f36d929470a570884dcdacb005fd08f (diff) | |
Notes
Diffstat (limited to 'sys/dev/scd')
| -rw-r--r-- | sys/dev/scd/scd.c | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 519b28c3e3e2..24af2e119c3d 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -41,7 +41,7 @@ */ -/* $Id: scd.c,v 1.44 1999/05/07 07:03:29 phk Exp $ */ +/* $Id: scd.c,v 1.45 1999/05/09 20:29:04 phk Exp $ */ /* Please send any comments to micke@dynas.se */ @@ -193,11 +193,26 @@ static d_strategy_t scdstrategy; #define CDEV_MAJOR 45 #define BDEV_MAJOR 16 static struct cdevsw scd_cdevsw = { - scdopen, scdclose, physread, nowrite, - scdioctl, nostop, nullreset, nodevtotty, - seltrue, nommap, scdstrategy, "scd", - NULL, -1, nodump, nopsize, - D_DISK, 0, -1 }; + /* open */ scdopen, + /* close */ scdclose, + /* read */ physread, + /* write */ nowrite, + /* ioctl */ scdioctl, + /* stop */ nostop, + /* reset */ noreset, + /* devtotty */ nodevtotty, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ scdstrategy, + /* name */ "scd", + /* parms */ noparms, + /* maj */ CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ D_DISK, + /* maxio */ 0, + /* bmaj */ BDEV_MAJOR +}; static int |
