summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-01-04 15:57:20 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-01-04 15:57:20 +0000
commit984a8044ad68e5774956962fa1d7ebf7ddba5f3d (patch)
treec7f47dd568566fd1dec44bc5cf6101fd0ade6316 /sys/arch/sparc64
parent46eb82d46bfbf6d1dab0dba5ace1591a95b6077b (diff)
add the full suite of USB devices: usb, uhid, ugen, ulpt, urio, ucom, uscanner
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/conf.c31
1 files changed, 23 insertions, 8 deletions
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index c55ddc8f165..faa34a2315e 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.17 2001/12/14 23:14:02 jason Exp $ */
+/* $OpenBSD: conf.c,v 1.18 2002/01/04 15:57:19 jason Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -108,6 +108,21 @@
#include "rd.h"
#include "ses.h"
+#include "usb.h"
+cdev_decl(usb);
+#include "uhid.h"
+cdev_decl(uhid);
+#include "ugen.h"
+cdev_decl(ugen);
+#include "ulpt.h"
+cdev_decl(ulpt);
+#include "urio.h"
+cdev_decl(urio);
+#include "ucom.h"
+cdev_decl(ucom);
+#include "uscanner.h"
+cdev_decl(uscanner);
+
#include "pf.h"
#include <altq/altqconf.h>
@@ -248,13 +263,13 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 87 */
cdev_notdef(), /* 88 */
cdev_notdef(), /* 89 */
- cdev_notdef(), /* 90 */
- cdev_notdef(), /* 91 */
- cdev_notdef(), /* 92 */
- cdev_notdef(), /* 93 */
- cdev_notdef(), /* 94 */
- cdev_notdef(), /* 95 */
- cdev_notdef(), /* 96 */
+ cdev_usb_init(NUSB,usb), /* 90: USB controller */
+ cdev_usbdev_init(NUHID,uhid), /* 91: USB generic HID */
+ cdev_ugen_init(NUGEN,ugen), /* 92: USB generic driver */
+ cdev_ulpt_init(NULPT,ulpt), /* 93: USB printers */
+ cdev_usbdev_init(NURIO,urio), /* 94: USB Diamond Rio 500 */
+ cdev_tty_init(NUCOM,ucom), /* 95: USB tty */
+ cdev_ugen_init(NUSCANNER,uscanner), /* 96: USB scanners */
cdev_notdef(), /* 97 */
cdev_notdef(), /* 98 */
cdev_notdef(), /* 99 */