From owner-freebsd-current@FreeBSD.ORG Tue Oct 18 16:38:00 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44DDE16A41F for ; Tue, 18 Oct 2005 16:38:00 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAC6F43D48 for ; Tue, 18 Oct 2005 16:37:59 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.200] ([10.0.0.200]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j9IGbspU054651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Oct 2005 09:37:54 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <435524D2.1050306@errno.com> Date: Tue, 18 Oct 2005 09:37:38 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050927) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Niki Denev References: <200510181233.47769.nike_d@cytexbg.com> <43551DF7.3060000@errno.com> <43552124.2030400@cytexbg.com> In-Reply-To: <43552124.2030400@cytexbg.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: ath not setting media type? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 16:38:00 -0000 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: 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@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