mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 02:52:36 +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:
@@ -1140,8 +1140,9 @@ static int smsc95xx_probe ( struct usb_function *func,
|
||||
smsc95xx->netdev = netdev;
|
||||
usbnet_init ( &smsc95xx->usbnet, func, &smsc95xx_intr_operations,
|
||||
&smsc95xx_in_operations, &smsc95xx_out_operations );
|
||||
usb_refill_init ( &smsc95xx->usbnet.intr, 0, SMSC95XX_INTR_MAX_FILL );
|
||||
usb_refill_init ( &smsc95xx->usbnet.in, SMSC95XX_IN_MTU,
|
||||
usb_refill_init ( &smsc95xx->usbnet.intr, 0, 0,
|
||||
SMSC95XX_INTR_MAX_FILL );
|
||||
usb_refill_init ( &smsc95xx->usbnet.in, 0, SMSC95XX_IN_MTU,
|
||||
SMSC95XX_IN_MAX_FILL );
|
||||
mii_init ( &smsc95xx->mii, &smsc95xx_mii_operations );
|
||||
DBGC ( smsc95xx, "SMSC95XX %p on %s\n", smsc95xx, func->name );
|
||||
|
||||
Reference in New Issue
Block a user