diff options
author | David S. Miller <davem@davemloft.net> | 2009-10-09 17:24:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-09 17:24:36 -0400 |
commit | 10c435f18b8cb78a5870c08d52955594f5ec9c31 (patch) | |
tree | 4815ecd0de44609b5187e67450a8e8a8cf0bb9a8 | |
parent | 3201fce0b2b12e4dc9e26dcf09bdb0652ff522db (diff) |
net: Link in PHY drivers before others.
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>
-rw-r--r-- | drivers/net/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index d866b8cf65d1..48d82e901aad 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -2,6 +2,10 @@ | |||
2 | # Makefile for the Linux network (ethercard) device drivers. | 2 | # Makefile for the Linux network (ethercard) device drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_MII) += mii.o | ||
6 | obj-$(CONFIG_MDIO) += mdio.o | ||
7 | obj-$(CONFIG_PHYLIB) += phy/ | ||
8 | |||
5 | obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o | 9 | obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o |
6 | 10 | ||
7 | obj-$(CONFIG_E1000) += e1000/ | 11 | obj-$(CONFIG_E1000) += e1000/ |
@@ -100,10 +104,6 @@ obj-$(CONFIG_SH_ETH) += sh_eth.o | |||
100 | # end link order section | 104 | # end link order section |
101 | # | 105 | # |
102 | 106 | ||
103 | obj-$(CONFIG_MII) += mii.o | ||
104 | obj-$(CONFIG_MDIO) += mdio.o | ||
105 | obj-$(CONFIG_PHYLIB) += phy/ | ||
106 | |||
107 | obj-$(CONFIG_SUNDANCE) += sundance.o | 107 | obj-$(CONFIG_SUNDANCE) += sundance.o |
108 | obj-$(CONFIG_HAMACHI) += hamachi.o | 108 | obj-$(CONFIG_HAMACHI) += hamachi.o |
109 | obj-$(CONFIG_NET) += Space.o loopback.o | 109 | obj-$(CONFIG_NET) += Space.o loopback.o |