aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdt/simplebus.c
diff options
context:
space:
mode:
authorAleksandr Rybalko <ray@FreeBSD.org>2013-03-18 15:18:55 +0000
committerAleksandr Rybalko <ray@FreeBSD.org>2013-03-18 15:18:55 +0000
commit4117c1db9e4732cc9523afe6981160432ee21462 (patch)
tree859e57920ab8bdf55d6052da0e47a88967cdff53 /sys/dev/fdt/simplebus.c
parentda6b2089d515ec4096b49945538535e9a4e7f7ee (diff)
downloadsrc-4117c1db9e4732cc9523afe6981160432ee21462.tar.gz
src-4117c1db9e4732cc9523afe6981160432ee21462.zip
o Switch to use physical addresses in rman for FDT.
o Remove vtophys used to translate virtual address to physical in case rman carry virtual. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=248467
Diffstat (limited to 'sys/dev/fdt/simplebus.c')
-rw-r--r--sys/dev/fdt/simplebus.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c
index db9ade01a909..0a4a4a1f2dbc 100644
--- a/sys/dev/fdt/simplebus.c
+++ b/sys/dev/fdt/simplebus.c
@@ -179,7 +179,6 @@ simplebus_attach(device_t dev)
device_printf(dev,
"%s: could not process 'reg' "
"property\n", di->di_ofw.obd_name);
- /* XXX should unmap */
ofw_bus_gen_destroy_devinfo(&di->di_ofw);
free(di, M_SIMPLEBUS);
continue;
@@ -189,7 +188,6 @@ simplebus_attach(device_t dev)
device_printf(dev, "%s: could not process "
"'interrupts' property\n", di->di_ofw.obd_name);
resource_list_free(&di->di_res);
- /* XXX should unmap */
ofw_bus_gen_destroy_devinfo(&di->di_ofw);
free(di, M_SIMPLEBUS);
continue;
@@ -201,7 +199,6 @@ simplebus_attach(device_t dev)
device_printf(dev, "could not add child: %s\n",
di->di_ofw.obd_name);
resource_list_free(&di->di_res);
- /* XXX should unmap */
ofw_bus_gen_destroy_devinfo(&di->di_ofw);
free(di, M_SIMPLEBUS);
continue;