This website requires JavaScript.
Explore
Help
Register
Sign In
Minki
/
linux
Watch
1
Star
0
Fork
1
You've already forked linux
mirror of
https://github.com/torvalds/linux.git
synced
2024-12-26 04:42:12 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ec5612761c
linux
/
drivers
/
net
/
dsa
/
mv88e6xxx
/
Makefile
4 lines
100 B
Makefile
Raw
Normal View
History
Unescape
Escape
net: dsa: mv88e6xxx: fix module naming Since the mv88e6xxx.c file has been renamed, the driver compiled as a module is called chip.ko instead of mv88e6xxx.ko. Fix this. Fixes: fad09c73c270 ("net: dsa: mv88e6xxx: rename single-chip support") Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-02 18:45:32 +00:00
obj-$(CONFIG_NET_DSA_MV88E6XXX)
+=
mv88e6xxx.o
mv88e6xxx-objs
:=
chip.o
net: dsa: mv88e6xxx: move Global2 code Marvell chips are composed of multiple SMI devices. One of them at address 0x1C is called Global2. It provides an extended set of registers, used for interrupt control, EEPROM access, indirect PHY access (to bypass the PHY Polling Unit) and cross-chip related setup. Most chips have it, but some others don't (older ones such as 6060). Now that its related code is isolated in mv88e6xxx_g2_* functions, move it to its own global2.c file, making most of its setup code static. Document each registers in the meantime. Its compilation can be later avoided for chips without such registers. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-02 18:45:33 +00:00
mv88e6xxx-objs
+=
global2.o
Reference in New Issue
Copy Permalink