Initialize some registers, allocate basic resources CORE-14675
Based on the rtl8139 driver written by Cameron Gutman CORE-14675