Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/oea provide a BAT mapping for the PCI IO ra...



details:   https://anonhg.NetBSD.org/src/rev/c3ce04651c41
branches:  trunk
changeset: 779178:c3ce04651c41
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue May 08 05:15:45 2012 +0000

description:
provide a BAT mapping for the PCI IO range on Grackle/Heathrow based macs
now drivers that need PCI IO access work again

diffstat:

 sys/arch/powerpc/oea/ofwoea_machdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9e3c0abcd191 -r c3ce04651c41 sys/arch/powerpc/oea/ofwoea_machdep.c
--- a/sys/arch/powerpc/oea/ofwoea_machdep.c     Tue May 08 02:25:25 2012 +0000
+++ b/sys/arch/powerpc/oea/ofwoea_machdep.c     Tue May 08 05:15:45 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofwoea_machdep.c,v 1.28 2012/02/16 07:59:46 matt Exp $ */
+/* $NetBSD: ofwoea_machdep.c,v 1.29 2012/05/08 05:15:45 macallan Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.28 2012/02/16 07:59:46 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofwoea_machdep.c,v 1.29 2012/05/08 05:15:45 macallan Exp $");
 
 #include "opt_ppcarch.h"
 #include "opt_compat_netbsd.h"
@@ -419,6 +419,7 @@
        oea_batinit(0x80000000, BAT_BL_1G,
                    0xf0000000, BAT_BL_128M,
                    0xf8000000, BAT_BL_64M,
+                   0xfe000000, BAT_BL_8M,      /* Grackle IO */
                    0);
 #else
        uint16_t bitmap;



Home | Main Index | Thread Index | Old Index