[Midnightbsd-cvs] src [8624] trunk/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c: revert ath change.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 25 14:00:15 EDT 2016


Revision: 8624
          http://svnweb.midnightbsd.org/src/?rev=8624
Author:   laffer1
Date:     2016-09-25 14:00:14 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
revert ath change. breaks some cards

Modified Paths:
--------------
    trunk/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c

Modified: trunk/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
===================================================================
--- trunk/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	2016-09-25 17:58:33 UTC (rev 8623)
+++ trunk/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	2016-09-25 18:00:14 UTC (rev 8624)
@@ -134,18 +134,6 @@
 
 	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;



More information about the Midnightbsd-cvs mailing list