xref: /haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/Jamfile (revision 86021fd407331bcef948c739a4870ca453f5c6cd)
189ee864aSColin GüntherSubDir HAIKU_TOP src add-ons kernel drivers network wlan atheroswifi ;
289ee864aSColin Günther
3dba28784SAugustin CavalierUseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ]
41d2ac9a4SColin Günther	: true ;
5*753c7e08SAugustin CavalierUseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ;
689ee864aSColin GüntherUsePrivateHeaders net system ;
789ee864aSColin GüntherUsePrivateKernelHeaders ;
889ee864aSColin Günther
9743088d4SAdrien DestuguesSubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 _XOPEN_SOURCE ]
1089ee864aSColin Günther	-Wno-format
1189ee864aSColin Günther	-Wno-unused
1289ee864aSColin Günther	-Wno-uninitialized ;
1389ee864aSColin Günther
1489ee864aSColin GüntherUseHeaders [ FDirName $(SUBDIR) ] : true ;
15e042d589SAugustin CavalierUseHeaders [ FDirName $(SUBDIR) dev ath ath_hal ] : true ;
16e042d589SAugustin CavalierUseHeaders [ FDirName $(SUBDIR) contrib ath_hal ] : true ;
1789ee864aSColin Günther
1889ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ] ;
1989ee864aSColin Günther
2089ee864aSColin GüntherDepends atheroswifi : atheroswifi_hal.o ;
2189ee864aSColin GüntherDepends atheroswifi : atheroswifi_rate.o ;
2289ee864aSColin Günther
2389ee864aSColin GüntherKernelAddon atheroswifi :
24a052f480SAugustin Cavalier	glue.c
25a052f480SAugustin Cavalier
2689ee864aSColin Günther	if_ath.c
27a052f480SAugustin Cavalier	if_ath_beacon.c
28a052f480SAugustin Cavalier	if_ath_btcoex.c
29a052f480SAugustin Cavalier	if_ath_btcoex_mci.c
30a052f480SAugustin Cavalier	if_ath_descdma.c
31a052f480SAugustin Cavalier	if_ath_ioctl.c
3289ee864aSColin Günther	if_ath_pci.c
33a052f480SAugustin Cavalier	if_ath_led.c
34a052f480SAugustin Cavalier	if_ath_lna_div.c
3574bf05c2SJérôme Duval	if_ath_keycache.c
3674bf05c2SJérôme Duval	if_ath_sysctl.c
37a052f480SAugustin Cavalier	if_ath_rx.c
38a052f480SAugustin Cavalier	if_ath_rx_edma.c
39a052f480SAugustin Cavalier	if_ath_spectral.c
40a052f480SAugustin Cavalier	if_ath_tdma.c
4174bf05c2SJérôme Duval	if_ath_tx.c
42a052f480SAugustin Cavalier	if_ath_tx_edma.c
4374bf05c2SJérôme Duval	if_ath_tx_ht.c
44a052f480SAugustin Cavalier
4589ee864aSColin Günther	atheroswifi_hal.o
4689ee864aSColin Günther	atheroswifi_rate.o
4789ee864aSColin Günther	:
48*753c7e08SAugustin Cavalier	freebsd_wlan.a
49dba28784SAugustin Cavalier	libfreebsd_network.a
5089ee864aSColin Günther	;
5189ee864aSColin Günther
5289ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ] ;
5389ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5210 ] ;
5489ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5211 ] ;
5589ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5212 ] ;
5689ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5312 ] ;
5789ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5416 ] ;
5874bf05c2SJérôme DuvalSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9001 ] ;
5974bf05c2SJérôme DuvalSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9002 ] ;
60e042d589SAugustin CavalierSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9003 ] ;
6174bf05c2SJérôme DuvalSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_dfs null ] ;
62e042d589SAugustin CavalierSEARCH_SOURCE += [ FDirName $(SUBDIR) contrib ath_hal ar9300 ] ;
6389ee864aSColin Günther
6489ee864aSColin GüntherKernelMergeObject atheroswifi_hal.o :
6589ee864aSColin Günther	ah_osdep.c
6689ee864aSColin Günther	ah.c
6789ee864aSColin Günther	ah_regdomain.c
6874bf05c2SJérôme Duval	ah_eeprom_9287.c
6989ee864aSColin Günther	ah_eeprom_v3.c
7089ee864aSColin Günther
7189ee864aSColin Günther	# AR5210 support
7289ee864aSColin Günther	ah_eeprom_v1.c
7389ee864aSColin Günther	ar5210_attach.c
7489ee864aSColin Günther	ar5210_beacon.c
7589ee864aSColin Günther	ar5210_interrupts.c
7689ee864aSColin Günther	ar5210_keycache.c
7789ee864aSColin Günther	ar5210_misc.c
7889ee864aSColin Günther	ar5210_phy.c
7989ee864aSColin Günther	ar5210_power.c
8089ee864aSColin Günther	ar5210_recv.c
8189ee864aSColin Günther	ar5210_reset.c
8289ee864aSColin Günther	ar5210_xmit.c
8389ee864aSColin Günther
8489ee864aSColin Günther	# AR5211 support
8589ee864aSColin Günther	ar5211_attach.c
8689ee864aSColin Günther	ar5211_beacon.c
8789ee864aSColin Günther	ar5211_interrupts.c
8889ee864aSColin Günther	ar5211_keycache.c
8989ee864aSColin Günther	ar5211_misc.c
9089ee864aSColin Günther	ar5211_phy.c
9189ee864aSColin Günther	ar5211_power.c
9289ee864aSColin Günther	ar5211_recv.c
9389ee864aSColin Günther	ar5211_reset.c
9489ee864aSColin Günther	ar5211_xmit.c
9589ee864aSColin Günther
9689ee864aSColin Günther	# AR5212 support
9789ee864aSColin Günther	ar5212_ani.c
9889ee864aSColin Günther	ar5212_attach.c
9989ee864aSColin Günther	ar5212_beacon.c
10089ee864aSColin Günther	ar5212_eeprom.c
10189ee864aSColin Günther	ar5212_gpio.c
10289ee864aSColin Günther	ar5212_interrupts.c
10389ee864aSColin Günther	ar5212_keycache.c
10489ee864aSColin Günther	ar5212_misc.c
10589ee864aSColin Günther	ar5212_phy.c
10689ee864aSColin Günther	ar5212_power.c
10789ee864aSColin Günther	ar5212_recv.c
10889ee864aSColin Günther	ar5212_reset.c
10989ee864aSColin Günther	ar5212_rfgain.c
11089ee864aSColin Günther	ar5212_xmit.c
11189ee864aSColin Günther
11289ee864aSColin Günther	# RF backends
11389ee864aSColin Günther	ar5111.c
11489ee864aSColin Günther	ar5112.c
11589ee864aSColin Günther	ar2413.c
11689ee864aSColin Günther	ar2425.c
11789ee864aSColin Günther	ar5413.c
11889ee864aSColin Günther
11989ee864aSColin Günther	# AR5416 support
12089ee864aSColin Günther	ah_eeprom_v14.c
121e4a0a9c2SColin Günther	ah_eeprom_v4k.c
12289ee864aSColin Günther	ar5416_ani.c
12389ee864aSColin Günther	ar5416_attach.c
12489ee864aSColin Günther	ar5416_beacon.c
12589ee864aSColin Günther	ar5416_cal.c
12689ee864aSColin Günther	ar5416_cal_iq.c
12789ee864aSColin Günther	ar5416_cal_adcgain.c
12889ee864aSColin Günther	ar5416_cal_adcdc.c
12989ee864aSColin Günther	ar5416_eeprom.c
13089ee864aSColin Günther	ar5416_gpio.c
13189ee864aSColin Günther	ar5416_interrupts.c
13289ee864aSColin Günther	ar5416_keycache.c
13389ee864aSColin Günther	ar5416_misc.c
13489ee864aSColin Günther	ar5416_phy.c
13589ee864aSColin Günther	ar5416_power.c
13689ee864aSColin Günther	ar5416_recv.c
13789ee864aSColin Günther	ar5416_reset.c
13889ee864aSColin Günther	ar5416_xmit.c
139a052f480SAugustin Cavalier	ar5416_btcoex.c
140a052f480SAugustin Cavalier	ar5416_radar.c
141a052f480SAugustin Cavalier	ar5416_spectral.c
14289ee864aSColin Günther
14389ee864aSColin Günther	# RF backend for 5416 and 9160
14489ee864aSColin Günther	ar2133.c
14574bf05c2SJérôme Duval
14674bf05c2SJérôme Duval	# AR9001 and AR9002 support
147a052f480SAugustin Cavalier	ar9285_btcoex.c
14874bf05c2SJérôme Duval	ar9160_attach.c
14974bf05c2SJérôme Duval	ar9280_attach.c
15074bf05c2SJérôme Duval	ar9280_olc.c
15174bf05c2SJérôme Duval	ar9285_attach.c
15274bf05c2SJérôme Duval	ar9285_cal.c
15374bf05c2SJérôme Duval	ar9285_diversity.c
15474bf05c2SJérôme Duval	ar9285_phy.c
15574bf05c2SJérôme Duval	ar9285_reset.c
15674bf05c2SJérôme Duval	ar9287_attach.c
15774bf05c2SJérôme Duval	ar9287_cal.c
15874bf05c2SJérôme Duval	ar9287_olc.c
15974bf05c2SJérôme Duval	ar9287_reset.c
16074bf05c2SJérôme Duval
16174bf05c2SJérôme Duval	ar9280.c
16274bf05c2SJérôme Duval	ar9285.c
16374bf05c2SJérôme Duval	ar9287.c
16474bf05c2SJérôme Duval
165e042d589SAugustin Cavalier	# AR9300 support
166e042d589SAugustin Cavalier	ar9300_interrupts.c
167e042d589SAugustin Cavalier	ar9300_radar.c
168e042d589SAugustin Cavalier	ar9300_ani.c
169e042d589SAugustin Cavalier	ar9300_keycache.c
170e042d589SAugustin Cavalier	ar9300_radio.c
171e042d589SAugustin Cavalier	ar9300_xmit.c
172e042d589SAugustin Cavalier	ar9300_attach.c
173e042d589SAugustin Cavalier	ar9300_mci.c
174e042d589SAugustin Cavalier	ar9300_stub.c
175e042d589SAugustin Cavalier	ar9300_xmit_ds.c
176e042d589SAugustin Cavalier	ar9300_beacon.c
177e042d589SAugustin Cavalier	ar9300_misc.c
178e042d589SAugustin Cavalier	ar9300_recv.c
179e042d589SAugustin Cavalier	ar9300_stub_funcs.c
180e042d589SAugustin Cavalier	ar9300_eeprom.c
181e042d589SAugustin Cavalier	ar9300_paprd.c
182e042d589SAugustin Cavalier	ar9300_recv_ds.c
183e042d589SAugustin Cavalier	ar9300_freebsd.c
184e042d589SAugustin Cavalier	ar9300_phy.c
185e042d589SAugustin Cavalier	ar9300_reset.c
186e042d589SAugustin Cavalier	ar9300_gpio.c
187e042d589SAugustin Cavalier	ar9300_power.c
188e042d589SAugustin Cavalier	ar9300_timer.c
189e042d589SAugustin Cavalier	ar9300_spectral.c
190e042d589SAugustin Cavalier
19174bf05c2SJérôme Duval	dfs_null.c
19289ee864aSColin Günther	;
19389ee864aSColin Günther
19489ee864aSColin GüntherSEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_rate sample ] ;
19589ee864aSColin Günther
19689ee864aSColin GüntherKernelMergeObject atheroswifi_rate.o :
19789ee864aSColin Günther	sample.c
19889ee864aSColin Günther	;
199