Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 12:34:19 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        funcke@nano-system.com, freebsd-hackers@FreeBSD.org
Subject:   Re: Correct way to get hold of a isab
Message-ID:  <XFMail.20021127123419.jhb@FreeBSD.org>
In-Reply-To: <20021127.094934.33850159.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27-Nov-2002 M. Warner Losh wrote:
> 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 :-)

True enough I guess.  You can go for it. :)

-- 

John Baldwin <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021127123419.jhb>