From: Paul Mackerras MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <15227.631.494933.982093@cargo.ozlabs.ibm.com> Date: Thu, 16 Aug 2001 09:15:03 +1000 (EST) To: Tom Rini Cc: Scott Carroll , linuxppc-dev@lists.linuxppc.org Subject: Re: Power3 problem? In-Reply-To: <20010815150115.A25310@cpe-24-221-152-185.az.sprintbbd.net> References: <20010815145449.A16297@entropy.crashing.org> <20010815150115.A25310@cpe-24-221-152-185.az.sprintbbd.net> Reply-To: paulus@samba.org Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Tom Rini writes: > Arg! I just fixed this, but the problem is this. I took > arch/ppc/kernel/l2cr.o out of the always-compiled list, and made it > compile only for CONFIG_6xx (which is 6xx/7xx/74xx/82xx) since only > 740/750 and 74xx (more or less) can make use of this. The problem is > that Power3 and Power4 pretend to be CONFIG_ALL_PPC, so that they can Well POWER3/4 aren't just pretending to be CONFIG_ALL_PPC, they *are* CONFIG_ALL_PPC since they *are* CHRP machines. Not all CHRPs are 6xx (actually POWER3 is a PPC630 or PPC630+ so it *is* 6xx in a sense). > be a chrp machine easily. The best way to fix this, I think would be to > make the arch/ppc/kernel/chrp_* files compile without needed pmac_*, > so that these machines could just work. Paul, does this sound like > a sane plan to you? Nope. :) Not unless we want to start having separate configs for prep, pmac and chrp again like we used to. Which is not impossible but it would be a fair bit of work. The fix you pushed (to include l2cr.o for CONFIG_ALL_PPC) is fine. Paul. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/