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/hfa | |
| parent | 7a1c7bc99f36d929470a570884dcdacb005fd08f (diff) | |
Notes
Diffstat (limited to 'sys/dev/hfa')
| -rw-r--r-- | sys/dev/hfa/fore_load.c | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/sys/dev/hfa/fore_load.c b/sys/dev/hfa/fore_load.c index a6cbe10c2a31..3921475ed7ee 100644 --- a/sys/dev/hfa/fore_load.c +++ b/sys/dev/hfa/fore_load.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: fore_load.c,v 1.7 1999/05/09 17:07:30 peter Exp $ + * @(#) $Id: fore_load.c,v 1.8 1999/05/10 22:53:45 mks Exp $ * */ @@ -38,7 +38,7 @@ #include <dev/hfa/fore_include.h> #ifndef lint -__RCSID("@(#) $Id: fore_load.c,v 1.7 1999/05/09 17:07:30 peter Exp $"); +__RCSID("@(#) $Id: fore_load.c,v 1.8 1999/05/10 22:53:45 mks Exp $"); #endif @@ -1522,18 +1522,26 @@ fore_mod(cmd, vdp, vdi, vds) /* * Driver entry points */ -static struct cdevsw fore_cdev = { - (d_open_t *)enodev, /* open */ - (d_close_t *)enodev, /* close */ - NULL, /* read */ - NULL, /* write */ - NULL, /* ioctl */ - NULL, /* stop */ - NULL, /* reset */ - NULL, /* devtotty */ - NULL, /* select */ - NULL, /* mmap */ - NULL /* strategy */ +static struct cdevsw fore_cdev = { + /* open */ noopen, + /* close */ noclose, + /* read */ noread, + /* write */ nowrite, + /* ioctl */ noioctl, + /* stop */ nostop, + /* reset */ noreset, + /* devtotty */ nodevtotty, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ noname, + /* parms */ noparms, + /* maj */ -1, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0, + /* maxio */ 0, + /* bmaj */ -1 }; |
