Atheros 9280 Issues

Joe Holden jwh at rewt.org.uk
Sun Nov 15 20:35:34 UTC 2009


Hiya,

This patch doesn't seem to apply to the tree (with original ah_regdomain.c 
checked out using csup):

Patching file ah_regdomain.c using Plan A...
Hunk #1 failed at 170.
Hunk #2 failed at 433.
Hunk #3 failed at 1683.

Should I be using any special options?

Thanks,

On Sun, 15 Nov 2009, Rui Paulo wrote:

> On 15 Nov 2009, at 02:52, Joe Holden wrote:
>
>> Hi thanks for the response.
>> 
>> I have recompiled kernel and attached the dmesg, the errors it gives seem 
>> to relate to having no/invalid regdomain in the eeprom:
>> 
>> ath0: <Atheros 9280> mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on pci6
>> ath0: [ITHREAD]
>> ar9280Attach: sc 0xc2d8d000 st 0x1 sh 0xc2be9000
>> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
>> ar9280Attach: ID 0x852ff VERSION 0x2 TYPE 0x5 REVISION 0x2
>> ath_hal_v14EepromAttach Eeprom Magic = 0xa55a
>> ath_hal_v14EepromAttach Eeprom Version 14.16
>> v14EepromReadCTLInfo Numctls = 21
>> ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
>> ar9280RfAttach: attach AR9280 radio
>> enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 cckPhyErrBase 
>> 0x0
>> ar9280Attach: return
>> getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm
>> isEepromValid: invalid regulatory domain/country code 0x6b
>> getregstate: invalid EEPROM contents
>> ath0: ath_getchannels: unable to collect channel list from hal, status 12
>> ar5416Detach:
>> Detaching Ani
>> Disable MIB counters
>> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
>> ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
>> device_attach: ath0 attach returned 22
>
>
> Try the attached patch please.
>
> --
> Rui Paulo


More information about the freebsd-mobile mailing list