[PATCH 12/16] m68k/mac: fix powerbook 150 adb_type

Finn Thain
2011-10-23T14:12:10Z

[-- Attachment #1: pb150-adb_type --]
[-- Type: text/plain, Size: 863 bytes --]

The PowerBook 150 is a actually a Duo underneath. Fix the adb_type.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>

---

The kernel doesn't actually treat MAC_ADB_PB1 any differently to MAC_ADB_PB2 hardware and so the PMU driver doesn't work on "V1" PMU hardware. It does work on the PowerBook 150, as that's actually V2.

Index: linux-m68k/arch/m68k/mac/config.c
===================================================================
--- linux-m68k.orig/arch/m68k/mac/config.c 2011-10-22 23:02:39.000000000 +1100
+++ linux-m68k/arch/m68k/mac/config.c 2011-10-23 00:51:01.000000000 +1100
@@ -674,7 +674,7 @@ static struct mac_model mac_data_table[]
}, {
.ident = MAC_MODEL_PB150,
.name = "PowerBook 150",
- .adb_type = MAC_ADB_PB1,
+ .adb_type = MAC_ADB_PB2,
.via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD,
.ide_type = MAC_IDE_PB,