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 ] 10 -Wno-format 11 -Wno-unused 12 -Wno-uninitialized ; 13 14UseHeaders [ FDirName $(SUBDIR) ] : true ; 15UseHeaders [ FDirName $(SUBDIR) dev ath ath_hal ] ; 16 17SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ] ; 18 19Depends atheroswifi : atheroswifi_hal.o ; 20Depends atheroswifi : atheroswifi_rate.o ; 21 22KernelAddon atheroswifi : 23 if_ath.c 24 if_ath_pci.c 25 if_ath_keycache.c 26 if_ath_sysctl.c 27 if_ath_tx.c 28 if_ath_tx_ht.c 29 glue.c 30 atheroswifi_hal.o 31 atheroswifi_rate.o 32 : 33 libfreebsd_wlan.a 34 libfreebsd_network.a 35 ; 36 37SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ] ; 38SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5210 ] ; 39SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5211 ] ; 40SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5212 ] ; 41SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5312 ] ; 42SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5416 ] ; 43SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9001 ] ; 44SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar9002 ] ; 45SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_dfs null ] ; 46 47KernelMergeObject atheroswifi_hal.o : 48 ah_osdep.c 49 ah.c 50 ah_regdomain.c 51 ah_eeprom_9287.c 52 ah_eeprom_v3.c 53 54 # AR5210 support 55 ah_eeprom_v1.c 56 ar5210_attach.c 57 ar5210_beacon.c 58 ar5210_interrupts.c 59 ar5210_keycache.c 60 ar5210_misc.c 61 ar5210_phy.c 62 ar5210_power.c 63 ar5210_recv.c 64 ar5210_reset.c 65 ar5210_xmit.c 66 67 # AR5211 support 68 ar5211_attach.c 69 ar5211_beacon.c 70 ar5211_interrupts.c 71 ar5211_keycache.c 72 ar5211_misc.c 73 ar5211_phy.c 74 ar5211_power.c 75 ar5211_recv.c 76 ar5211_reset.c 77 ar5211_xmit.c 78 79 # AR5212 support 80 ar5212_ani.c 81 ar5212_attach.c 82 ar5212_beacon.c 83 ar5212_eeprom.c 84 ar5212_gpio.c 85 ar5212_interrupts.c 86 ar5212_keycache.c 87 ar5212_misc.c 88 ar5212_phy.c 89 ar5212_power.c 90 ar5212_recv.c 91 ar5212_reset.c 92 ar5212_rfgain.c 93 ar5212_xmit.c 94 95 # RF backends 96 ar5111.c 97 ar5112.c 98 ar2413.c 99 ar2425.c 100 ar5413.c 101 102 # AR5416 support 103 ah_eeprom_v14.c 104 ah_eeprom_v4k.c 105 ar5416_ani.c 106 ar5416_attach.c 107 ar5416_beacon.c 108 ar5416_cal.c 109 ar5416_cal_iq.c 110 ar5416_cal_adcgain.c 111 ar5416_cal_adcdc.c 112 ar5416_eeprom.c 113 ar5416_gpio.c 114 ar5416_interrupts.c 115 ar5416_keycache.c 116 ar5416_misc.c 117 ar5416_phy.c 118 ar5416_power.c 119 ar5416_recv.c 120 ar5416_reset.c 121 ar5416_xmit.c 122 123 # RF backend for 5416 and 9160 124 ar2133.c 125 126 # AR9001 and AR9002 support 127 ar9130_attach.c 128 ar9130_eeprom.c 129 ar9130_phy.c 130 ar9160_attach.c 131 ar9280_attach.c 132 ar9280_olc.c 133 ar9285_attach.c 134 ar9285_cal.c 135 ar9285_diversity.c 136 ar9285_phy.c 137 ar9285_reset.c 138 ar9287_attach.c 139 ar9287_cal.c 140 ar9287_olc.c 141 ar9287_reset.c 142 143 ar9280.c 144 ar9285.c 145 ar9287.c 146 147 dfs_null.c 148 ; 149 150SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_rate sample ] ; 151 152KernelMergeObject atheroswifi_rate.o : 153 sample.c 154 ; 155