mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
net: dsa: lan9303: define LAN9303_NUM_PORTS 3
Will be used instead of '3' in upcomming patches. Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
451d3ca0a0
commit
a368ca5378
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
#include "lan9303.h"
|
#include "lan9303.h"
|
||||||
|
|
||||||
|
#define LAN9303_NUM_PORTS 3
|
||||||
|
|
||||||
/* 13.2 System Control and Status Registers
|
/* 13.2 System Control and Status Registers
|
||||||
* Multiply register number by 4 to get address offset.
|
* Multiply register number by 4 to get address offset.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue