--- nouveau_state.c~ 2008-02-01 11:11:49.000000000 +0900 +++ nouveau_state.c 2008-07-11 13:25:03.000000000 +0900 @@ -422,8 +422,8 @@ #if defined(__powerpc__) /* Put the card in BE mode if it's not */ - if (NV_READ(NV03_PMC_BOOT_1)) - NV_WRITE(NV03_PMC_BOOT_1,0x00000001); + if (!(NV_READ(NV03_PMC_BOOT_1) & 0x01000001)) + NV_WRITE(NV03_PMC_BOOT_1, 0x01000001); DRM_MEMORYBARRIER(); #endif