mirror of
https://github.com/ipxe/ipxe
synced 2026-01-02 09:52:49 +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:
@@ -979,8 +979,9 @@ static int smsc75xx_probe ( struct usb_function *func,
|
||||
smsc75xx->netdev = netdev;
|
||||
usbnet_init ( &smsc75xx->usbnet, func, &smsc75xx_intr_operations,
|
||||
&smsc75xx_in_operations, &smsc75xx_out_operations );
|
||||
usb_refill_init ( &smsc75xx->usbnet.intr, 0, SMSC75XX_INTR_MAX_FILL );
|
||||
usb_refill_init ( &smsc75xx->usbnet.in, SMSC75XX_IN_MTU,
|
||||
usb_refill_init ( &smsc75xx->usbnet.intr, 0, 0,
|
||||
SMSC75XX_INTR_MAX_FILL );
|
||||
usb_refill_init ( &smsc75xx->usbnet.in, 0, SMSC75XX_IN_MTU,
|
||||
SMSC75XX_IN_MAX_FILL );
|
||||
mii_init ( &smsc75xx->mii, &smsc75xx_mii_operations );
|
||||
DBGC ( smsc75xx, "SMSC75XX %p on %s\n", smsc75xx, func->name );
|
||||
|
||||
Reference in New Issue
Block a user