diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index 3d92b12aba4..b16c56f255a 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 c5299548821..31726f5be34 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 0578133b70d..0b9fa4feb6d 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 477dc220111..0c6844dee5a 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 91a32d01b6b..1c1a1db7b1a 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 f42e7b5bfc7..0fdafdefd58 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 dc01ef32176..8a1d2fff33b 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 a96bf352fd9..1f375720241 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 92163894d2d..ebe438962be 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 };