From owner-freebsd-hackers Wed Nov 27 5:33:40 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 49D7937B401 for ; Wed, 27 Nov 2002 05:33:39 -0800 (PST) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7951743EDA for ; Wed, 27 Nov 2002 05:33:33 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 29447 invoked from network); 27 Nov 2002 13:33:34 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Nov 2002 13:33:34 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gARDXWuH016376; Wed, 27 Nov 2002 08:33:32 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021126.215220.91026914.imp@bsdimp.com> Date: Wed, 27 Nov 2002 08:33:36 -0500 (EST) From: John Baldwin To: "M. Warner Losh" Subject: Re: Correct way to get hold of a isab Cc: freebsd-hackers@FreeBSD.ORG, funcke@nano-system.com 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 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. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message