]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/net.h
arm: spear: Move to common SPL infrastructure
[karo-tx-uboot.git] / include / net.h
index afe79915ff4b51de144f9f31295e1ae7756358c0..af8617bea6c51b5da319860c938ff64bb42aea6c 100644 (file)
@@ -119,7 +119,9 @@ enum eth_recv_flags {
  * mcast: Join or leave a multicast group (for TFTP) - optional
  * write_hwaddr: Write a MAC address to the hardware (used to pass it to Linux
  *              on some platforms like ARM). This function expects the
- *              eth_pdata::enetaddr field to be populated - optional
+ *              eth_pdata::enetaddr field to be populated. The method can
+ *              return -ENOSYS to indicate that this is not implemented for
+                this hardware - optional.
  * read_rom_hwaddr: Some devices have a backup of the MAC address stored in a
  *                 ROM on the board. This is how the driver should expose it
  *                 to the network stack. This function should fill in the