version 1.15, 1999/01/10 11:13:36 |
version 1.16, 1999/04/21 19:02:26 |
Line 358 uhidread(dev, uio, flag) |
|
Line 358 uhidread(dev, uio, flag) |
|
DPRINTFN(1, ("uhidread immed\n")); |
DPRINTFN(1, ("uhidread immed\n")); |
|
|
r = usbd_get_report(sc->sc_iface, UHID_INPUT_REPORT, |
r = usbd_get_report(sc->sc_iface, UHID_INPUT_REPORT, |
sc->sc_iid, sc->sc_ibuf, sc->sc_isize); |
sc->sc_iid, buffer, sc->sc_isize); |
if (r != USBD_NORMAL_COMPLETION) |
if (r != USBD_NORMAL_COMPLETION) |
return (EIO); |
return (EIO); |
return (uiomove(buffer, sc->sc_isize, uio)); |
return (uiomove(buffer, sc->sc_isize, uio)); |