mirror of
https://github.com/opnsense/src.git
synced 2026-05-13 09:44:52 -04:00
When accessing a register directly from etherswitchcfg one must specify
a register group(e.g. registers of portN) and the register offset within
the group. The latter is passed as the 5 least significant bits.
Extract the former by dividing the register address by 32, not by 5.
Approved by: mw(mentor)
Obtained from: Semihalf
Sponsored by: Stormshield
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35672
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| arswitch | ||
| e6000sw | ||
| infineon | ||
| ip17x | ||
| micrel | ||
| mtkswitch | ||
| rtl8366 | ||
| ukswitch | ||
| etherswitch.c | ||
| etherswitch.h | ||
| etherswitch_if.m | ||
| miiproxy.c | ||
| miiproxy.h | ||