From owner-freebsd-current@FreeBSD.ORG Tue May 23 17:16:28 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 95A9016A886 for ; Tue, 23 May 2006 17:16:28 +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 39BCD43D45 for ; Tue, 23 May 2006 17:16:28 +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 k4NHFJ5s092442; Tue, 23 May 2006 11:15:19 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 May 2006 11:15:19 -0600 (MDT) Message-Id: <20060523.111519.59744682.imp@bsdimp.com> To: michal.vanco@satro.sk From: Warner Losh In-Reply-To: <200605231904.52081.michal.vanco@satro.sk> References: <200605231552.08317.michal.vanco@satro.sk> <20060523.084445.74659709.imp@bsdimp.com> <200605231904.52081.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=us-ascii 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 17:16:31 -0000 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; and let me know if that helps. Looks like two bridges are claiming to have a bus 2 on them. The other problem may be related to where we map the CIS of the card to read it in. However, IIRC, 6.1 doesn't consider mapping failure to be a problem at all... If the above doesn't help, that's the next line of attack. Warner