Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE...



details:   https://anonhg.NetBSD.org/src/rev/c9a655002979
branches:  trunk
changeset: 481310:c9a655002979
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Jan 25 22:31:06 2000 +0000

description:
use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
(XXX is the hack still necessary?)

diffstat:

 sys/dev/pci/if_fxp_pci.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a03eef97f4e8 -r c9a655002979 sys/dev/pci/if_fxp_pci.c
--- a/sys/dev/pci/if_fxp_pci.c  Tue Jan 25 22:30:04 2000 +0000
+++ b/sys/dev/pci/if_fxp_pci.c  Tue Jan 25 22:31:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_fxp_pci.c,v 1.3 1999/12/12 17:46:37 thorpej Exp $   */
+/*     $NetBSD: if_fxp_pci.c,v 1.4 2000/01/25 22:31:06 drochner Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -176,7 +176,7 @@
            pci_mapreg_info(pa->pa_pc, pa->pa_tag, FXP_PCI_MMBA,
            PCI_MAPREG_TYPE_MEM|PCI_MAPREG_MEM_TYPE_32BIT,
            &addr, &size, &flags) == 0) {
-               flags &= ~BUS_SPACE_MAP_CACHEABLE;
+               flags &= ~BUS_SPACE_MAP_PREFETCHABLE;
                if (bus_space_map(memt, addr, size, flags, &memh) == 0)
                        memh_valid = 1;
        }



Home | Main Index | Thread Index | Old Index