Add code to handle ethernet device