Fix a debug message which didn't quite get it right about eeprom version.
This commit is contained in:
parent
f75281b8f2
commit
4bae831003
@ -3351,7 +3351,7 @@ rt2860_read_eeprom(struct rt2860_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN])
|
||||
|
||||
/* read EEPROM version */
|
||||
val = rt2860_srom_read(sc, RT2860_EEPROM_VERSION);
|
||||
DPRINTF(("EEPROM rev=%d, FAE=%d\n", val & 0xff, val >> 8));
|
||||
DPRINTF(("EEPROM rev=%d, FAE=%d\n", val >> 8, val & 0xff));
|
||||
|
||||
/* read MAC address */
|
||||
val = rt2860_srom_read(sc, RT2860_EEPROM_MAC01);
|
||||
|
@ -1730,7 +1730,7 @@ run_read_eeprom(struct run_softc *sc)
|
||||
|
||||
/* read ROM version */
|
||||
run_srom_read(sc, RT2860_EEPROM_VERSION, &val);
|
||||
DPRINTF("EEPROM rev=%d, FAE=%d\n", val & 0xff, val >> 8);
|
||||
DPRINTF("EEPROM rev=%d, FAE=%d\n", val >> 8, val & 0xff);
|
||||
|
||||
/* read MAC address */
|
||||
run_srom_read(sc, RT2860_EEPROM_MAC01, &val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user