summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/cx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/cx.c')
-rw-r--r--sys/i386/isa/cx.c26
1 files changed, 20 insertions, 6 deletions
diff --git a/sys/i386/isa/cx.c b/sys/i386/isa/cx.c
index 4234000..7f5624e 100644
--- a/sys/i386/isa/cx.c
+++ b/sys/i386/isa/cx.c
@@ -90,12 +90,26 @@ static d_devtotty_t cxdevtotty;
#define CDEV_MAJOR 42
/* Don't make this static, since if_cx.c uses it. */
-struct cdevsw cx_cdevsw = {
- cxopen, cxclose, cxread, cxwrite,
- cxioctl, cxstop, nullreset, cxdevtotty,
- ttpoll, nommap, NULL, "cx",
- NULL, -1, nodump, nopsize,
- D_TTY,
+struct cdevsw cx_cdevsw = {
+ /* open */ cxopen,
+ /* close */ cxclose,
+ /* read */ cxread,
+ /* write */ cxwrite,
+ /* ioctl */ cxioctl,
+ /* stop */ cxstop,
+ /* reset */ noreset,
+ /* devtotty */ cxdevtotty,
+ /* poll */ ttpoll,
+ /* mmap */ nommap,
+ /* strategy */ nostrategy,
+ /* name */ "cx",
+ /* parms */ noparms,
+ /* maj */ CDEV_MAJOR,
+ /* dump */ nodump,
+ /* psize */ nopsize,
+ /* flags */ D_TTY,
+ /* maxio */ 0,
+ /* bmaj */ -1
};
#else
struct tty *cx_tty [NCX*NCHAN]; /* tty data */
OpenPOWER on IntegriCloud