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

John Crispin john at phrozen.org
Sat Jul 23 14:21:32 PDT 2016



On 23/07/2016 23:02, p.wassi at gmx.at wrote:
> 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
> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
> 

yes please



More information about the Lede-dev mailing list