diff options
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/usb/ufm.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ugen.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/uhid.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ulpt.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/umodem.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ums.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/urio.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/usb.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/uscanner.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index 3d92b12aba4a6..b16c56f255a2b 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -97,7 +97,7 @@ Static struct cdevsw ufm_cdevsw = { ufmioctl, nopoll, nommap, nostrategy, "ufm", UFM_CDEV_MAJOR, nodump, nopsize, 0, -#if (__FreeBSD_version < 500000) +#if (__FreeBSD_version < 500014) -1 #endif }; diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index c52995488210b..31726f5be3495 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -147,7 +147,7 @@ Static struct cdevsw ugen_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, -#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 /* bmaj */ -1 #endif }; diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index 0578133b70d20..0b9fa4feb6d96 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -154,7 +154,7 @@ Static struct cdevsw uhid_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, -#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 /* bmaj */ -1 #endif }; diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c index 477dc22011145..0c6844dee5a5e 100644 --- a/sys/dev/usb/ulpt.c +++ b/sys/dev/usb/ulpt.c @@ -146,7 +146,7 @@ Static struct cdevsw ulpt_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, -#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 /* bmaj */ -1 #endif }; diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 91a32d01b6bbf..1c1a1db7b1a63 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -172,7 +172,7 @@ static struct cdevsw umodem_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ D_TTY | D_KQFILTER, -#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 /* bmaj */ -1, #endif /* kqfilter */ ttykqfilter, diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index f42e7b5bfc771..0fdafdefd5853 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -158,7 +158,7 @@ Static struct cdevsw ums_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, -#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 /* bmaj */ -1 #endif }; diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index dc01ef3217637..8a1d2fff33b49 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -125,7 +125,7 @@ Static struct cdevsw urio_cdevsw = { urioioctl, nopoll, nommap, nostrategy, "urio", URIO_CDEV_MAJOR,nodump, nopsize, 0, -#if (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 -1 #endif }; diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index a96bf352fd950..1f375720241c7 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -145,7 +145,7 @@ struct cdevsw usb_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, -#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 /* bmaj */ -1 #endif }; diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c index 92163894d2d5e..ebe438962be90 100644 --- a/sys/dev/usb/uscanner.c +++ b/sys/dev/usb/uscanner.c @@ -253,7 +253,7 @@ Static struct cdevsw uscanner_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, -#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) +#if __FreeBSD_version < 500014 /* bmaj */ -1 #endif }; |
