[LEDE-DEV] [PATCH] ramips: add get_port_stats to mt7530 swconfig driver

p.wassi at gmx.at p.wassi at gmx.at
Sat Jul 23 14:02:56 PDT 2016


Hi John,

> please add macros for the register offsets in the header file and use
> them here. there should be 2 defines for the registers and one for the
> port offset.

may I then also do this for the existing functions?
(I just copied code from get_port_link(), which also uses those
hard-coded magic constants)

Best regards,
P. Wassi



More information about the Lede-dev mailing list