On Thu, 2007-11-29 at 03:19 +0200, Nick Kossifidis wrote:

> > > > # ath_info dfbf0000
> > > > Unable to read EEPROM Magic value!

> Pavel can you see what ath_info gives ? I believe we have a faulty pci
> id situation again...

Still the same thing:

# ./ath_info dfbf0000
Unable to read EEPROM Magic value!
# setpci -s 03:00.0 command=0x41f cache_line_size=0x10
# ./ath_info dfbf0000
Unable to read EEPROM Magic value!
#

The same ath_info produces reasonable results on a CardBus card on the
same machine, even after MadWifi is unloaded, and even without setpci.

ath_info didn't work on MiniPCI cards in 4-card RouterBoard RB14 on the
same machine, but it worked with MiniPCI cards in single-card MiniPCI
adapters.  That's why I suspect that ath_info cannot deal with certain
bridges.

Actually, the bridge for bus 3 looks transparent:

# lspci -v -s 00:1c.1
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI 
Express Port 2 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Memory behind bridge: dfb00000-dfbfffff
        Capabilities: [40] Express Root Port (Slot+) IRQ 0
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 
Enable+
        Capabilities: [90] Subsystem: Gammagraphx, Inc. Unknown device 0000
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Unknown (5)

I don't know what "faulty pci id" means, but if you mean that it's ABIT,
you are correct:

# lspci -v -s 03:00.0
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g 
Wireless PCI Express Adapter (rev 01)
        Subsystem: ABIT Computer Corp. Unknown device 1033
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at dfbf0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 
Enable-
        Capabilities: [60] Express Legacy Endpoint IRQ 0
        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel

Debugging ath_info shows that status in ath5k_hw_eeprom_read() is
0xffffffff, so it exits immediately, without timeout.

-- 
Regards,
Pavel Roskin
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to