diff options
author | adrian <adrian@FreeBSD.org> | 2012-04-13 18:00:48 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-04-13 18:00:48 +0000 |
commit | 9645923e3bab3582342353a1fb6a285b48369a67 (patch) | |
tree | a0d972113db45314075ec96ce23630904edadae0 | |
parent | f10cedc9c7620729abc9391282554fbcf2581628 (diff) | |
download | FreeBSD-src-9645923e3bab3582342353a1fb6a285b48369a67.zip FreeBSD-src-9645923e3bab3582342353a1fb6a285b48369a67.tar.gz |
Upgrade ATH_EEPROM_FIRMWARE to a configuration option.
-rw-r--r-- | sys/conf/options | 1 | ||||
-rw-r--r-- | sys/dev/ath/if_ath_pci.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/options b/sys/conf/options index e602a39..4c95967 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -780,6 +780,7 @@ ATH_DIAGAPI opt_ath.h ATH_TX99_DIAG opt_ath.h ATH_ENABLE_11N opt_ath.h ATH_ENABLE_DFS opt_ath.h +ATH_EEPROM_FIRMWARE opt_ath.h # options for the Atheros hal AH_SUPPORT_AR5416 opt_ah.h diff --git a/sys/dev/ath/if_ath_pci.c b/sys/dev/ath/if_ath_pci.c index 9b0f853..9f59569 100644 --- a/sys/dev/ath/if_ath_pci.c +++ b/sys/dev/ath/if_ath_pci.c @@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$"); /* * PCI/Cardbus front-end for the Atheros Wireless LAN controller driver. */ +#include "opt_ath.h" #include <sys/param.h> #include <sys/systm.h> @@ -60,8 +61,6 @@ __FBSDID("$FreeBSD$"); #include <dev/pci/pcivar.h> #include <dev/pci/pcireg.h> -/* #define ATH_EEPROM_FIRMWARE */ - /* For EEPROM firmware */ #ifdef ATH_EEPROM_FIRMWARE #include <sys/linker.h> |