summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-02-15 22:54:10 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-02-15 22:54:10 +0000
commitc67fd26e984ab205db6835ab41660bf2e2a32af3 (patch)
treef3911ffd1c740ea97235f2e9bebfffc7b73cf2e0 /sys
parent58746172638b840e31a260570a2b594f2d64eb1b (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ugen.c3
-rw-r--r--sys/dev/usb/uhid.c3
-rw-r--r--sys/dev/usb/ulpt.c3
-rw-r--r--sys/dev/usb/umodem.c3
-rw-r--r--sys/dev/usb/ums.c3
-rw-r--r--sys/dev/usb/usb.c3
6 files changed, 18 insertions, 0 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index 9a295094a7d3..ae18038a8594 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -147,6 +147,9 @@ Static struct cdevsw ugen_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
#endif
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 766098c995af..be7e8dc62e7d 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -154,6 +154,9 @@ Static struct cdevsw uhid_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
#endif
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index 6e48286a92cd..d53346984d29 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -146,6 +146,9 @@ Static struct cdevsw ulpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
#endif
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index be03540bd2c4..91a32d01b6bb 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -172,6 +172,9 @@ static struct cdevsw umodem_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1,
+#endif
/* kqfilter */ ttykqfilter,
};
#endif
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index 7aeee20c580f..f42e7b5bfc77 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -158,6 +158,9 @@ Static struct cdevsw ums_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
USB_DECLARE_DRIVER(ums);
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index f7fe5b726796..e54311c8c737 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -145,6 +145,9 @@ struct cdevsw usb_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
+ /* bmaj */ -1
+#endif
};
#endif