summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-01-10 18:42:54 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-01-10 18:42:54 +0000
commit910aa44d3b83a9b8499aa367bb1117572d1390d6 (patch)
tree8a044a96be7b26512d809593ab4478a2285e6ae4 /sys/dev/usb/usb.c
parent2850284f098bcd5c582370a3b4b97dbba890d7bf (diff)
downloadFreeBSD-src-910aa44d3b83a9b8499aa367bb1117572d1390d6.zip
FreeBSD-src-910aa44d3b83a9b8499aa367bb1117572d1390d6.tar.gz
Sync with NetBSD sources. Almost there. Mostly style fixes.
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 8af8da3..e214a82 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -1,5 +1,5 @@
-/* $NetBSD: usb.c,v 1.10 1999/01/03 01:00:56 augustss Exp $ */
-/* FreeBSD $Id$ */
+/* $NetBSD: usb.c,v 1.11 1999/01/08 11:58:25 augustss Exp $ */
+/* FreeBSD $Id: usb.c,v 1.5 1999/01/07 23:31:37 n_hibma Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -337,7 +337,7 @@ usbpoll(dev, events, p)
return (revents);
}
-#if defined(__NetBSD__)
+#if 0
int
usb_bus_count()
{
@@ -348,7 +348,9 @@ usb_bus_count()
n++;
return (n);
}
+#endif
+#if defined(__NetBSD__)
usbd_status
usb_get_bus_handle(n, h)
int n;
@@ -402,7 +404,6 @@ usb_needs_explore(bus)
int
usb_detach(device_t self)
{
- struct usb_softc *sc = device_get_softc(self);
char *devinfo = (char *) device_get_desc(self);
if (devinfo) {
OpenPOWER on IntegriCloud