From owner-freebsd-current@FreeBSD.ORG Tue May 23 19:22:34 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 841D116A9B2 for ; Tue, 23 May 2006 19:22:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3D3143D72 for ; Tue, 23 May 2006 19:22:27 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4NJKBJW093952; Tue, 23 May 2006 13:20:11 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 13:20:11 -0600 (MDT) Message-Id: <20060523.132011.48440982.imp@bsdimp.com> To: michal.vanco@satro.sk From: Warner Losh In-Reply-To: <200605231944.45822.michal.vanco@satro.sk> References: <200605231904.52081.michal.vanco@satro.sk> <20060523.111519.59744682.imp@bsdimp.com> <200605231944.45822.michal.vanco@satro.sk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp-2 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Atheros 5212 in 6.1-REL 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, 23 May 2006 19:22:45 -0000 From: Michal Van$,1 -(Bo Subject: Re: Atheros 5212 in 6.1-REL Date: Tue, 23 May 2006 19:44:45 +0200 > On Tuesday 23 May 2006 19:15, Warner Losh wrote: > > Try the following hack: > > > > Index: pccbb_pci.c > > =================================================================== > > RCS file: /home/imp/FreeBSD/CVS/src/sys/dev/pccbb/pccbb_pci.c,v > > retrieving revision 1.15 > > diff -c -r1.15 pccbb_pci.c > > *** pccbb_pci.c 8 Oct 2005 06:58:51 -0000 1.15 > > --- pccbb_pci.c 23 May 2006 17:13:31 -0000 > > *************** > > *** 300,306 **** > > static int > > cbb_pci_attach(device_t brdev) > > { > > - static int curr_bus_number = 2; /* XXX EVILE BAD (see below) */ > > + static int curr_bus_number = 3; /* XXX EVILE BAD (see below) */ > > struct cbb_softc *sc = (struct cbb_softc *)device_get_softc(brdev); > > int rid, bus, pribus; > > device_t parent; > > > > great. thank you very very much for your help. my atheros card is now up and > running. > > here is my dmesg after your hack > > once again. thank you very much Dang. I was hoping it wasn't *THAT* issue :-(. I guess I gotta fix it right now... Warner