Date: Sun, 8 Feb 2004 22:40:36 -0500 From: Suleiman Souhlal <refugee@segfaulted.com> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook Message-ID: <20040208224036.6f1fb172@zZzZ.segfaulted.com> In-Reply-To: <402450B7.9030106@freebsd.org> References: <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> <20040206013218.4eb1cd37@zZzZ.segfaulted.com> <40235C60.9010509@freebsd.org> <20040206115743.2f6ad7af@zZzZ.segfaulted.com> <402450B7.9030106@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hi again,
On Sat, 07 Feb 2004 12:43:03 +1000
Peter Grehan <grehan@freebsd.org> wrote:
> Patch attached: let me know if it works and I'll commit it.
I made a small addition to the patch: BTIC should be disabled on the
7457 too, according to the errata document.
Suleiman Souhlal
[-- Attachment #2 --]
Index: src/sys/powerpc/powerpc/cpu.c
===================================================================
RCS file: /home/ncvs/src/sys/powerpc/powerpc/cpu.c,v
retrieving revision 1.3
diff -r1.3 cpu.c
94a95
> { "Motorola PowerPC 7457", MPC7457, REVFMT_MAJMIN },
175a177
> case MPC7457:
178,179c180,182
< /* Disable BTIC on 7450 Rev 2.0 or earlier */
< if ((pvr >> 16) == MPC7450 && (pvr & 0xFFFF) <= 0x0200)
---
> /* Disable BTIC on 7450 Rev 2.0 or earlier and on 7457 */
> if (((pvr >> 16) == MPC7450 && (pvr & 0xFFFF) <= 0x0200)
> || ((pvr >> 16) == MPC7457))
212a216
> case MPC7457:
226a231
> case MPC7457:
307c312,314
< if (vers == MPC7450 || vers == MPC7455) {
---
> if (vers == MPC7450 ||
> vers == MPC7455 ||
> vers == MPC7457) {
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040208224036.6f1fb172>
