[PATCH] ppc32: Fix sleep on old 101 PowerBook
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 May 2005 02:43:54 +0000 (19:43 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 May 2005 02:43:54 +0000 (19:43 -0700)
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.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/platforms/pmac_feature.c

index be41f6fa66a210d93a521400489a17ab486e582a..f0bb3d39b6866de1237e583d74824d1c2425beec 100644 (file)
@@ -2249,7 +2249,7 @@ static struct pmac_mb_def pmac_mb_defs[] __pmacdata = {
        },
        {       "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,