[PATCH 2/3] net: xilinx: Move setup of 1G MAC to a function