finished porting ethernet driver for lwip