[Cbe-oss-dev] ps3 experimental patches updated

Geoff Levand geoffrey.levand at am.sony.com
Sat Jan 6 06:15:58 EST 2007


Florin Malita wrote:
> I tried this against 
> powerpc.git/cc016448b0bf0764928275d034e367753bde8162 (from 12/14/2006) 
> but no luck with USB so far. Any ideas?


Could you apply this patch and post any output for ps3_mm_region_create
and ps3_mm_vas_create?  Should be the first few lines after boot, but I
am not sure if printk will work that early.

-Geoff

--- ps3-linux-dev.orig/arch/powerpc/platforms/ps3/mm.c
+++ ps3-linux-dev/arch/powerpc/platforms/ps3/mm.c
@@ -17,6 +17,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
+#define DEBUG
 
 #include <linux/kernel.h>
 #include <linux/module.h>
@@ -31,7 +32,7 @@
 #include "platform.h"
 
 #if defined(DEBUG)
-#define DBG(fmt...) udbg_printf(fmt)
+#define DBG(fmt...) printk(fmt)
 #else
 #define DBG(fmt...) do{if(0)printk(fmt);}while(0)
 #endif




More information about the cbe-oss-dev mailing list