summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-02 15:32:03 +0000
committerphk <phk@FreeBSD.org>2003-03-02 15:32:03 +0000
commit8ebe566c39e599ebbb91bc2ea8c7c2fc0c455ace (patch)
treedcc5db5dbf3f2cf9d63b2e3858196cb76b4583f4
parent19059f175da473ecef83a9691f493219cb06fe58 (diff)
downloadFreeBSD-src-8ebe566c39e599ebbb91bc2ea8c7c2fc0c455ace.zip
FreeBSD-src-8ebe566c39e599ebbb91bc2ea8c7c2fc0c455ace.tar.gz
Format the cdevsw like all other drivers do it for improved grepability.
-rw-r--r--sys/dev/vinum/vinum.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c
index 0376ccb..4016271 100644
--- a/sys/dev/vinum/vinum.c
+++ b/sys/dev/vinum/vinum.c
@@ -55,10 +55,19 @@ extern struct mc malloced[];
struct cdevsw vinum_cdevsw =
{
- vinumopen, vinumclose, physread, physwrite,
- vinumioctl, seltrue, nommap, vinumstrategy,
- "vinum", VINUM_CDEV_MAJOR, nodump, nopsize,
- D_DISK
+ /* open */ vinumopen,
+ /* close */ vinumclose,
+ /* read */ physread,
+ /* write */ physwrite,
+ /* ioctl */ vinumioctl,
+ /* poll */ seltrue,
+ /* mmap */ nommap,
+ /* strategy */ vinumstrategy,
+ /* name */ "vinum",
+ /* maj */ VINUM_CDEV_MAJOR,
+ /* dump */ nodump,
+ /* psize */ nopsize,
+ /* flags */ D_DISK
};
/* Called by main() during pseudo-device attachment. */
OpenPOWER on IntegriCloud