Skip to contentSkip to conversation

ppc32: Fix sleep on old 101 PowerBook

PATCH New Benjamin Herrenschmidt 1 participant 1 message May 2, 2005 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc32: Fix sleep on old 101 PowerBook

Hi !

A typo in the machine table incorrectly mark the 101 PowerBook as needing explicit callback from the video driver to enable sleep mode. I did not implement that mecanism for chipsest older than r128, so we need to mark this machine as always beeing able to sleep for now.

arch/ppc/platforms/pmac_feature.c +1 -1
Index: linux-work/arch/ppc/platforms/pmac_feature.c
===================================================================
@@ -2249,7 +2249,7 @@
 	},
 	{	"PowerBook1,1",			"PowerBook 101 (Lombard)",
 		PMAC_TYPE_101_PBOOK,		paddington_features,
-		PMAC_MB_MAY_SLEEP | PMAC_MB_MOBILE
+		PMAC_MB_CAN_SLEEP | PMAC_MB_MOBILE
 	},
 	{	"PowerBook2,1",			"iBook (first generation)",
 		PMAC_TYPE_ORIG_IBOOK,		core99_features,