summaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2013-01-15 07:41:50 +0000
committerDimitry Andric <dim@FreeBSD.org>2013-01-15 07:41:50 +0000
commit6e24dd230acbe65652bf3043b49ca5db419d222f (patch)
tree60472cceaef659dc6106ffb475e5d2ffeb3b4fe9 /sys/dev/ath
parent759d35a2a694fab518d490a7e1ff1af307c05ffc (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_hal/ar9002/ar9285_attach.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c b/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
index 9c58b6509fdc..02c7b9892aa8 100644
--- a/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
+++ b/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
@@ -134,18 +134,6 @@ ar9285Attach(uint16_t devid, HAL_SOFTC sc,
ar5416InitState(AH5416(ah), devid, sc, st, sh, status);
- /*
- * Use the "local" EEPROM data given to us by the higher layers.
- * This is a private copy out of system flash. The Linux ath9k
- * commit for the initial AR9130 support mentions MMIO flash
- * access is "unreliable." -adrian
- */
- if (eepromdata != AH_NULL) {
- AH_PRIVATE(ah)->ah_eepromRead = ath_hal_EepromDataRead;
- AH_PRIVATE(ah)->ah_eepromWrite = NULL;
- ah->ah_eepromdata = eepromdata;
- }
-
/* XXX override with 9285 specific state */
/* override 5416 methods for our needs */
AH5416(ah)->ah_initPLL = ar9280InitPLL;