Imported code from cfangmeier/pixel-dtb-firmware/netdev. Includes mostly
Ethernet functionality additions.