move ethernet hw init to init/uninit functions