enetc_port_mac_wr(si, ENETC_PM0_CMD_CFG, val);
}
-static void enetc_configure_port_pmac(struct enetc_hw *hw)
-{
- u32 temp;
-
- temp = enetc_port_rd(hw, ENETC_PFPMR);
- enetc_port_wr(hw, ENETC_PFPMR, temp | ENETC_PFPMR_PMACE);
-
- temp = enetc_port_rd(hw, ENETC_MMCSR);
- enetc_port_wr(hw, ENETC_MMCSR, temp | ENETC_MMCSR_ME);
-}
-
static void enetc_configure_port(struct enetc_pf *pf)
{
u8 hash_key[ENETC_RSSHASH_KEY_SIZE];
struct enetc_hw *hw = &pf->si->hw;
- enetc_configure_port_pmac(hw);
-
enetc_configure_port_mac(pf->si);
enetc_port_si_configure(pf->si);