From 9645923e3bab3582342353a1fb6a285b48369a67 Mon Sep 17 00:00:00 2001 From: adrian Date: Fri, 13 Apr 2012 18:00:48 +0000 Subject: Upgrade ATH_EEPROM_FIRMWARE to a configuration option. --- sys/conf/options | 1 + 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 #include @@ -60,8 +61,6 @@ __FBSDID("$FreeBSD$"); #include #include -/* #define ATH_EEPROM_FIRMWARE */ - /* For EEPROM firmware */ #ifdef ATH_EEPROM_FIRMWARE #include -- cgit v1.1