mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
1.xtensa/esp32s3: configure the number of universal management
(IEEE) MAC addresses when there are multipleinterfaces. 2.Optimize Lan9250 to adapt to ESP32S3 universalMAC address.
This commit is contained in:
@@ -2472,7 +2472,11 @@ int lan9250_initialize(
|
||||
|
||||
if (lower->getmac)
|
||||
{
|
||||
lower->getmac(lower, priv->dev.d_mac.ether.ether_addr_octet);
|
||||
if (lower->getmac(lower, priv->dev.d_mac.ether.ether_addr_octet) < 0)
|
||||
{
|
||||
nerr("ERROR: Failed read MAC address\n");
|
||||
return -EAGAIN;
|
||||
}
|
||||
}
|
||||
|
||||
/* Register the device with the OS so that socket IOCTLs can be performed */
|
||||
|
||||
Reference in New Issue
Block a user