PERFORCE change 94754 for review

John-Mark Gurney jmg at FreeBSD.org
Fri Apr 7 05:44:15 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=94754

Change 94754 by jmg at 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]));


More information about the p4-projects mailing list