summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uipaq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uipaq.c')
-rw-r--r--sys/dev/usb/uipaq.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/sys/dev/usb/uipaq.c b/sys/dev/usb/uipaq.c
index b6d44150d3b..12af2321ab0 100644
--- a/sys/dev/usb/uipaq.c
+++ b/sys/dev/usb/uipaq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipaq.c,v 1.11 2007/06/13 06:25:03 mbalmer Exp $ */
+/* $OpenBSD: uipaq.c,v 1.12 2007/06/14 10:11:16 mbalmer Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -130,7 +130,22 @@ static const struct uipaq_type uipaq_devs[] = {
#define uipaq_lookup(v, p) ((struct uipaq_type *)usb_lookup(uipaq_devs, v, p))
-USB_DECLARE_DRIVER(uipaq);
+int uipaq_match(struct device *, void *, void *);
+void uipaq_attach(struct device *, struct device *, void *);
+int uipaq_detach(struct device *, int);
+int uipaq_activate(struct device *, enum devact);
+
+struct cfdriver uipaq_cd = {
+ NULL, "uipaq", DV_DULL
+};
+
+const struct cfattach uipaq_ca = {
+ sizeof(struct uipaq_softc),
+ uipaq_match,
+ uipaq_attach,
+ uipaq_detach,
+ uipaq_activate,
+};
int
uipaq_match(struct device *parent, void *match, void *aux)