u16 N PHY Classifier(u16 mask, u16 val)

  1. on core rev 16, suspend MAC if not suspended
  2. read PHY reg 0xB0, and with 0x7, and with ~mask, or with (val & mask), and save

  3. MaskSet phy reg 0xB0 with mask 0xFFF8 and set with the calculated value above

  4. if suspended above, re-enable MAC
  5. Return the calculated value

save classifier

Just assume mask/value are both zero and return/save the calculated value.

Exported/Archived from the wiki to HTML on 2016-10-27