diff options
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ufm.c | 17 | ||||
| -rw-r--r-- | sys/dev/usb/urio.c | 17 |
2 files changed, 26 insertions, 8 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index 5269a8dd867c..42c7a43fb9bc 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -90,10 +90,19 @@ d_ioctl_t ufmioctl; #define UFM_CDEV_MAJOR MAJOR_AUTO Static struct cdevsw ufm_cdevsw = { - ufmopen, ufmclose, noread, nowrite, - ufmioctl, nopoll, nommap, nostrategy, - "ufm", UFM_CDEV_MAJOR, nodump, nopsize, - 0, + /* open */ ufmopen, + /* close */ ufmclose, + /* read */ noread, + /* write */ nowrite, + /* ioctl */ ufmioctl, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "ufm", + /* maj */ UFM_CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0, #if (__FreeBSD_version < 500014) -1 #endif diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index ba9ca84b96d2..e5f6cc75b01e 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -116,10 +116,19 @@ d_ioctl_t urioioctl; #define URIO_CDEV_MAJOR 143 Static struct cdevsw urio_cdevsw = { - urioopen, urioclose, urioread, uriowrite, - urioioctl, nopoll, nommap, nostrategy, - "urio", URIO_CDEV_MAJOR,nodump, nopsize, - 0, + /* open */ urioopen, + /* close */ urioclose, + /* read */ urioread, + /* write */ uriowrite, + /* ioctl */ urioioctl, + /* poll */ nopoll, + /* mmap */ nommap, + /* strategy */ nostrategy, + /* name */ "urio", + /* maj */ URIO_CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0, #if __FreeBSD_version < 500014 -1 #endif |
