aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2013-07-24 02:01:01 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2013-07-24 02:01:01 +0000
commit15b5b0aca529665f1d8ee74bdf46d33ee816974e (patch)
tree74cf57b06c5751ddbcfc90ee799573579becb0fe /sys/powerpc
parent90776bd7302eeeccc691be8969651d2de0fd0373 (diff)
downloadsrc-15b5b0aca529665f1d8ee74bdf46d33ee816974e.tar.gz
src-15b5b0aca529665f1d8ee74bdf46d33ee816974e.zip
Increase the size of the OFW bounce buffer to 4 pages. With this I can now run
'ofwdump -ap' on my quad G5. MFC after: 9.2 branch
Notes
Notes: svn path=/head/; revision=253588
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/ofw/ofw_real.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/ofw/ofw_real.c b/sys/powerpc/ofw/ofw_real.c
index f4066c2cf7b5..210f9133d53f 100644
--- a/sys/powerpc/ofw/ofw_real.c
+++ b/sys/powerpc/ofw/ofw_real.c
@@ -210,12 +210,12 @@ ofw_real_bounce_alloc(void *junk)
mtx_lock(&of_bounce_mtx);
- of_bounce_virt = contigmalloc(PAGE_SIZE, M_OFWREAL, 0, 0,
+ of_bounce_virt = contigmalloc(4 * PAGE_SIZE, M_OFWREAL, 0, 0,
ulmin(platform_real_maxaddr(), BUS_SPACE_MAXADDR_32BIT), PAGE_SIZE,
- PAGE_SIZE);
+ 4 * PAGE_SIZE);
of_bounce_phys = vtophys(of_bounce_virt);
- of_bounce_size = PAGE_SIZE;
+ of_bounce_size = 4 * PAGE_SIZE;
/*
* For virtual-mode OF, direct map this physical address so that