From owner-freebsd-hackers Wed Nov 27 2:14:13 2002 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 2A9F437B401 for ; Wed, 27 Nov 2002 02:14:12 -0800 (PST) Received: from nano-system.com (as3-4-6.far.s.bonet.se [217.215.64.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3576643EAF for ; Wed, 27 Nov 2002 02:14:05 -0800 (PST) (envelope-from zaiberd@nano-system.com) Received: (from zaiberd@localhost) by Wed Nov 27 11:20:07 2002nano-system.com (8.11.6/8.11.6) id gARAK7x03839 for freebsd-hackers@FreeBSD.ORG; Wed, 27 Nov 2002 11:20:07 +0100 (CET) Date: Wed, 27 Nov 2002 11:20:07 +0100 From: Alexander Funcke To: freebsd-hackers@FreeBSD.ORG Subject: Re: Correct way to get hold of a isab Message-ID: <20021127102006.GF1063@gothis.peppernet.se> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20021126111427.GB1063@gothis.peppernet.se> <20021126.215220.91026914.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021126.215220.91026914.imp@bsdimp.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 26, 2002 at 09:52:20PM -0700, M. Warner Losh wrote: > In message: > John Baldwin writes: > : Does this device have a class of PCIC_BRIDGE and subclass of PCIS_BRIDGE_ISA? > : (class of 0x0601zz where zz is any value). If so it is claiming to be a > : PCI-ISA bridge. If this device is not a PCI-ISA bridge, then it shouldn't > : claim to be one. If it is a PCI-ISA bridge then you do need to use that > : kind of hack for now. > > Well, already isab_probe returns: > if (matched) { > device_set_desc(dev, "PCI-ISA bridge"); > return(-10000); > } I've been stuck with a RELENG_4 cvs tree, where isab_probe didn't do so much more than call isab_match/eisab_match. So I didn't quite grasp this, but I can see why now. > > so a specific driver should return -100. Ok. thanks, /Alexander > > Warner > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message