At least pretend to handle USB_GET_REPORT_ID.

This commit is contained in:
Matthew N. Dodd 2003-04-09 08:43:01 +00:00
parent 473e34ce22
commit efddc6c820
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113284

View File

@ -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);
}