diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-04-09 08:43:01 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-04-09 08:43:01 +0000 |
commit | 5f0dd74a54be7f925d739a48223595e57a379cfb (patch) | |
tree | f0683896d4987db25bcd86616330025ba10d9f96 /sys | |
parent | a90ae59dd6d24053d1b7be5936275362f7645085 (diff) | |
download | FreeBSD-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.c | 4 |
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); } |