From owner-freebsd-hackers Wed Nov 27 9:34:20 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 8757A37B401 for ; Wed, 27 Nov 2002 09:34:19 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id D777A43EA9 for ; Wed, 27 Nov 2002 09:34:18 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 20742 invoked from network); 27 Nov 2002 17:34:21 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Nov 2002 17:34:21 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gARHYGuH017109; Wed, 27 Nov 2002 12:34:16 -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: <20021127.094934.33850159.imp@bsdimp.com> Date: Wed, 27 Nov 2002 12:34:19 -0500 (EST) From: John Baldwin To: "M. Warner Losh" Subject: Re: Correct way to get hold of a isab Cc: funcke@nano-system.com, freebsd-hackers@FreeBSD.org 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: >: >: 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 :-) True enough I guess. You can go for it. :) -- 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