From owner-freebsd-hackers Wed Nov 27 8:50:16 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 BAE6037B43D; Wed, 27 Nov 2002 08:50:14 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BC5643ED8; Wed, 27 Nov 2002 08:50:14 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gARGoCpk057489; Wed, 27 Nov 2002 09:50:12 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 27 Nov 2002 09:49:34 -0700 (MST) Message-Id: <20021127.094934.33850159.imp@bsdimp.com> To: jhb@FreeBSD.org Cc: freebsd-hackers@FreeBSD.org, funcke@nano-system.com Subject: Re: Correct way to get hold of a isab From: "M. Warner Losh" In-Reply-To: References: <20021126.215220.91026914.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: John Baldwin writes: : : On 27-Nov-2002 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); : > } : > : > so a specific driver should return : : Ah, good. That is in -current though, in -stable it returns : 0. :) It is easier in -stable to change it to return -1000 than to do other hacks he was talking about :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message