summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uberry.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uberry.c')
-rw-r--r--sys/dev/usb/uberry.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/sys/dev/usb/uberry.c b/sys/dev/usb/uberry.c
index 7bb40bed067..cac18528e4a 100644
--- a/sys/dev/usb/uberry.c
+++ b/sys/dev/usb/uberry.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uberry.c,v 1.9 2007/06/12 16:26:36 mbalmer Exp $ */
+/* $OpenBSD: uberry.c,v 1.10 2007/06/14 10:11:15 mbalmer Exp $ */
/*-
* Copyright (c) 2006 Theo de Raadt <deraadt@openbsd.org>
@@ -49,7 +49,22 @@ struct usb_devno const uberry_devices[] = {
{ USB_VENDOR_RIM, USB_PRODUCT_RIM_BLACKBERRY }
};
-USB_DECLARE_DRIVER(uberry);
+int uberry_match(struct device *, void *, void *);
+void uberry_attach(struct device *, struct device *, void *);
+int uberry_detach(struct device *, int);
+int uberry_activate(struct device *, enum devact);
+
+struct cfdriver uberry_cd = {
+ NULL, "uberry", DV_DULL
+};
+
+const struct cfattach uberry_ca = {
+ sizeof(struct uberry_softc),
+ uberry_match,
+ uberry_attach,
+ uberry_detach,
+ uberry_activate,
+};
int
uberry_match(struct device *parent, void *match, void *aux)