1SubDir HAIKU_TOP src add-ons kernel drivers network wlan atheroswifi ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] 4 : true ; 5UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ; 6UsePrivateHeaders net system ; 7UsePrivateKernelHeaders ; 8 9SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 _XOPEN_SOURCE ] 10 -Wno-format 11 -Wno-unused 12 -Wno-uninitialized ; 13 14UseHeaders [ FDirName $(SUBDIR) ] : true ; 15UseHeaders [ FDirName $(SUBDIR) dev ath ath_hal ] : true ; 16UseHeaders [ FDirName $(SUBDIR) contrib ath_hal ] : true ; 17 18SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ] ; 19 20Depends atheroswifi : atheroswifi_hal.o ; 21Depends atheroswifi : atheroswifi_rate.o ; 22 23KernelAddon atheroswifi : 24 glue.c 25 26 if_ath.c 27 if_ath_beacon.c 28 if_ath_btcoex.c 29 if_ath_btcoex_mci.c 30 if_ath_descdma.c 31 if_ath_ioctl.c 32 if_ath_pci.c 33 if_ath_led.c 34 if_ath_lna_div.c 35 if_ath_keycache.c 36 if_ath_sysctl.c 37 if_ath_rx.c 38 if_ath_rx_edma.c 39 if_ath_spectral.c 40 if_ath_tdma.c 41 if_ath_tx.c 42 if_ath_tx_edma.c 43 if_ath_tx_ht.c 44 45 atheroswifi_hal.o 46 atheroswifi_rate.o 47 : 48 freebsd_wlan.a 49 libfreebsd_network.a 50 ; 51 52SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ] ; 53SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5210 ] ; 54SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5211 ] ; 55SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5212 ] ; 56SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5312 ] ; 57SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5416 ] ; 58SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9001 ] ; 59SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9002 ] ; 60SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9003 ] ; 61SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_dfs null ] ; 62SEARCH_SOURCE += [ FDirName $(SUBDIR) contrib ath_hal ar9300 ] ; 63 64KernelMergeObject atheroswifi_hal.o : 65 ah_osdep.c 66 ah.c 67 ah_regdomain.c 68 ah_eeprom_9287.c 69 ah_eeprom_v3.c 70 71 # AR5210 support 72 ah_eeprom_v1.c 73 ar5210_attach.c 74 ar5210_beacon.c 75 ar5210_interrupts.c 76 ar5210_keycache.c 77 ar5210_misc.c 78 ar5210_phy.c 79 ar5210_power.c 80 ar5210_recv.c 81 ar5210_reset.c 82 ar5210_xmit.c 83 84 # AR5211 support 85 ar5211_attach.c 86 ar5211_beacon.c 87 ar5211_interrupts.c 88 ar5211_keycache.c 89 ar5211_misc.c 90 ar5211_phy.c 91 ar5211_power.c 92 ar5211_recv.c 93 ar5211_reset.c 94 ar5211_xmit.c 95 96 # AR5212 support 97 ar5212_ani.c 98 ar5212_attach.c 99 ar5212_beacon.c 100 ar5212_eeprom.c 101 ar5212_gpio.c 102 ar5212_interrupts.c 103 ar5212_keycache.c 104 ar5212_misc.c 105 ar5212_phy.c 106 ar5212_power.c 107 ar5212_recv.c 108 ar5212_reset.c 109 ar5212_rfgain.c 110 ar5212_xmit.c 111 112 # RF backends 113 ar5111.c 114 ar5112.c 115 ar2413.c 116 ar2425.c 117 ar5413.c 118 119 # AR5416 support 120 ah_eeprom_v14.c 121 ah_eeprom_v4k.c 122 ar5416_ani.c 123 ar5416_attach.c 124 ar5416_beacon.c 125 ar5416_cal.c 126 ar5416_cal_iq.c 127 ar5416_cal_adcgain.c 128 ar5416_cal_adcdc.c 129 ar5416_eeprom.c 130 ar5416_gpio.c 131 ar5416_interrupts.c 132 ar5416_keycache.c 133 ar5416_misc.c 134 ar5416_phy.c 135 ar5416_power.c 136 ar5416_recv.c 137 ar5416_reset.c 138 ar5416_xmit.c 139 ar5416_btcoex.c 140 ar5416_radar.c 141 ar5416_spectral.c 142 143 # RF backend for 5416 and 9160 144 ar2133.c 145 146 # AR9001 and AR9002 support 147 ar9285_btcoex.c 148 ar9160_attach.c 149 ar9280_attach.c 150 ar9280_olc.c 151 ar9285_attach.c 152 ar9285_cal.c 153 ar9285_diversity.c 154 ar9285_phy.c 155 ar9285_reset.c 156 ar9287_attach.c 157 ar9287_cal.c 158 ar9287_olc.c 159 ar9287_reset.c 160 161 ar9280.c 162 ar9285.c 163 ar9287.c 164 165 # AR9300 support 166 ar9300_interrupts.c 167 ar9300_radar.c 168 ar9300_ani.c 169 ar9300_keycache.c 170 ar9300_radio.c 171 ar9300_xmit.c 172 ar9300_attach.c 173 ar9300_mci.c 174 ar9300_stub.c 175 ar9300_xmit_ds.c 176 ar9300_beacon.c 177 ar9300_misc.c 178 ar9300_recv.c 179 ar9300_stub_funcs.c 180 ar9300_eeprom.c 181 ar9300_paprd.c 182 ar9300_recv_ds.c 183 ar9300_freebsd.c 184 ar9300_phy.c 185 ar9300_reset.c 186 ar9300_gpio.c 187 ar9300_power.c 188 ar9300_timer.c 189 ar9300_spectral.c 190 191 dfs_null.c 192 ; 193 194SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_rate sample ] ; 195 196KernelMergeObject atheroswifi_rate.o : 197 sample.c 198 ; 199