summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-10 21:41:52 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-10 21:41:52 +0000
commit0bc12f2e490f35fa1d5c0b9969af5d97bd4e8220 (patch)
treeee5d81babe74b3e53d95b6ea23082bb1f3554d61 /sys/dev
parent9cc3326cf95795347c85a5bc6d7261d7a08b6fa5 (diff)
no provate cdev_decl()s, they are in sys/conf.h now
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ucom.c4
-rw-r--r--sys/dev/usb/ugen.c4
-rw-r--r--sys/dev/usb/uhid.c4
-rw-r--r--sys/dev/usb/ulpt.c4
-rw-r--r--sys/dev/usb/urio.c4
-rw-r--r--sys/dev/usb/usb.c4
-rw-r--r--sys/dev/usb/uscanner.c4
7 files changed, 11 insertions, 17 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index 8641049c3e6..ba5017983de 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucom.c,v 1.12 2002/07/10 03:09:34 nate Exp $ */
+/* $OpenBSD: ucom.c,v 1.13 2002/07/10 21:41:50 mickey Exp $ */
/* $NetBSD: ucom.c,v 1.42 2002/03/17 19:41:04 atatat Exp $ */
/*
@@ -143,8 +143,6 @@ struct ucom_softc {
#endif
};
-cdev_decl(ucom);
-
Static void ucom_cleanup(struct ucom_softc *);
Static void ucom_hwiflow(struct ucom_softc *);
Static int ucomparam(struct tty *, struct termios *);
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index 16e11e3abe0..fffb0c2ee9b 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ugen.c,v 1.22 2002/07/09 17:50:14 nate Exp $ */
+/* $OpenBSD: ugen.c,v 1.23 2002/07/10 21:41:50 mickey Exp $ */
/* $NetBSD: ugen.c,v 1.58 2002/02/20 20:30:12 christos Exp $ */
/* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -120,7 +120,7 @@ struct ugen_softc {
u_char sc_dying;
};
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__)
cdev_decl(ugen);
#elif defined(__FreeBSD__)
d_open_t ugenopen;
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 146a6ad44c7..ee28037c5cc 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhid.c,v 1.19 2002/05/09 15:06:29 nate Exp $ */
+/* $OpenBSD: uhid.c,v 1.20 2002/07/10 21:41:50 mickey Exp $ */
/* $NetBSD: uhid.c,v 1.51 2002/03/17 18:02:53 augustss Exp $ */
/*
@@ -101,8 +101,6 @@ struct uhid_softc {
#define UHID_CHUNK 128 /* chunk size for read */
#define UHID_BSIZE 1020 /* buffer size */
-cdev_decl(uhid);
-
Static void uhid_intr(struct uhidev *, void *, u_int len);
Static int uhid_do_read(struct uhid_softc *, struct uio *uio, int);
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index b10baefbd4c..f2fa020887c 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ulpt.c,v 1.10 2002/05/07 18:08:04 nate Exp $ */
+/* $OpenBSD: ulpt.c,v 1.11 2002/07/10 21:41:51 mickey Exp $ */
/* $NetBSD: ulpt.c,v 1.49 2002/02/25 22:39:01 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ulpt.c,v 1.24 1999/11/17 22:33:44 n_hibma Exp $ */
@@ -124,7 +124,7 @@ struct ulpt_softc {
#endif
};
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__)
cdev_decl(ulpt);
#elif defined(__FreeBSD__)
Static d_open_t ulptopen;
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index acca264e49e..d1d0e25f699 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: urio.c,v 1.11 2002/07/10 13:18:10 nate Exp $ */
+/* $OpenBSD: urio.c,v 1.12 2002/07/10 21:41:51 mickey Exp $ */
/* $NetBSD: urio.c,v 1.11 2002/02/11 15:11:49 augustss Exp $ */
/*
@@ -82,7 +82,7 @@ int uriodebug = 0;
#endif
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__)
cdev_decl(urio);
#elif defined(__FreeBSD__)
d_open_t urioopen;
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 1d5c4ca370b..00804d71234 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb.c,v 1.20 2002/07/09 17:41:02 nate Exp $ */
+/* $OpenBSD: usb.c,v 1.21 2002/07/10 21:41:51 mickey Exp $ */
/* $NetBSD: usb.c,v 1.53 2001/01/23 17:04:30 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb.c,v 1.20 1999/11/17 22:33:46 n_hibma Exp $ */
@@ -103,8 +103,6 @@ struct usb_softc {
char sc_dying;
};
-cdev_decl(usb);
-
Static void usb_discover(void *);
Static void usb_create_event_thread(void *);
Static void usb_event_thread(void *);
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index e28cf00134c..967e14c1c7b 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uscanner.c,v 1.8 2002/07/09 16:28:02 nate Exp $ */
+/* $OpenBSD: uscanner.c,v 1.9 2002/07/10 21:41:51 mickey Exp $ */
/* $NetBSD: uscanner.c,v 1.29 2002/06/18 00:32:30 augustss Exp $ */
/*
@@ -235,7 +235,7 @@ struct uscanner_softc {
u_char sc_dying;
};
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__)
cdev_decl(uscanner);
#elif defined(__FreeBSD__)
d_open_t uscanneropen;