Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 14:18:17 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 221608 for review
Message-ID:  <201301301418.r0UEIHSv065285@skunkworks.freebsd.org>

index | next in thread | raw e-mail

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

Change 221608 by bz@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);


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301301418.r0UEIHSv065285>