summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-09 08:43:01 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-09 08:43:01 +0000
commit5f0dd74a54be7f925d739a48223595e57a379cfb (patch)
treef0683896d4987db25bcd86616330025ba10d9f96 /sys
parenta90ae59dd6d24053d1b7be5936275362f7645085 (diff)
downloadFreeBSD-src-5f0dd74a54be7f925d739a48223595e57a379cfb.zip
FreeBSD-src-5f0dd74a54be7f925d739a48223595e57a379cfb.tar.gz
At least pretend to handle USB_GET_REPORT_ID.
Diffstat (limited to 'sys')
-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 68ee1d3..4095ee9 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);
}
OpenPOWER on IntegriCloud