Date: Thu, 22 Apr 2004 20:21:59 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 51597 for review Message-ID: <200404230321.i3N3LxhW010292@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=51597 Change 51597 by marcel@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404230321.i3N3LxhW010292>