-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These files have circular dependencies, so if we make DSA modular then they must be built into the same module. Therefore, link them together and merge their respective module init and exit functions. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Ben Hutchings
authored and
David S. Miller
committed
Nov 26, 2011
1 parent
ad293b8
commit 7df899c
Showing
6 changed files
with
38 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# the core | ||
obj-$(CONFIG_NET_DSA) += dsa_core.o | ||
dsa_core-y += dsa.o slave.o | ||
|
||
# tagging formats | ||
obj-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o | ||
obj-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o | ||
obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o | ||
dsa_core-$(CONFIG_NET_DSA_TAG_DSA) += tag_dsa.o | ||
dsa_core-$(CONFIG_NET_DSA_TAG_EDSA) += tag_edsa.o | ||
dsa_core-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o | ||
|
||
# switch drivers | ||
obj-$(CONFIG_NET_DSA_MV88E6XXX) += mv88e6xxx.o | ||
obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o | ||
obj-$(CONFIG_NET_DSA_MV88E6123_61_65) += mv88e6123_61_65.o | ||
obj-$(CONFIG_NET_DSA_MV88E6131) += mv88e6131.o | ||
|
||
# the core | ||
obj-$(CONFIG_NET_DSA) += dsa.o slave.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters