PERFORCE change 51597 for review
M. Warner Losh
imp at bsdimp.com
Thu Apr 22 22:33:44 PDT 2004
In message: <200404230321.i3N3LxhW010292 at repoman.freebsd.org>
Marcel Moolenaar <marcel at freebsd.org> writes:
: http://perforce.freebsd.org/chv.cgi?CH=51597
:
: Change 51597 by marcel at marcel_nfs on 2004/04/22 20:21:30
:
: Provide a stopgap fix for the sparc64 ebus breakage
: due to the PCI mega-commit. Soon to appear in a CVS
: repository near you.
:
: Affected files ...
:
: .. //depot/projects/gdb/sys/dev/pci/pci.c#7 edit
:
: Differences ...
:
: ==== //depot/projects/gdb/sys/dev/pci/pci.c#7 (text+ko) ====
:
: @@ -825,6 +825,12 @@
: if (base == 0)
: return 1;
:
: + /* Sun EBus bridges contain the ranges for the devices beyond them */
: + if ((pci_get_class(dev) == PCIC_BRIDGE) &&
: + (pci_get_vendor(dev) == 0x108e) &&
: + (pci_get_device(dev) == 0x1000 || pci_get_device(dev) == 0x1100))
: + return 1;
: +
: start = base;
: end = base + (1 << ln2size) - 1;
: count = 1 << ln2size;
Shouldn't the ebus bridge device be allocating the resources and
giving them to their children? This isn't the right fix and I'd like
to work with you to the fix at the right level...
Warner
More information about the p4-projects
mailing list