summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-03-11 16:22:15 +0000
committerjoe <joe@FreeBSD.org>2002-03-11 16:22:15 +0000
commit4e03c97b1dee4aa952b98d245c877350706f2121 (patch)
treeb49c659e09f88b9b1f9f65a5e26547d7541963b3 /sys/dev
parent6597c656f9547b1f96a98a274d5d0b6b8b5bd9a0 (diff)
downloadFreeBSD-src-4e03c97b1dee4aa952b98d245c877350706f2121.zip
FreeBSD-src-4e03c97b1dee4aa952b98d245c877350706f2121.tar.gz
Be more specific about when block major numbers disappeared from
the cdev switch.
Diffstat (limited to 'sys/dev')
-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