Skip to contentSkip to conversation

Mac devices on PREP

PATCH Bastian Blank 3 participants 3 messages Jan 28, 2007 Linux for power macintosh

lore
Share & tools
lore
#0 lore raw

Hi folks

Currently, the whole bunch of macintosh devices (drivers/macintosh) are listed to be available on all ppc variants. Some of them does not build for prep.

The attached patch restricts the whole bunch to PPC_PMAC. I'm not sure if this is the correct fix.

Bastian

drivers/macintosh/Kconfig +1 -1
index a9e747c..0653b3a 100644
@@ -1,6 +1,6 @@
 
 menu "Macintosh device drivers"
-	depends on PPC || MAC
+	depends on PPC_PMAC || MAC
 
 config ADB
 	bool "Apple Desktop Bus (ADB) support"
Signature · 2 lines
Humans do claim a great deal for that particular emotion (love).
		-- Spock, "The Lights of Zetar", stardate 5725.6
#1 lore raw
Quoted 6 lines · Bastian Blank

Currently, the whole bunch of macintosh devices (drivers/macintosh) are listed to be available on all ppc variants. Some of them does not build for prep.

The attached patch restricts the whole bunch to PPC_PMAC. I'm not sure if this is the correct fix.

I don't know if it still works, but there used to be support for ADB on CHRP hardware. I don't have any such hardware to check, so someone else will have to comment on that. This is one reason I suggested moving ADB out of drivers/macintosh, but at the time there was disagreement on that and I never finished the patch I was work on anyway.

Perhaps it should be (PPC_PMAC || PPC_CHRP || MAC) instead as a simple fix to prevent it from building on prep.

Brad Boyer
[email protected]

#2 lore raw
Quoted 15 lines · Brad Boyer
Quoted 6 lines · Bastian Blank

Currently, the whole bunch of macintosh devices (drivers/macintosh) are listed to be available on all ppc variants. Some of them does not build for prep.

The attached patch restricts the whole bunch to PPC_PMAC. I'm not sure if this is the correct fix.

I don't know if it still works, but there used to be support for ADB on CHRP hardware. I don't have any such hardware to check, so someone else will have to comment on that. This is one reason I suggested moving ADB out of drivers/macintosh, but at the time there was disagreement on that and I never finished the patch I was work on anyway.

Quoted 3 lines

Perhaps it should be (PPC_PMAC || PPC_CHRP || MAC) instead as a simple fix to prevent it from building on prep.

I don't know what the situation is now, but I'm almost certain that, once upon a time it was possible to build a kernel that would boot on Mac, CHRP and PReP. To be precise, it was the same kernel image included in different boot wrappers.

Gabriel