ath not setting media type?

Sam Leffler sam at errno.com
Tue Oct 18 09:38:00 PDT 2005


Niki Denev wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sam Leffler wrote:
> 
>>Niki Denev wrote:
>>
>>
>>>Hello,
>>>
>>>while trying to get my new ath(4) mini-pci working on my (-current) TP
>>>X31, i encountered two problems:
>>>
>>>from what i understand if_ath.c does not set themedia type of the
>>>interface,
>>>and devd fails to match the notify section that calls dhclient.
>>>
>>>and the second is that devd does not print the media type when ran in
>>>debug
>>>mode .. it prints just :
>>>"Testing media type of  against 0x20"
>>>
>>>Sorry if this has been discussed previously.
>>>
>>>
>>
>>What does pciconf -lv show for the card?
>>
>>    Sam
>>
> 
> dmesg:
> ath0: <Atheros 5212> mem 0xc0200000-0xc020ffff irq 11 at device 2.0 on pci2
> ath0: Ethernet address: 00:05:4e:XX:XX:XX
> ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
> 
> 
> pciconf:
> ath0 at pci2:2:0:  class=0x020000 card=0x833117ab chip=0x1014168c rev=0x01
> hdr=0x00
>     vendor   = 'Atheros Communications Inc.'
>     device   = '11a/b/g Wireless LAN Mini PCI Adapter'
>     class    = network
>     subclass = ethernet
> 
> It's a original IBM mini-pci card (which actually is made by PHILIPS).

I use this card in a t42 w/o issue.  If ifconfig shows the device is a 
wireless card then devd will find the same info.  I can't recall what 
devd prints for debug msgs here.

	Sam



More information about the freebsd-current mailing list