[Bug 255337] ath(4): Atheros AR9462 identified correctly but does not function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Apr 2024 09:27:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255337
--- Comment #27 from Dmitry Lukhtionov <dmitryluhtionov@gmail.com> ---
I can put any debug information in thiis code, or anoter
ar9300_eeprom_read_word(struct ath_hal *ah, u_int off, u_int16_t *data)
{
if (AR_SREV_OSPREY(ah) || AR_SREV_POSEIDON(ah) || AR_SREV_JUPITER(ah))
{
(void) OS_REG_READ(ah, AR9300_EEPROM_OFFSET + (off <<
AR9300_EEPROM_S));
if (!ath_hal_wait(ah,
AR_HOSTIF_REG(ah, AR_EEPROM_STATUS_DATA),
AR_EEPROM_STATUS_DATA_BUSY |
AR_EEPROM_STATUS_DATA_PROT_ACCESS,
0))
{
return AH_FALSE;
}
*data = MS(OS_REG_READ(ah,
AR_HOSTIF_REG(ah, AR_EEPROM_STATUS_DATA)),
AR_EEPROM_STATUS_DATA_VAL);
return AH_TRUE;
}
else
{
*data = 0;
return AH_FALSE;
}
}
Сan you send me a patch that will generate a lot of debugging information?
--
You are receiving this mail because:
You are on the CC list for the bug.