mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[usb] Allow USB endpoints to specify a reserved header length for refills
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -447,8 +447,8 @@ static int acm_probe ( struct usb_function *func,
|
||||
acm->rndis = rndis;
|
||||
usbnet_init ( &acm->usbnet, func, &acm_intr_operations,
|
||||
&acm_in_operations, &acm_out_operations );
|
||||
usb_refill_init ( &acm->usbnet.intr, 0, ACM_INTR_MAX_FILL );
|
||||
usb_refill_init ( &acm->usbnet.in, ACM_IN_MTU, ACM_IN_MAX_FILL );
|
||||
usb_refill_init ( &acm->usbnet.intr, 0, 0, ACM_INTR_MAX_FILL );
|
||||
usb_refill_init ( &acm->usbnet.in, 0, ACM_IN_MTU, ACM_IN_MAX_FILL );
|
||||
|
||||
/* Describe USB network device */
|
||||
if ( ( rc = usbnet_describe ( &acm->usbnet, config ) ) != 0 ) {
|
||||
|
||||
Reference in New Issue
Block a user