aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhid.c
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-09 08:43:01 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-09 08:43:01 +0000
commitefddc6c820e74ba3b735b2939a0ce6c3c519d54c (patch)
treef0683896d4987db25bcd86616330025ba10d9f96 /sys/dev/usb/uhid.c
parent473e34ce2282155edb41b0c8f8c8b446f49fcc7f (diff)
downloadsrc-efddc6c820e74ba3b735b2939a0ce6c3c519d54c.tar.gz
src-efddc6c820e74ba3b735b2939a0ce6c3c519d54c.zip
At least pretend to handle USB_GET_REPORT_ID.
Notes
Notes: svn path=/head/; revision=113284
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 68ee1d395580..4095ee9b893e 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -691,6 +691,10 @@ uhid_do_ioctl(struct uhid_softc *sc, u_long cmd, caddr_t addr, int flag,
return (EIO);
break;
+ case USB_GET_REPORT_ID:
+ *(int *)addr = 0; /* XXX: we only support reportid 0? */
+ break;
+
default:
return (EINVAL);
}