- 論壇徽章:
- 0
|
最近移植一款無線網(wǎng)卡,公司之前的無線網(wǎng)卡型號是AR9287,只支持2.4G。公司想支持5G,所以選擇了一個(gè)款支持5G的無線網(wǎng)卡AR9280,直接替換以后發(fā)現(xiàn)有如此打印,pci驅(qū)動(dòng)和設(shè)備已經(jīng)匹配成功,并調(diào)用了相應(yīng)的probe函數(shù),在函數(shù)__ath_attach錯(cuò)誤退出,直接原因在寫rtc reset寄存器(7040)后未生效,導(dǎo)致讀rtc狀態(tài)寄存器(7044)時(shí)退出,打印ath_dev_attach: unable to attach hardware; HAL status 3。有哪位仁兄遇到過類似的問題?
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
Failed to open XML configurationWARNING: using default (module_tpmSetup:417) cfg file path:
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
= TPM Module Init ended successfully =
ath_pci: 9.2.0.312 (Atheros/multi-bss)
bus: 'pci': add driver ath_pci
pci_dev->vendor = 0x168c pci_dev->device = 0x2a pci_dev->subsystem_vendor = 0x10cf pci_dev->subsystem_device= 0x147c
bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver ath_pci
bus: 'pci': really_probe: probing driver ath_pci with device 0000:00:01.0
id->vendor = 0x168c id->device = 0x2a id->subvendor = 0xffffffff id->subdevice= 0xffffffff
tangyupu pci phymem start f3000000 len 10000 (獲取的實(shí)際物理地址f3000000 )
pci_resource_len 10000
jx pci virmem start d0d60000(ioremap虛擬地址d0d60000)
WRITE 0x704c <= 0x3
func:ar5416SetResetPowerOn line:1632+++++++++++++++++++++++++++
WRITE 0x704c <= 0x3
WRITE 0x4000 <= 0x1
WRITE 0x7040 <= 0x0
WRITE 0x4000 <= 0x0
sucess ar5416SetResetPowerOn: 0x00000011(設(shè)置reset前讀7044寄存器)
func:ar5416SetResetPowerOn line:1667 ah->sh = 0xd0d60000AR_RTC_RESET = 0x7040+++++++++++++++++++++++++++
WRITE 0x7040 <= 0x1()
func:ar5416SetResetPowerOn line:1669+++++++++++++++++++++++++++
ath_hal_wait: timeout (100000 us) on reg 0x7044: 0x00000011 & 0x0000000f != 0x00000002(設(shè)置reset后讀7044寄存器)
ar5416SetResetPowerOn: RTC not waking up
WRITE 0x8004 <= 0xdeadbeef
WRITE 0x704c <= 0x2
WRITE 0x4000 <= 0x101
WRITE 0x7040 <= 0x0
ath_dev_attach: unable to attach hardware; HAL status 3(錯(cuò)誤碼為3代表Hardware didn't respond as expected) |
|