Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Fix compilation



details:   https://anonhg.NetBSD.org/src/rev/d368b710393d
branches:  trunk
changeset: 326969:d368b710393d
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Feb 24 10:50:40 2014 +0000

description:
Fix compilation

diffstat:

 sys/arch/arm/xscale/ixp425_pci_space.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5f3f7ec35f29 -r d368b710393d sys/arch/arm/xscale/ixp425_pci_space.c
--- a/sys/arch/arm/xscale/ixp425_pci_space.c    Mon Feb 24 10:47:46 2014 +0000
+++ b/sys/arch/arm/xscale/ixp425_pci_space.c    Mon Feb 24 10:50:40 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ixp425_pci_space.c,v 1.12 2014/02/22 20:33:00 matt Exp $ */
+/*     $NetBSD: ixp425_pci_space.c,v 1.13 2014/02/24 10:50:40 martin Exp $ */
 
 /*
  * Copyright (c) 2003
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixp425_pci_space.c,v 1.12 2014/02/22 20:33:00 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_pci_space.c,v 1.13 2014/02/24 10:50:40 martin Exp $");
 
 /*
  * bus_space PCI functions for ixp425
@@ -373,7 +373,7 @@
 /* mem bs */
 int
 ixp425_pci_mem_bs_map(void *t, bus_addr_t bpa, bus_size_t size,
-             int cacheable, bus_space_handle_t *bshp)
+             int flags, bus_space_handle_t *bshp)
 {
        const struct pmap_devmap        *pd;
 
@@ -403,7 +403,7 @@
        *bshp = va + offset;
 
        const int pmapflags =
-           (flag & (BUS_SPACE_MAP_CACHEABLE|BUS_SPACE_MAP_PREFETCHABLE))
+           (flags & (BUS_SPACE_MAP_CACHEABLE|BUS_SPACE_MAP_PREFETCHABLE))
                ? 0
                : PMAP_NOCACHE;
 



Home | Main Index | Thread Index | Old Index