mirror of
https://github.com/opnsense/src.git
synced 2026-05-21 17:40:35 -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
|
||
|---|---|---|
| .. | ||
| e6000sw.c | ||
| e6000swreg.h | ||
| e6060sw.c | ||