Lines 324-330
static const struct usb_config ubt_config[UBT_N_TRANSFER] =
Link Here
|
324 |
.callback = &ubt_ctrl_write_callback, |
324 |
.callback = &ubt_ctrl_write_callback, |
325 |
.timeout = 5000, /* 5 seconds */ |
325 |
.timeout = 5000, /* 5 seconds */ |
326 |
}, |
326 |
}, |
327 |
|
327 |
#if 0 |
328 |
/* |
328 |
/* |
329 |
* Interface #1 |
329 |
* Interface #1 |
330 |
*/ |
330 |
*/ |
Lines 373-378
static const struct usb_config ubt_config[UBT_N_TRANSFER] =
Link Here
|
373 |
.flags = { .short_xfer_ok = 1, }, |
373 |
.flags = { .short_xfer_ok = 1, }, |
374 |
.callback = &ubt_isoc_write_callback, |
374 |
.callback = &ubt_isoc_write_callback, |
375 |
}, |
375 |
}, |
|
|
376 |
#endif |
376 |
}; |
377 |
}; |
377 |
|
378 |
|
378 |
/* |
379 |
/* |
Lines 1532-1538
ubt_task(void *context, int pending)
Link Here
|
1532 |
|
1533 |
|
1533 |
ubt_xfer_start(sc, UBT_IF_0_INTR_DT_RD); |
1534 |
ubt_xfer_start(sc, UBT_IF_0_INTR_DT_RD); |
1534 |
ubt_xfer_start(sc, UBT_IF_0_BULK_DT_RD); |
1535 |
ubt_xfer_start(sc, UBT_IF_0_BULK_DT_RD); |
1535 |
|
1536 |
#if 0 |
1536 |
/* |
1537 |
/* |
1537 |
* Interface #1 |
1538 |
* Interface #1 |
1538 |
* Start both read and write isoc. transfers by default. |
1539 |
* Start both read and write isoc. transfers by default. |
Lines 1544-1550
ubt_task(void *context, int pending)
Link Here
|
1544 |
ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_RD2); |
1545 |
ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_RD2); |
1545 |
ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR1); |
1546 |
ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR1); |
1546 |
ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR2); |
1547 |
ubt_xfer_start(sc, UBT_IF_1_ISOC_DT_WR2); |
1547 |
|
1548 |
#endif |
1548 |
mtx_unlock(&sc->sc_if_mtx); |
1549 |
mtx_unlock(&sc->sc_if_mtx); |
1549 |
} |
1550 |
} |
1550 |
|
1551 |
|