mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
This commit is contained in:
@@ -629,6 +629,12 @@ static int ax88179_eth_probe(struct udevice *dev)
|
||||
usb_dev = priv->ueth.pusb_dev;
|
||||
priv->maxpacketsize = usb_dev->epmaxpacketout[AX_ENDPOINT_OUT];
|
||||
|
||||
ret = asix_basic_reset(&priv->ueth, priv);
|
||||
if (ret) {
|
||||
printf("Failed to reset ethernet device\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Get the MAC address */
|
||||
ret = asix_read_mac(&priv->ueth, pdata->enetaddr);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user