Date: Wed, 27 Nov 2002 09:49:34 -0700 (MST) From: "M. Warner Losh" <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 Message-ID: <20021127.094934.33850159.imp@bsdimp.com> In-Reply-To: <XFMail.20021127083336.jhb@FreeBSD.org> References: <20021126.215220.91026914.imp@bsdimp.com> <XFMail.20021127083336.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <XFMail.20021127083336.jhb@FreeBSD.org> John Baldwin <jhb@FreeBSD.org> writes: : : On 27-Nov-2002 M. Warner Losh wrote: : > In message: <XFMail.20021126114120.jhb@FreeBSD.org> : > John Baldwin <jhb@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021127.094934.33850159.imp>