Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Use right variable as revealed by previou...
details: https://anonhg.NetBSD.org/src/rev/3c912f77ddba
branches: trunk
changeset: 358925:3c912f77ddba
user: flxd <flxd%NetBSD.org@localhost>
date: Mon Jan 22 18:15:56 2018 +0000
description:
Use right variable as revealed by previous typo...
diffstat:
sys/arch/mips/mips/bus_space_alignstride_chipdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r dfcc3cad9e8a -r 3c912f77ddba sys/arch/mips/mips/bus_space_alignstride_chipdep.c
--- a/sys/arch/mips/mips/bus_space_alignstride_chipdep.c Mon Jan 22 17:38:46 2018 +0000
+++ b/sys/arch/mips/mips/bus_space_alignstride_chipdep.c Mon Jan 22 18:15:56 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.30 2018/01/21 16:38:25 flxd Exp $ */
+/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.31 2018/01/22 18:15:56 flxd Exp $ */
/*-
* Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.30 2018/01/21 16:38:25 flxd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.31 2018/01/22 18:15:56 flxd Exp $");
#ifdef CHIP_EXTENT
#include <sys/extent.h>
@@ -842,9 +842,9 @@
h &= ~((bus_space_handle_t)(CHIP_ACCESS_SIZE - 1));
CHIP_TYPE cval = ((CHIP_TYPE)CHIP_SWAP16(val)) << shift;
# if CHIP_ACCESS_SIZE == 8
- mips3_sd(h, val);
+ mips3_sd(h, cval);
# else
- mips_sw(h, val);
+ mips_sw(h, cval);
# endif
#endif
}
Home |
Main Index |
Thread Index |
Old Index