diff options
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/i386/isa/dgb.c | 28 | ||||
-rw-r--r-- | sys/gnu/i386/isa/dgm.c | 28 |
2 files changed, 42 insertions, 14 deletions
diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c index e9a044b..b39c89d 100644 --- a/sys/gnu/i386/isa/dgb.c +++ b/sys/gnu/i386/isa/dgb.c @@ -1,5 +1,5 @@ /*- - * dgb.c $Id: dgb.c,v 1.47 1999/05/02 21:39:52 peter Exp $ + * dgb.c $Id: dgb.c,v 1.48 1999/05/08 07:02:24 phk Exp $ * * Digiboard driver. * @@ -224,12 +224,26 @@ static d_stop_t dgbstop; static d_devtotty_t dgbdevtotty; #define CDEV_MAJOR 58 -static struct cdevsw dgb_cdevsw = { - dgbopen, dgbclose, dgbread, dgbwrite, - dgbioctl, dgbstop, noreset, dgbdevtotty, - ttpoll, nommap, NULL, "dgb", - NULL, -1, nodump, nopsize, - D_TTY, +static struct cdevsw dgb_cdevsw = { + /* open */ dgbopen, + /* close */ dgbclose, + /* read */ dgbread, + /* write */ dgbwrite, + /* ioctl */ dgbioctl, + /* stop */ dgbstop, + /* reset */ noreset, + /* devtotty */ dgbdevtotty, + /* poll */ ttpoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "dgb", + /* parms */ noparms, + /* maj */ CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ D_TTY, + /* maxio */ 0, + /* bmaj */ -1 }; static speed_t dgbdefaultrate = TTYDEF_SPEED; diff --git a/sys/gnu/i386/isa/dgm.c b/sys/gnu/i386/isa/dgm.c index 291e520..5f3ff63 100644 --- a/sys/gnu/i386/isa/dgm.c +++ b/sys/gnu/i386/isa/dgm.c @@ -1,5 +1,5 @@ /*- - * $Id: dgm.c,v 1.12 1999/05/03 09:32:31 brian Exp $ + * $Id: dgm.c,v 1.13 1999/05/08 07:02:25 phk Exp $ * * This driver and the associated header files support the ISA PC/Xem * Digiboards. Its evolutionary roots are described below. @@ -228,12 +228,26 @@ static d_stop_t dgmstop; static d_devtotty_t dgmdevtotty; #define CDEV_MAJOR 101 -static struct cdevsw dgm_cdevsw = { - dgmopen, dgmclose, dgmread, dgmwrite, - dgmioctl, dgmstop, noreset, dgmdevtotty, - ttpoll, nommap, NULL, "dgm", - NULL, -1, nodump, nopsize, - D_TTY, +static struct cdevsw dgm_cdevsw = { + /* open */ dgmopen, + /* close */ dgmclose, + /* read */ dgmread, + /* write */ dgmwrite, + /* ioctl */ dgmioctl, + /* stop */ dgmstop, + /* reset */ noreset, + /* devtotty */ dgmdevtotty, + /* poll */ ttpoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "dgm", + /* parms */ noparms, + /* maj */ CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ D_TTY, + /* maxio */ 0, + /* bmaj */ -1 }; static speed_t dgmdefaultrate = TTYDEF_SPEED; |