From owner-freebsd-hackers@FreeBSD.ORG Mon May 12 21:43:42 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A858737B401 for ; Mon, 12 May 2003 21:43:42 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D14D543F75 for ; Mon, 12 May 2003 21:43:41 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4D4hNkA021074; Mon, 12 May 2003 22:43:41 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 12 May 2003 22:42:45 -0600 (MDT) Message-Id: <20030512.224245.21920520.imp@bsdimp.com> To: dirkx@webweaving.org From: "M. Warner Losh" In-Reply-To: <20030512005003.I14032-100000@foem> References: <20030512005003.I14032-100000@foem> X-Mailer: Mew version 2.1 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-hackers@freebsd.org Subject: Re: wi(4)/mini-PCI senao / not always initialized on boot. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 04:43:42 -0000 In message: <20030512005003.I14032-100000@foem> Dirk-Willem van Gulik writes: : : With a mini-PCI formfactor wi(4) card (Senao) I am seeing : : wi0: mem 0xa0000000-0xa0000fff irq 10 at device 16.0 on pci0 : wi0: CSR_READ_2(WI_HFA384X_SWSUPPORT0_OFF) wanted 18989, got 65535 : device_probe_and_attach: wi0 attach returned 6 : : on roughly 4 out of very 5 reboots. A few extra reboot/powercycles seems : to get me past it. Long/short/cold/warm resets or reboots seem not to : clearly affect when one gets through successfully. : : I already tried adding some of the COR reset code (bit 7) to the native : PCI branch in wi_pci_attach() but to no avail sofar. : : Any suggestion as to what this might be - and/or where I should look ? Are you sure you are resetting the COR at the right place in the pci space? It is at a different location on native pci than on the PLX. Warner