Add EEPROM data hooks for the AR9287.

Tested:
	* AP99 Reference board (AR7241 + AR9287)
This commit is contained in:
Adrian Chadd 2012-08-26 04:26:25 +00:00
parent b9fa17aeba
commit e12a307eff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239703

View File

@ -137,6 +137,13 @@ ar9287Attach(uint16_t devid, HAL_SOFTC sc,
ar5416InitState(AH5416(ah), devid, sc, st, sh, status);
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 9280 specific state */
/* override 5416 methods for our needs */
AH5416(ah)->ah_initPLL = ar9280InitPLL;