diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-09 08:43:01 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-09 08:43:01 +0000 |
commit | efddc6c820e74ba3b735b2939a0ce6c3c519d54c (patch) | |
tree | f0683896d4987db25bcd86616330025ba10d9f96 /sys/dev/usb/uhid.c | |
parent | 473e34ce2282155edb41b0c8f8c8b446f49fcc7f (diff) | |
download | src-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.c | 4 |
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); } |