Author: jhibbits
Date: Thu Oct 17 05:44:15 2013
New Revision: 256665
URL: http://svnweb.freebsd.org/changeset/base/256665

Log:
  MFC r253588
  
  Increase the size of the OFW bounce buffer to 4 pages.  With this I can now 
run
  'ofwdump -ap' on my quad G5.

Modified:
  stable/9/sys/powerpc/ofw/ofw_real.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/powerpc/ofw/ofw_real.c
==============================================================================
--- stable/9/sys/powerpc/ofw/ofw_real.c Thu Oct 17 05:43:28 2013        
(r256664)
+++ stable/9/sys/powerpc/ofw/ofw_real.c Thu Oct 17 05:44:15 2013        
(r256665)
@@ -211,12 +211,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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to