mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 15:25:23 +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:
@@ -437,8 +437,8 @@ static int ecm_probe ( struct usb_function *func,
|
||||
ecm->netdev = netdev;
|
||||
usbnet_init ( &ecm->usbnet, func, &ecm_intr_operations,
|
||||
&ecm_in_operations, &ecm_out_operations );
|
||||
usb_refill_init ( &ecm->usbnet.intr, 0, ECM_INTR_MAX_FILL );
|
||||
usb_refill_init ( &ecm->usbnet.in, ECM_IN_MTU, ECM_IN_MAX_FILL );
|
||||
usb_refill_init ( &ecm->usbnet.intr, 0, 0, ECM_INTR_MAX_FILL );
|
||||
usb_refill_init ( &ecm->usbnet.in, 0, ECM_IN_MTU, ECM_IN_MAX_FILL );
|
||||
DBGC ( ecm, "ECM %p on %s\n", ecm, func->name );
|
||||
|
||||
/* Describe USB network device */
|
||||
|
||||
Reference in New Issue
Block a user