2004-04-28 07:43:35

by Meelis Roos

[permalink] [raw]
Subject: [2.6 PATCH] PPC32: more Carolina IDE

PREP_IBM_CAROLINA_IDE_3 was added to C code but not to the headers. The
following patch makes it compile but pease check the constant value - I
only interpolated it :)

===== arch/ppc/platforms/prep_setup.c 1.44 vs edited =====
--- 1.44/arch/ppc/platforms/prep_setup.c Thu Apr 8 02:02:57 2004
+++ edited/arch/ppc/platforms/prep_setup.c Wed Apr 28 10:40:33 2004
@@ -134,6 +134,7 @@
#define PREP_IBM_CAROLINA_IDE_0 0xf0
#define PREP_IBM_CAROLINA_IDE_1 0xf1
#define PREP_IBM_CAROLINA_IDE_2 0xf2
+#define PREP_IBM_CAROLINA_IDE_3 0xf3
/* 7248-43P */
#define PREP_IBM_CAROLINA_SCSI_0 0xf4
#define PREP_IBM_CAROLINA_SCSI_1 0xf5

--
Meelis Roos ([email protected])


2004-04-28 14:59:28

by Tom Rini

[permalink] [raw]
Subject: Re: [2.6 PATCH] PPC32: more Carolina IDE

On Wed, Apr 28, 2004 at 10:43:30AM +0300, Meelis Roos wrote:

> PREP_IBM_CAROLINA_IDE_3 was added to C code but not to the headers. The
> following patch makes it compile but pease check the constant value - I
> only interpolated it :)

Yes, this is fine. See http://lkml.org/lkml/2004/4/27/208 and akpm has
already passed this along to Linus.

--
Tom Rini
http://gate.crashing.org/~trini/