From owner-freebsd-current@FreeBSD.ORG Tue May 16 07:20:51 2006 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 8AF5F16A403 for ; Tue, 16 May 2006 07:20:51 +0000 (UTC) (envelope-from current@dino.sk) Received: from mail.netlab.sk (mail.netlab.sk [213.215.72.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E82BD43D46 for ; Tue, 16 May 2006 07:20:50 +0000 (GMT) (envelope-from current@dino.sk) Received: from [192.168.16.13] (home.dino.sk [213.215.74.194]) (AUTH: PLAIN milan@netlab.sk, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mail.netlab.sk with esmtp; Tue, 16 May 2006 09:26:06 +0200 id 00289C12.44697E8E.000108B3 From: Milan Obuch To: freebsd-current@freebsd.org Date: Tue, 16 May 2006 09:20:32 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200605160920.33323.current@dino.sk> Subject: Weird thing - pciconf reading differs in two systems 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, 16 May 2006 07:20:51 -0000 Hi, I was trying to test miniPCI atheros-based card in wrap, using 7-CURRENT. S= ome=20 time ago, it attached as ath0, I did some configuration and it looked OK.=20 Yesterday, I tested it again with system built from sources cvsupped at May= =20 12. No attachment, pciconf -lv said (relevant device) none0@pci0:13:0: class=3D0x020000 card=3D0x00000000 chip=3D0xff16168c rev= =3D0x01=20 hdr=3D0x00 vendor =3D 'Atheros Communications Inc.' class =3D network subclass =3D ethernet =46rom some earlier conversation I got chips with ID beginning 0xFF are=20 pre-production and should not be used. Just out of curiosity I put this card in my tablet TC1000, with system buil= t=20 from sources cvsupped at May 15 and got ath0@pci0:10:0: class=3D0x020000 card=3D0x000d17f9 chip=3D0x001b168c rev=3D= 0x01=20 hdr=3D0x00 This makes me wonder - how could the same card be identified as two differe= nt=20 devices? I tested the same card, then another one and the result is the sam= e.=20 Working in my tablet, not working in WRAP. There is one difference, however= -=20 kernel in WRAP has ath built-in, in my tablet I am kldloading it. If it were the other way round, I would be happier - I can use those cards = for=20 some radio links, but it would not be less surprising. Any ideas? Regards, Milan =2D-=20 No need to mail me directly. Just reply to mailing list, please.