[PATCH openEuler-5.10 071/100] net: stmmac: fix get_hw_feature() on old hardware