1 |
1275 |
phoenix |
# File: drivers/net/Makefile
|
2 |
|
|
#
|
3 |
|
|
# Makefile for the Linux network (ethercard) device drivers.
|
4 |
|
|
#
|
5 |
|
|
|
6 |
|
|
obj-y :=
|
7 |
|
|
obj-m :=
|
8 |
|
|
obj-n :=
|
9 |
|
|
obj- :=
|
10 |
|
|
|
11 |
|
|
mod-subdirs := appletalk arcnet fc irda tokenring pcmcia wireless wan
|
12 |
|
|
|
13 |
|
|
O_TARGET := net.o
|
14 |
|
|
|
15 |
|
|
# All of the (potential) objects that export symbols.
|
16 |
|
|
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
|
17 |
|
|
|
18 |
|
|
export-objs := 8390.o arlan.o aironet4500_core.o aironet4500_card.o \
|
19 |
|
|
ppp_async.o ppp_generic.o slhc.o pppox.o auto_irq.o \
|
20 |
|
|
net_init.o mii.o
|
21 |
|
|
list-multi := rcpci.o
|
22 |
|
|
rcpci-objs := rcpci45.o rclanmtl.o
|
23 |
|
|
|
24 |
|
|
ifeq ($(CONFIG_TULIP),y)
|
25 |
|
|
obj-y += tulip/tulip.o
|
26 |
|
|
endif
|
27 |
|
|
|
28 |
|
|
obj-$(CONFIG_OCP_NET) += ibm_emac/ocp.o
|
29 |
|
|
|
30 |
|
|
ifeq ($(CONFIG_E1000),y)
|
31 |
|
|
obj-y += e1000/e1000.o
|
32 |
|
|
endif
|
33 |
|
|
|
34 |
|
|
ifeq ($(CONFIG_BONDING),y)
|
35 |
|
|
obj-y += bonding/bonding.o
|
36 |
|
|
endif
|
37 |
|
|
|
38 |
|
|
ifeq ($(CONFIG_ISDN_PPP),y)
|
39 |
|
|
obj-$(CONFIG_ISDN) += slhc.o
|
40 |
|
|
endif
|
41 |
|
|
|
42 |
|
|
subdir-$(CONFIG_NET_PCMCIA) += pcmcia
|
43 |
|
|
subdir-$(CONFIG_NET_WIRELESS) += wireless
|
44 |
|
|
subdir-$(CONFIG_TULIP) += tulip
|
45 |
|
|
subdir-$(CONFIG_OCP_NET) += ibm_emac
|
46 |
|
|
subdir-$(CONFIG_IRDA) += irda
|
47 |
|
|
subdir-$(CONFIG_TR) += tokenring
|
48 |
|
|
subdir-$(CONFIG_WAN) += wan
|
49 |
|
|
subdir-$(CONFIG_NET_FC) += fc
|
50 |
|
|
subdir-$(CONFIG_ARCNET) += arcnet
|
51 |
|
|
subdir-$(CONFIG_DEV_APPLETALK) += appletalk
|
52 |
|
|
subdir-$(CONFIG_SK98LIN) += sk98lin
|
53 |
|
|
subdir-$(CONFIG_SKFP) += skfp
|
54 |
|
|
subdir-$(CONFIG_E100) += e100
|
55 |
|
|
subdir-$(CONFIG_E1000) += e1000
|
56 |
|
|
subdir-$(CONFIG_BONDING) += bonding
|
57 |
|
|
|
58 |
|
|
#
|
59 |
|
|
# link order important here
|
60 |
|
|
#
|
61 |
|
|
obj-$(CONFIG_PLIP) += plip.o
|
62 |
|
|
|
63 |
|
|
obj-$(CONFIG_ROADRUNNER) += rrunner.o
|
64 |
|
|
|
65 |
|
|
obj-$(CONFIG_HAPPYMEAL) += sunhme.o
|
66 |
|
|
obj-$(CONFIG_SUNLANCE) += sunlance.o
|
67 |
|
|
obj-$(CONFIG_SUNQE) += sunqe.o
|
68 |
|
|
obj-$(CONFIG_SUNBMAC) += sunbmac.o
|
69 |
|
|
obj-$(CONFIG_MYRI_SBUS) += myri_sbus.o
|
70 |
|
|
obj-$(CONFIG_SUNGEM) += sungem.o
|
71 |
|
|
|
72 |
|
|
obj-$(CONFIG_MACE) += mace.o
|
73 |
|
|
obj-$(CONFIG_BMAC) += bmac.o
|
74 |
|
|
obj-$(CONFIG_GMAC) += gmac.o
|
75 |
|
|
|
76 |
|
|
obj-$(CONFIG_OAKNET) += oaknet.o 8390.o
|
77 |
|
|
|
78 |
|
|
obj-$(CONFIG_DGRS) += dgrs.o
|
79 |
|
|
obj-$(CONFIG_RCPCI) += rcpci.o
|
80 |
|
|
obj-$(CONFIG_VORTEX) += 3c59x.o mii.o
|
81 |
|
|
obj-$(CONFIG_TYPHOON) += typhoon.o
|
82 |
|
|
obj-$(CONFIG_NE2K_PCI) += ne2k-pci.o 8390.o
|
83 |
|
|
obj-$(CONFIG_PCNET32) += pcnet32.o mii.o
|
84 |
|
|
obj-$(CONFIG_EEPRO100) += eepro100.o mii.o
|
85 |
|
|
obj-$(CONFIG_TLAN) += tlan.o
|
86 |
|
|
obj-$(CONFIG_EPIC100) += epic100.o mii.o
|
87 |
|
|
obj-$(CONFIG_SIS900) += sis900.o mii.o
|
88 |
|
|
obj-$(CONFIG_DM9102) += dmfe.o
|
89 |
|
|
obj-$(CONFIG_YELLOWFIN) += yellowfin.o
|
90 |
|
|
obj-$(CONFIG_ACENIC) += acenic.o
|
91 |
|
|
obj-$(CONFIG_VETH) += veth.o
|
92 |
|
|
obj-$(CONFIG_NATSEMI) += natsemi.o
|
93 |
|
|
obj-$(CONFIG_NS83820) += ns83820.o
|
94 |
|
|
obj-$(CONFIG_STNIC) += stnic.o 8390.o
|
95 |
|
|
obj-$(CONFIG_FEALNX) += fealnx.o mii.o
|
96 |
|
|
obj-$(CONFIG_TC35815) += tc35815.o
|
97 |
|
|
obj-$(CONFIG_TIGON3) += tg3.o
|
98 |
|
|
|
99 |
|
|
ifeq ($(CONFIG_E100),y)
|
100 |
|
|
obj-y += e100/e100.o
|
101 |
|
|
endif
|
102 |
|
|
|
103 |
|
|
ifeq ($(CONFIG_SK98LIN),y)
|
104 |
|
|
obj-y += sk98lin/sk98lin.o
|
105 |
|
|
endif
|
106 |
|
|
|
107 |
|
|
ifeq ($(CONFIG_SKFP),y)
|
108 |
|
|
obj-y += skfp/skfp.o
|
109 |
|
|
endif
|
110 |
|
|
|
111 |
|
|
obj-$(CONFIG_VIA_RHINE) += via-rhine.o mii.o
|
112 |
|
|
obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o mii.o
|
113 |
|
|
|
114 |
|
|
#
|
115 |
|
|
# end link order section
|
116 |
|
|
#
|
117 |
|
|
|
118 |
|
|
obj-$(CONFIG_GALILEO_64240_ETH) += gt64240eth.o
|
119 |
|
|
obj-$(CONFIG_MV64340_ETH) += mv64340_eth.o
|
120 |
|
|
obj-$(CONFIG_AIRONET4500) += aironet4500_core.o
|
121 |
|
|
obj-$(CONFIG_AIRONET4500_CS) += aironet4500_core.o
|
122 |
|
|
obj-$(CONFIG_AIRONET4500_NONCS) += aironet4500_card.o
|
123 |
|
|
obj-$(CONFIG_AIRONET4500_PROC) += aironet4500_proc.o
|
124 |
|
|
obj-$(CONFIG_AIRONET4500_CS) += aironet4500_proc.o
|
125 |
|
|
|
126 |
|
|
obj-$(CONFIG_WINBOND_840) += winbond-840.o mii.o
|
127 |
|
|
obj-$(CONFIG_SUNDANCE) += sundance.o mii.o
|
128 |
|
|
obj-$(CONFIG_HAMACHI) += hamachi.o mii.o
|
129 |
|
|
obj-$(CONFIG_NET) += Space.o setup.o net_init.o loopback.o
|
130 |
|
|
obj-$(CONFIG_SEEQ8005) += seeq8005.o
|
131 |
|
|
obj-$(CONFIG_ETHERTAP) += ethertap.o
|
132 |
|
|
obj-$(CONFIG_NET_SB1000) += sb1000.o
|
133 |
|
|
obj-$(CONFIG_MAC8390) += mac8390.o 8390.o
|
134 |
|
|
obj-$(CONFIG_APNE) += apne.o 8390.o
|
135 |
|
|
obj-$(CONFIG_PCMCIA_PCNET) += 8390.o
|
136 |
|
|
obj-$(CONFIG_SHAPER) += shaper.o
|
137 |
|
|
obj-$(CONFIG_SK_G16) += sk_g16.o
|
138 |
|
|
obj-$(CONFIG_HP100) += hp100.o
|
139 |
|
|
obj-$(CONFIG_SMC9194) += smc9194.o
|
140 |
|
|
obj-$(CONFIG_ARM_AM79C961A) += am79c961a.o
|
141 |
|
|
obj-$(CONFIG_ARM_ETHERH) += 8390.o
|
142 |
|
|
obj-$(CONFIG_WD80x3) += wd.o 8390.o
|
143 |
|
|
obj-$(CONFIG_EL2) += 3c503.o 8390.o
|
144 |
|
|
obj-$(CONFIG_NE2000) += ne.o 8390.o
|
145 |
|
|
obj-$(CONFIG_NE2_MCA) += ne2.o 8390.o
|
146 |
|
|
obj-$(CONFIG_HPLAN) += hp.o 8390.o
|
147 |
|
|
obj-$(CONFIG_HPLAN_PLUS) += hp-plus.o 8390.o
|
148 |
|
|
obj-$(CONFIG_ULTRA) += smc-ultra.o 8390.o
|
149 |
|
|
obj-$(CONFIG_ULTRAMCA) += smc-mca.o 8390.o
|
150 |
|
|
obj-$(CONFIG_ULTRA32) += smc-ultra32.o 8390.o
|
151 |
|
|
obj-$(CONFIG_E2100) += e2100.o 8390.o
|
152 |
|
|
obj-$(CONFIG_ES3210) += es3210.o 8390.o
|
153 |
|
|
obj-$(CONFIG_LNE390) += lne390.o 8390.o
|
154 |
|
|
obj-$(CONFIG_NE3210) += ne3210.o 8390.o
|
155 |
|
|
obj-$(CONFIG_NET_SB1250_MAC) += sb1250-mac.o
|
156 |
|
|
obj-$(CONFIG_B44) += b44.o
|
157 |
|
|
obj-$(CONFIG_FORCEDETH) += forcedeth.o
|
158 |
|
|
|
159 |
|
|
obj-$(CONFIG_PPP) += ppp_generic.o slhc.o
|
160 |
|
|
obj-$(CONFIG_PPP_ASYNC) += ppp_async.o
|
161 |
|
|
obj-$(CONFIG_PPP_SYNC_TTY) += ppp_synctty.o
|
162 |
|
|
obj-$(CONFIG_PPP_DEFLATE) += ppp_deflate.o
|
163 |
|
|
obj-$(CONFIG_PPP_BSDCOMP) += bsd_comp.o
|
164 |
|
|
obj-$(CONFIG_PPPOE) += pppox.o pppoe.o
|
165 |
|
|
|
166 |
|
|
obj-$(CONFIG_SLIP) += slip.o
|
167 |
|
|
ifeq ($(CONFIG_SLIP_COMPRESSED),y)
|
168 |
|
|
obj-$(CONFIG_SLIP) += slhc.o
|
169 |
|
|
endif
|
170 |
|
|
|
171 |
|
|
obj-$(CONFIG_STRIP) += strip.o
|
172 |
|
|
obj-$(CONFIG_DUMMY) += dummy.o
|
173 |
|
|
obj-$(CONFIG_DE600) += de600.o
|
174 |
|
|
obj-$(CONFIG_DE620) += de620.o
|
175 |
|
|
obj-$(CONFIG_AT1500) += lance.o
|
176 |
|
|
obj-$(CONFIG_LANCE) += lance.o
|
177 |
|
|
obj-$(CONFIG_SUN3_82586) += sun3_82586.o
|
178 |
|
|
obj-$(CONFIG_SUN3LANCE) += sun3lance.o
|
179 |
|
|
obj-$(CONFIG_DEFXX) += defxx.o
|
180 |
|
|
obj-$(CONFIG_SGISEEQ) += sgiseeq.o
|
181 |
|
|
obj-$(CONFIG_AT1700) += at1700.o
|
182 |
|
|
obj-$(CONFIG_FMV18X) += fmv18x.o
|
183 |
|
|
obj-$(CONFIG_EL1) += 3c501.o
|
184 |
|
|
obj-$(CONFIG_EL16) += 3c507.o
|
185 |
|
|
obj-$(CONFIG_ELMC) += 3c523.o
|
186 |
|
|
obj-$(CONFIG_SKMC) += sk_mca.o
|
187 |
|
|
obj-$(CONFIG_IBMLANA) += ibmlana.o
|
188 |
|
|
obj-$(CONFIG_ELMC_II) += 3c527.o
|
189 |
|
|
obj-$(CONFIG_EL3) += 3c509.o
|
190 |
|
|
obj-$(CONFIG_3C515) += 3c515.o
|
191 |
|
|
obj-$(CONFIG_EEXPRESS) += eexpress.o
|
192 |
|
|
obj-$(CONFIG_EEXPRESS_PRO) += eepro.o
|
193 |
|
|
obj-$(CONFIG_8139CP) += 8139cp.o mii.o
|
194 |
|
|
obj-$(CONFIG_8139TOO) += 8139too.o mii.o
|
195 |
|
|
obj-$(CONFIG_WAVELAN) += wavelan.o
|
196 |
|
|
obj-$(CONFIG_ARLAN) += arlan.o arlan-proc.o
|
197 |
|
|
obj-$(CONFIG_ZNET) += znet.o
|
198 |
|
|
obj-$(CONFIG_LAN_SAA9730) += saa9730.o
|
199 |
|
|
obj-$(CONFIG_DEPCA) += depca.o
|
200 |
|
|
obj-$(CONFIG_EWRK3) += ewrk3.o
|
201 |
|
|
obj-$(CONFIG_ATP) += atp.o
|
202 |
|
|
obj-$(CONFIG_DE4X5) += de4x5.o
|
203 |
|
|
obj-$(CONFIG_NI5010) += ni5010.o
|
204 |
|
|
obj-$(CONFIG_NI52) += ni52.o
|
205 |
|
|
obj-$(CONFIG_NI65) += ni65.o
|
206 |
|
|
obj-$(CONFIG_ELPLUS) += 3c505.o
|
207 |
|
|
obj-$(CONFIG_AC3200) += ac3200.o 8390.o
|
208 |
|
|
obj-$(CONFIG_APRICOT) += 82596.o
|
209 |
|
|
obj-$(CONFIG_LASI_82596) += lasi_82596.o
|
210 |
|
|
obj-$(CONFIG_MVME16x_NET) += 82596.o
|
211 |
|
|
obj-$(CONFIG_BVME6000_NET) += 82596.o
|
212 |
|
|
|
213 |
|
|
# This is also a 82596 and should probably be merged
|
214 |
|
|
obj-$(CONFIG_LP486E) += lp486e.o
|
215 |
|
|
|
216 |
|
|
obj-$(CONFIG_ETH16I) += eth16i.o
|
217 |
|
|
obj-$(CONFIG_ZORRO8390) += zorro8390.o 8390.o
|
218 |
|
|
obj-$(CONFIG_HPLANCE) += hplance.o 7990.o
|
219 |
|
|
obj-$(CONFIG_MVME147_NET) += mvme147.o 7990.o
|
220 |
|
|
obj-$(CONFIG_EQUALIZER) += eql.o
|
221 |
|
|
obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
|
222 |
|
|
obj-$(CONFIG_MIPS_GT96100ETH) += gt96100eth.o
|
223 |
|
|
obj-$(CONFIG_MIPS_AU1X00_ENET) += au1000_eth.o
|
224 |
|
|
obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
|
225 |
|
|
obj-$(CONFIG_BAGETLANCE) += bagetlance.o
|
226 |
|
|
obj-$(CONFIG_DECLANCE) += declance.o
|
227 |
|
|
obj-$(CONFIG_ATARILANCE) += atarilance.o
|
228 |
|
|
obj-$(CONFIG_ATARI_BIONET) += atari_bionet.o
|
229 |
|
|
obj-$(CONFIG_ATARI_PAMSNET) += atari_pamsnet.o
|
230 |
|
|
obj-$(CONFIG_A2065) += a2065.o
|
231 |
|
|
obj-$(CONFIG_HYDRA) += hydra.o 8390.o
|
232 |
|
|
obj-$(CONFIG_ARIADNE) += ariadne.o
|
233 |
|
|
obj-$(CONFIG_CS89x0) += cs89x0.o
|
234 |
|
|
obj-$(CONFIG_ARM_CIRRUS) += cirrus.o
|
235 |
|
|
obj-$(CONFIG_MACSONIC) += macsonic.o
|
236 |
|
|
obj-$(CONFIG_MACMACE) += macmace.o
|
237 |
|
|
obj-$(CONFIG_MAC89x0) += mac89x0.o
|
238 |
|
|
obj-$(CONFIG_TUN) += tun.o
|
239 |
|
|
obj-$(CONFIG_ETHER00) +=ether00.o
|
240 |
|
|
obj-$(CONFIG_DL2K) += dl2k.o
|
241 |
|
|
obj-$(CONFIG_R8169) += r8169.o
|
242 |
|
|
obj-$(CONFIG_AMD8111_ETH) += amd8111e.o mii.o
|
243 |
|
|
|
244 |
|
|
# non-drivers/net drivers who want mii lib
|
245 |
|
|
obj-$(CONFIG_PCMCIA_SMC91C92) += mii.o
|
246 |
|
|
obj-$(CONFIG_USB_USBNET) += mii.o
|
247 |
|
|
|
248 |
|
|
ifeq ($(CONFIG_ARCH_ACORN),y)
|
249 |
|
|
mod-subdirs += ../acorn/net
|
250 |
|
|
subdir-y += ../acorn/net
|
251 |
|
|
obj-y += ../acorn/net/acorn-net.o
|
252 |
|
|
endif
|
253 |
|
|
|
254 |
|
|
#
|
255 |
|
|
# HIPPI adapters
|
256 |
|
|
#
|
257 |
|
|
|
258 |
|
|
ifneq ($(ARCH),s390)
|
259 |
|
|
ifneq ($(ARCH),s390x)
|
260 |
|
|
obj-y += auto_irq.o
|
261 |
|
|
endif
|
262 |
|
|
endif
|
263 |
|
|
|
264 |
|
|
include $(TOPDIR)/Rules.make
|
265 |
|
|
|
266 |
|
|
clean:
|
267 |
|
|
rm -f core *.o *.a *.s
|
268 |
|
|
|
269 |
|
|
rcpci.o: $(rcpci-objs)
|
270 |
|
|
$(LD) -r -o $@ $(rcpci-objs)
|
271 |
|
|
|