summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ums.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ums.c')
-rw-r--r--sys/dev/usb/ums.c23
1 files changed, 19 insertions, 4 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index 4f80e6a..a97adb4 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -157,10 +157,25 @@ static d_poll_t ums_poll;
#define UMS_CDEV_MAJOR 111
static struct cdevsw ums_cdevsw = {
- ums_open, ums_close, ums_read, nowrite,
- ums_ioctl, nostop, nullreset, nodevtotty,
- ums_poll, nommap, nostrat,
- "ums", NULL, -1
+ /* open */ ums_open,
+ /* close */ ums_close,
+ /* read */ ums_read,
+ /* write */ nowrite,
+ /* ioctl */ ums_ioctl,
+ /* stop */ nostop,
+ /* reset */ noreset,
+ /* devtotty */ nodevtotty,
+ /* poll */ ums_poll,
+ /* mmap */ nommap,
+ /* strategy */ nostrategy,
+ /* name */ "ums",
+ /* parms */ noparms,
+ /* maj */ UMS_CDEV_MAJOR,
+ /* dump */ nodump,
+ /* psize */ nopsize,
+ /* flags */ 0,
+ /* maxio */ 0,
+ /* bmaj */ -1
};
#endif
OpenPOWER on IntegriCloud