Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/arch/cobalt/dev Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/f1631cb23bfc
branches:  netbsd-9
changeset: 1001542:f1631cb23bfc
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 02 07:58:57 2020 +0000

description:
Pull up following revision(s) (requested by thorpej in ticket #751):

        sys/arch/cobalt/dev/gt.c: revision 1.30

The PCI I/O space extent map needs to reflect the BUS_{START,END}
not the SYS_{START,END}.

This fixes mapping of the viaide DMA registers on my Qube2.

diffstat:

 sys/arch/cobalt/dev/gt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8b8ca34feddc -r f1631cb23bfc sys/arch/cobalt/dev/gt.c
--- a/sys/arch/cobalt/dev/gt.c  Mon Mar 02 07:55:24 2020 +0000
+++ b/sys/arch/cobalt/dev/gt.c  Mon Mar 02 07:58:57 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gt.c,v 1.29 2018/01/20 13:56:09 skrll Exp $    */
+/*     $NetBSD: gt.c,v 1.29.8.1 2020/03/02 07:58:57 martin Exp $       */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.29 2018/01/20 13:56:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.29.8.1 2020/03/02 07:58:57 martin Exp $");
 
 #include "opt_pci.h"
 #include "pci.h"
@@ -132,7 +132,7 @@
        pc->pc_bsh = sc->sc_bsh;
 
 #ifdef PCI_NETBSD_CONFIGURE
-       pc->pc_ioext = extent_create("pciio", 0x10001000, 0x11ffffff,
+       pc->pc_ioext = extent_create("pciio", 0x00001000, 0x01ffffff,
            NULL, 0, EX_NOWAIT);
        pc->pc_memext = extent_create("pcimem", 0x12000000, 0x13ffffff,
            NULL, 0, EX_NOWAIT);



Home | Main Index | Thread Index | Old Index