summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-04-13 18:00:48 +0000
committeradrian <adrian@FreeBSD.org>2012-04-13 18:00:48 +0000
commit9645923e3bab3582342353a1fb6a285b48369a67 (patch)
treea0d972113db45314075ec96ce23630904edadae0
parentf10cedc9c7620729abc9391282554fbcf2581628 (diff)
downloadFreeBSD-src-9645923e3bab3582342353a1fb6a285b48369a67.zip
FreeBSD-src-9645923e3bab3582342353a1fb6a285b48369a67.tar.gz
Upgrade ATH_EEPROM_FIRMWARE to a configuration option.
-rw-r--r--sys/conf/options1
-rw-r--r--sys/dev/ath/if_ath_pci.c3
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>
OpenPOWER on IntegriCloud