OpenCloudOS-Kernel/net/dsa
Ben Hutchings 34a430d7bd dsa: Allow core and drivers to be built as modules
Change the kconfig types to tristate and adjust the condition for
declaring net_device::dsa_ptr to allow for this.

Adjust the makefile so that if NET_DSA_MV88E6123_61_65=y and
NET_DSA_MV88E6131=m or vice versa then both drivers are built-in.  We
could leave these options as bool and make NET_DSA_MV88E6XXX a
user-selected option, but that would break existing configurations.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-26 14:48:16 -05:00
..
Kconfig dsa: Allow core and drivers to be built as modules 2011-11-26 14:48:16 -05:00
Makefile dsa: Allow core and drivers to be built as modules 2011-11-26 14:48:16 -05:00
dsa.c dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00
dsa_priv.h dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00
mv88e6xxx.c dsa: Define module author, description, license and aliases for drivers 2011-11-26 14:48:15 -05:00
mv88e6xxx.h mv88e6xxx: Combine mv88e6131 and mv88e612_61_65 drivers 2011-11-26 14:48:15 -05:00
mv88e6060.c dsa: Define module author, description, license and aliases for drivers 2011-11-26 14:48:15 -05:00
mv88e6123_61_65.c dsa: Define module author, description, license and aliases for drivers 2011-11-26 14:48:15 -05:00
mv88e6131.c dsa: Define module author, description, license and aliases for drivers 2011-11-26 14:48:15 -05:00
slave.c dsa: Export functions from core to modules 2011-11-26 14:48:14 -05:00
tag_dsa.c dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00
tag_edsa.c dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00
tag_trailer.c dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00