summaryrefslogtreecommitdiff
path: root/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2011-08-03 23:57:38 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2011-08-03 23:57:38 +0000
commit625b09b02154fbfd34da1f14ad7f36ef9fefa697 (patch)
treee20537781ee740b2a2754968503c5537a593298d /sys/dev/ath/ath_hal/ar9002/ar9280_attach.c
parent8eb43d357c6e72a7fc89933059fdbfaf7829197c (diff)
downloadsrc-test2-625b09b02154fbfd34da1f14ad7f36ef9fefa697.tar.gz
src-test2-625b09b02154fbfd34da1f14ad7f36ef9fefa697.zip
Notes
Diffstat (limited to 'sys/dev/ath/ath_hal/ar9002/ar9280_attach.c')
-rw-r--r--sys/dev/ath/ath_hal/ar9002/ar9280_attach.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c b/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c
index 014838b967e1..4f4b8baf2b42 100644
--- a/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c
+++ b/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c
@@ -28,8 +28,6 @@
#include "ar5416/ar5416reg.h"
#include "ar5416/ar5416phy.h"
-#include "ar9001/ar9130_eeprom.h"
-
#include "ar9002/ar9280v1.ini"
#include "ar9002/ar9280v2.ini"
#include "ar9002/ar9280_olc.h"
@@ -193,12 +191,6 @@ ar9280Attach(uint16_t devid, HAL_SOFTC sc,
AH5416(ah)->ah_rx_chainmask = AR9280_DEFAULT_RXCHAINMASK;
AH5416(ah)->ah_tx_chainmask = AR9280_DEFAULT_TXCHAINMASK;
- if (eepromdata) {
- AH_PRIVATE((ah))->ah_eepromRead = ar9130EepromRead;
- AH_PRIVATE((ah))->ah_eepromWrite = NULL;
- ah->ah_eepromdata = eepromdata;
- }
-
if (!ar5416SetResetReg(ah, HAL_RESET_POWER_ON)) {
/* reset chip */
HALDEBUG(ah, HAL_DEBUG_ANY, "%s: couldn't reset chip\n",