Add EEPROM data hooks for the AR9287.
Tested: * AP99 Reference board (AR7241 + AR9287)
This commit is contained in:
parent
5870ce92ee
commit
77533c7f33
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user