PERFORCE change 221608 for review

Bjoern A. Zeeb bz at FreeBSD.org
Wed Jan 30 14:18:19 UTC 2013


http://p4web.freebsd.org/@@221608?ac=10

Change 221608 by bz at bz_zenith on 2013/01/30 14:17:59

	Make this region shareable so that atse(4) can read it to get the
	Ethernet address(es) for now.  Having a loader will solve this
	properly.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/dev/isf/isf_fdt.c#5 edit
.. //depot/projects/ctsrd/beribsd/src/sys/dev/isf/isf_nexus.c#8 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/dev/isf/isf_fdt.c#5 (text+ko) ====

@@ -83,7 +83,7 @@
 	sc->isf_unit = device_get_unit(dev);
 	sc->isf_rid = 0;
 	sc->isf_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
-	    &sc->isf_rid, RF_ACTIVE);
+	    &sc->isf_rid, RF_ACTIVE | RF_SHAREABLE);
 	if (sc->isf_res == NULL) {
 		device_printf(dev, "couldn't map memory\n");
 		return (ENXIO);

==== //depot/projects/ctsrd/beribsd/src/sys/dev/isf/isf_nexus.c#8 (text+ko) ====

@@ -77,7 +77,7 @@
 	sc->isf_unit = device_get_unit(dev);
 	sc->isf_rid = 0;
 	sc->isf_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
-	    &sc->isf_rid, RF_ACTIVE);
+	    &sc->isf_rid, RF_ACTIVE | RF_SHAREABLE);
 	if (sc->isf_res == NULL) {
 		device_printf(dev, "couldn't map memory\n");
 		return (ENXIO);


More information about the p4-projects mailing list