diff options
author | phk <phk@FreeBSD.org> | 2003-03-02 16:50:09 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-02 16:50:09 +0000 |
commit | 3780674329cabab230b12923047c8aa84e4f05fc (patch) | |
tree | f341410c201254afe033c9e8caa4558eff1a4da7 /sys | |
parent | ca6b2d62e43560814ed90dcd1db35ffc82725279 (diff) | |
download | FreeBSD-src-3780674329cabab230b12923047c8aa84e4f05fc.zip FreeBSD-src-3780674329cabab230b12923047c8aa84e4f05fc.tar.gz |
Put cdevsw initialization on canonical format.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ciss/ciss.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 5406272..7c23895 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -217,9 +217,20 @@ static d_ioctl_t ciss_ioctl; #define CISS_CDEV_MAJOR 166 static struct cdevsw ciss_cdevsw = { - ciss_open, ciss_close, noread, nowrite, ciss_ioctl, - nopoll, nommap, nostrategy, "ciss", CISS_CDEV_MAJOR, - nodump, nopsize, 0, nokqfilter + /* open */ ciss_open, + /* close */ ciss_close, + /* read */ noread, + /* write */ nowrite, + /* ioctl */ ciss_ioctl, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "ciss", + /* maj */ CISS_CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0, + /* kqfilter */ nokqfilter }; /************************************************************************ |