linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Mac devices on PREP
  2007-01-28 12:01 Mac devices on PREP Bastian Blank
@ 2007-01-27 22:24 ` Brad Boyer
  2007-01-28 19:23   ` Gabriel Paubert
  0 siblings, 1 reply; 3+ messages in thread
From: Brad Boyer @ 2007-01-27 22:24 UTC (permalink / raw)
  To: debian-kernel, linuxppc-dev

On Sun, Jan 28, 2007 at 01:01:26PM +0100, Bastian Blank wrote:
> 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
	flar@allandria.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Mac devices on PREP
@ 2007-01-28 12:01 Bastian Blank
  2007-01-27 22:24 ` Brad Boyer
  0 siblings, 1 reply; 3+ messages in thread
From: Bastian Blank @ 2007-01-28 12:01 UTC (permalink / raw)
  To: debian-kernel, linuxppc-dev; +Cc: luther

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

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

diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index a9e747c..0653b3a 100644
--- a/drivers/macintosh/Kconfig
+++ b/drivers/macintosh/Kconfig
@@ -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"
-- 
Humans do claim a great deal for that particular emotion (love).
		-- Spock, "The Lights of Zetar", stardate 5725.6

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Mac devices on PREP
  2007-01-27 22:24 ` Brad Boyer
@ 2007-01-28 19:23   ` Gabriel Paubert
  0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Paubert @ 2007-01-28 19:23 UTC (permalink / raw)
  To: Brad Boyer; +Cc: linuxppc-dev, debian-kernel

On Sat, Jan 27, 2007 at 02:24:03PM -0800, Brad Boyer wrote:
> On Sun, Jan 28, 2007 at 01:01:26PM +0100, Bastian Blank wrote:
> > 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.
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-28 19:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-28 12:01 Mac devices on PREP Bastian Blank
2007-01-27 22:24 ` Brad Boyer
2007-01-28 19:23   ` Gabriel Paubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).