X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fnet.h;h=af8617bea6c51b5da319860c938ff64bb42aea6c;hb=47d79dfb0b72c81464c88aaa12769bf2926fb2b1;hp=afe79915ff4b51de144f9f31295e1ae7756358c0;hpb=8b0998bba4a9b84ba0566696dfbee57a6104075f;p=karo-tx-uboot.git diff --git a/include/net.h b/include/net.h index afe79915ff..af8617bea6 100644 --- a/include/net.h +++ b/include/net.h @@ -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