summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ufm.c2
-rw-r--r--sys/dev/usb/ugen.c2
-rw-r--r--sys/dev/usb/uhid.c2
-rw-r--r--sys/dev/usb/ulpt.c2
-rw-r--r--sys/dev/usb/umodem.c2
-rw-r--r--sys/dev/usb/ums.c2
-rw-r--r--sys/dev/usb/urio.c2
-rw-r--r--sys/dev/usb/usb.c2
-rw-r--r--sys/dev/usb/uscanner.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c
index 3d92b12..b16c56f 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 c529954..31726f5 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 0578133..0b9fa4f 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 477dc22..0c6844d 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 91a32d0..1c1a1db 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 f42e7b5..0fdafde 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 dc01ef3..8a1d2ff 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 a96bf35..1f37572 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 9216389..ebe4389 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
};
OpenPOWER on IntegriCloud