summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-19 02:52:25 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-19 02:52:25 +0000
commite6cef5a58f07700fa78369b1225d82ae393577a5 (patch)
tree779c7d1bbbe44c8b92a21a97e63e39295a4c27d1 /sys/arch/macppc
parent8848369cd2c29363bf368d0ebb005b8e636a9823 (diff)
using cdev_ugen_init for all sorts of usb devices is just one pint less wrong than using cdev_decl_random for the same purpose
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/macppc/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/macppc/conf.c b/sys/arch/macppc/macppc/conf.c
index 174ea40e180..1d33e6b0cbf 100644
--- a/sys/arch/macppc/macppc/conf.c
+++ b/sys/arch/macppc/macppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.13 2002/06/11 03:43:46 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.14 2002/06/19 02:52:23 mickey Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -222,7 +222,7 @@ struct cdevsw cdevsw[] = {
/* End of reserved slots for isdn4bsd. */
cdev_usb_init(NUSB,usb), /* 61: USB controller */
cdev_usbdev_init(NUHID,uhid), /* 62: USB generic HID */
- cdev_ugen_init(NUGEN,ugen), /* 63: USB generic driver */
+ cdev_usbdev_init(NUGEN,ugen), /* 63: USB generic driver */
cdev_ulpt_init(NULPT,ulpt), /* 64: USB printers */
cdev_usbdev_init(NURIO,urio), /* 65: USB Diamond Rio 500 */
cdev_tty_init(NUCOM,ucom), /* 66: USB tty */
@@ -239,7 +239,7 @@ struct cdevsw cdevsw[] = {
#endif
cdev_altq_init(NALTQ,altq), /* 72: ALTQ control interface */
cdev_iop_init(NIOP,iop), /* 73: I2O IOP control interface */
- cdev_ugen_init(NUSCANNER,uscanner), /* 74: usb scanner */
+ cdev_usbdev_init(NUSCANNER,uscanner), /* 74: usb scanner */
};
int nchrdev = sizeof cdevsw / sizeof cdevsw[0];