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/streams/streams.c | |
| parent | 7a1c7bc99f36d929470a570884dcdacb005fd08f (diff) | |
Notes
Diffstat (limited to 'sys/dev/streams/streams.c')
| -rw-r--r-- | sys/dev/streams/streams.c | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c index fdf98bd23b54..e3790e8912b0 100644 --- a/sys/dev/streams/streams.c +++ b/sys/dev/streams/streams.c @@ -105,20 +105,26 @@ static struct fileops svr4_netops = { #define CDEV_MAJOR 103 static struct cdevsw streams_cdevsw = { - streamsopen, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - "streams", - NULL, - -1 }; + /* open */ streamsopen, + /* close */ noclose, + /* read */ noread, + /* write */ nowrite, + /* ioctl */ noioctl, + /* stop */ nostop, + /* reset */ noreset, + /* devtotty */ nodevtotty, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "streams", + /* parms */ noparms, + /* maj */ CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0, + /* maxio */ 0, + /* bmaj */ -1 +}; struct streams_softc { struct isa_device *dev; |
