(07/28/14 23:24), Ryota Ozaki wrote:
Module Name: src Committed By: ozaki-r Date: Mon Jul 28 14:24:48 UTC 2014 Modified Files: src/sys/net: if.c if_ether.h if_ethersubr.c Log Message: Add a mutex for global variables of if_ethersubr.c To initialize the mutex, we introduce etherinit that is called from ifinit1.
etherinit() would be undefined if kernel does not have any ethernet interfaces like BEAGLEBOARDXM. should be wrapped with something like #if NETHER > 0 ? -- t-hash