projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3201fce
)
net: Link in PHY drivers before others.
author
David S. Miller
<davem@davemloft.net>
Fri, 9 Oct 2009 21:24:36 +0000
(14:24 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Oct 2009 21:24:36 +0000
(14:24 -0700)
We need PHY drivers to initialize in a static kernel before
the MAC drivers that use them. So link them in first.
Based upon a report by Felix Radensky.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/Makefile
b/drivers/net/Makefile
index d866b8cf65d19b184574dbb3ba3463899e31ba4a..48d82e901aad978c553550b3a4ec17d3cbb6d9cc 100644
(file)
--- a/
drivers/net/Makefile
+++ b/
drivers/net/Makefile
@@
-2,6
+2,10
@@
# Makefile for the Linux network (ethercard) device drivers.
#
+obj-$(CONFIG_MII) += mii.o
+obj-$(CONFIG_MDIO) += mdio.o
+obj-$(CONFIG_PHYLIB) += phy/
+
obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o
obj-$(CONFIG_E1000) += e1000/
@@
-100,10
+104,6
@@
obj-$(CONFIG_SH_ETH) += sh_eth.o
# end link order section
#
-obj-$(CONFIG_MII) += mii.o
-obj-$(CONFIG_MDIO) += mdio.o
-obj-$(CONFIG_PHYLIB) += phy/
-
obj-$(CONFIG_SUNDANCE) += sundance.o
obj-$(CONFIG_HAMACHI) += hamachi.o
obj-$(CONFIG_NET) += Space.o loopback.o