summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 8131f4aa2f2..6dc30472289 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhid.c,v 1.21 2002/07/11 03:11:17 nate Exp $ */
+/* $OpenBSD: uhid.c,v 1.22 2002/07/25 02:18:10 nate Exp $ */
/* $NetBSD: uhid.c,v 1.51 2002/03/17 18:02:53 augustss Exp $ */
/*
@@ -132,7 +132,7 @@ USB_ATTACH(uhid)
struct uhidev_attach_arg *uha = (struct uhidev_attach_arg *)uaa;
int size, repid;
void *desc;
-
+
sc->sc_hdev.sc_intr = uhid_intr;
sc->sc_hdev.sc_parent = uha->parent;
sc->sc_hdev.sc_report_id = uha->reportid;
@@ -197,7 +197,7 @@ USB_DETACH(uhid)
vdevgone(maj, mn, mn, VCHR);
#if 0
- usbd_add_drv_event(USB_EVENT_DRIVER_DETACH,
+ usbd_add_drv_event(USB_EVENT_DRIVER_DETACH,
sc->sc_hdev.sc_parent->sc_udev,
USBDEV(sc->sc_hdev.sc_dev));
#endif
@@ -213,7 +213,7 @@ uhid_intr(struct uhidev *addr, void *data, u_int len)
#ifdef UHID_DEBUG
if (uhiddebug > 5) {
u_int32_t i;
-
+
DPRINTF(("uhid_intr: data ="));
for (i = 0; i < len; i++)
DPRINTF((" %02x", ((u_char *)data)[i]));
@@ -222,7 +222,7 @@ uhid_intr(struct uhidev *addr, void *data, u_int len)
#endif
(void)b_to_q(data, len, &sc->sc_q);
-
+
if (sc->sc_state & UHID_ASLP) {
sc->sc_state &= ~UHID_ASLP;
DPRINTFN(5, ("uhid_intr: waking %p\n", &sc->sc_q));
@@ -361,7 +361,7 @@ uhid_do_write(struct uhid_softc *sc, struct uio *uio, int flag)
usbd_status err;
DPRINTFN(1, ("uhidwrite\n"));
-
+
if (sc->sc_dying)
return (EIO);