Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 23:21:40 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/pci pci_pci.c pcib_private.h
Message-ID:  <20040110232115.R49720@root.org>
In-Reply-To: <20040111065246.651CF16A4F9@hub.freebsd.org>
References:  <20040111065246.651CF16A4F9@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Jan 2004, Warner Losh wrote:
>   Modified files:
>     sys/dev/pci          pci_pci.c pcib_private.h
>   Log:
>   Add support for subtractive decoding bridges.  These bridges pass all
>   signals to addresses to the child busses.  Typically, ProgIf of 1
>   means a subtractive bridge.  However, Intel has a whole lot of ones
>   with a ProgIf of 80 that are also subtractive.  We cope with these
>   bridges too.  This eliminates hw.pci.allow_unsupported_io_range
>   because that had almost the same effect as these patches (almost means
>   'buggy').  Remove the bogus checks for ISA bus locations: these cycles
>   aren't special and are only passed by transparent bridges.
>
>   We allow any range to succeed.  If the range is a superset of the
>   range that's decoded, trim the resource to that range.  Otherwise,
>   pass the range unchanged.  This will change the location that PC Card
>   and CardBus cards are attached.  This might bogusly cause some
>   overlapping allocation that wasn't present before, but the overlapping
>   fixes need to be in the pci level.
>
>   There's also a few formatting changes here.
>
>   Revision  Changes    Path
>   1.29      +126 -159  src/sys/dev/pci/pci_pci.c
>   1.6       +2 -0      src/sys/dev/pci/pcib_private.h

Woo hoo!  Scary also.  :)

-Nate



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