Date: Fri, 7 Apr 2006 05:44:14 GMT From: John-Mark Gurney <jmg@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 94754 for review Message-ID: <200604070544.k375iEci003331@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94754 Change 94754 by jmg@jmg_arlene on 2006/04/07 05:43:37 use 32bit address instead of 64bit.. sun4v doesn't like to address 32bit addresses in the 64bit range, this gets hvio_peek no longer setting the error flag! Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#25 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#25 (text+ko) ==== @@ -228,9 +228,6 @@ break; case OFW_PCI_CS_MEM32: - continue; - - case OFW_PCI_CS_MEM64: rmanp = &sc->hs_pci_mem_rman; rmanp->rm_descr = "HyperVisor PCI Memory"; btp = &sc->hs_pci_memt; @@ -239,6 +236,9 @@ type = PCI_MEMORY_BUS_SPACE; break; + case OFW_PCI_CS_MEM64: + continue; + default: panic("%s: unknown range type: %d", __func__, OFW_PCI_RANGE_CS(&range[i]));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604070544.k375iEci003331>