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 glue.c 26 atheroswifi_hal.o 27 atheroswifi_rate.o 28 : 29 libfreebsd_wlan.a 30 libfreebsd_network.a 31 ; 32 33SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ] ; 34SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5210 ] ; 35SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5211 ] ; 36SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5212 ] ; 37SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5312 ] ; 38SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_hal ar5416 ] ; 39 40KernelMergeObject atheroswifi_hal.o : 41 ah_osdep.c 42 ah.c 43 ah_regdomain.c 44 ah_eeprom_v3.c 45 46 # AR5210 support 47 ah_eeprom_v1.c 48 ar5210_attach.c 49 ar5210_beacon.c 50 ar5210_interrupts.c 51 ar5210_keycache.c 52 ar5210_misc.c 53 ar5210_phy.c 54 ar5210_power.c 55 ar5210_recv.c 56 ar5210_reset.c 57 ar5210_xmit.c 58 59 # AR5211 support 60 ar5211_attach.c 61 ar5211_beacon.c 62 ar5211_interrupts.c 63 ar5211_keycache.c 64 ar5211_misc.c 65 ar5211_phy.c 66 ar5211_power.c 67 ar5211_recv.c 68 ar5211_reset.c 69 ar5211_xmit.c 70 71 # AR5212 support 72 ar5212_ani.c 73 ar5212_attach.c 74 ar5212_beacon.c 75 ar5212_eeprom.c 76 ar5212_gpio.c 77 ar5212_interrupts.c 78 ar5212_keycache.c 79 ar5212_misc.c 80 ar5212_phy.c 81 ar5212_power.c 82 ar5212_recv.c 83 ar5212_reset.c 84 ar5212_rfgain.c 85 ar5212_xmit.c 86 87 # RF backends 88 ar5111.c 89 ar5112.c 90 ar2413.c 91 ar2425.c 92 ar5413.c 93 94 # AR5416 support 95 ah_eeprom_v14.c 96 ah_eeprom_v4k.c 97 ar5416_ani.c 98 ar5416_attach.c 99 ar5416_beacon.c 100 ar5416_cal.c 101 ar5416_cal_iq.c 102 ar5416_cal_adcgain.c 103 ar5416_cal_adcdc.c 104 ar5416_eeprom.c 105 ar5416_gpio.c 106 ar5416_interrupts.c 107 ar5416_keycache.c 108 ar5416_misc.c 109 ar5416_phy.c 110 ar5416_power.c 111 ar5416_recv.c 112 ar5416_reset.c 113 ar5416_xmit.c 114 115 # AR9k support 116 ar9160_attach.c 117 ar9280.c 118 ar9280_attach.c 119 ar9285.c 120 ar9285_attach.c 121 ar9285_reset.c 122 123 # RF backend for 5416 and 9160 124 ar2133.c 125 ; 126 127SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ath ath_rate sample ] ; 128 129KernelMergeObject atheroswifi_rate.o : 130 sample.c 131 ; 132