summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ulpt.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-01-12 01:18:38 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-01-12 01:18:38 +0000
commit7f8eaf904c5ee3eb34f91f40c5bb9eff2a958f5f (patch)
tree94454001d074ec2975b6902828afe109e5dafe42 /sys/dev/usb/ulpt.c
parentd408b948a58f90fce7dc3a2a437937f5d505f8af (diff)
downloadFreeBSD-src-7f8eaf904c5ee3eb34f91f40c5bb9eff2a958f5f.zip
FreeBSD-src-7f8eaf904c5ee3eb34f91f40c5bb9eff2a958f5f.tar.gz
Changed DRIVER_MODULE to CDEV_DRIVER_MODULE
Diffstat (limited to 'sys/dev/usb/ulpt.c')
-rw-r--r--sys/dev/usb/ulpt.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index bbd6521..e3f2657 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -1,5 +1,5 @@
/* $NetBSD: ulpt.c,v 1.10 1999/01/08 11:58:25 augustss Exp $ */
-/* FreeBSD $Id: ulpt.c,v 1.5 1999/01/10 18:42:52 n_hibma Exp $ */
+/* $FreeBSD$ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
#ifdef USB_DEBUG
#define DPRINTF(x) if (ulptdebug) printf x
#define DPRINTFN(n,x) if (ulptdebug>(n)) printf x
-int ulptdebug = 0;
+int ulptdebug = 1;
#else
#define DPRINTF(x)
#define DPRINTFN(n,x)
@@ -446,5 +446,6 @@ ulpt_detach(device_t self)
return 0;
}
-DRIVER_MODULE(ulpt, usb, ulpt_driver, ulpt_devclass, usbd_driver_load, 0);
+CDEV_DRIVER_MODULE(ulpt, usb, ulpt_driver, ulpt_devclass,
+ ULPT_CDEV_MAJOR, ulpt_cdevsw, usbd_driver_load, 0);
#endif
OpenPOWER on IntegriCloud