diff options
author | phk <phk@FreeBSD.org> | 1999-05-30 16:53:49 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-30 16:53:49 +0000 |
commit | 7e4a9dced9acd97789b37c32063ee7a8aa133f6d (patch) | |
tree | 407469b3581129f6442306683b28d6b54126baad /sys/fs | |
parent | dfa3967ffa4d84ed0b1691fac89ba3e73b8544e0 (diff) | |
download | FreeBSD-src-7e4a9dced9acd97789b37c32063ee7a8aa133f6d.zip FreeBSD-src-7e4a9dced9acd97789b37c32063ee7a8aa133f6d.tar.gz |
This commit should be a extensive NO-OP:
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the
same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/coda/coda_fbsd.c | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c index 703708c..49bba22 100644 --- a/sys/fs/coda/coda_fbsd.c +++ b/sys/fs/coda/coda_fbsd.c @@ -27,7 +27,7 @@ * Mellon the rights to redistribute these changes without encumbrance. * * @(#) src/sys/coda/coda_fbsd.cr,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ - * $Id: coda_fbsd.c,v 1.12 1999/01/27 20:09:17 dillon Exp $ + * $Id: coda_fbsd.c,v 1.13 1999/01/28 00:57:46 dillon Exp $ * */ @@ -73,11 +73,26 @@ static void *coda_devfs_token[NVCODA]; #define VC_DEV_NO 93 -static struct cdevsw codadevsw = -{ - vc_nb_open, vc_nb_close, vc_nb_read, vc_nb_write, /*93*/ - vc_nb_ioctl, nostop, nullreset, nodevtotty, - vc_nb_poll, nommap, NULL, "Coda", NULL, -1 +static struct cdevsw codadevsw = { + /* open */ vc_nb_open, + /* close */ vc_nb_close, + /* read */ vc_nb_read, + /* write */ vc_nb_write, + /* ioctl */ vc_nb_ioctl, + /* stop */ nostop, + /* reset */ noreset, + /* devtotty */ nodevtotty, + /* poll */ vc_nb_poll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "Coda", + /* parms */ noparms, + /* maj */ VC_DEV_NO, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0, + /* maxio */ 0, + /* bmaj */ -1 }; int vcdebug = 1; |