Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/dreamcast/dev/g2 this ain't python, thanks gcc6.
details: https://anonhg.NetBSD.org/src/rev/009d38bb21a0
branches: trunk
changeset: 320871:009d38bb21a0
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 03 23:27:51 2018 +0000
description:
this ain't python, thanks gcc6.
diffstat:
sys/arch/dreamcast/dev/g2/aica.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 330768c4b93d -r 009d38bb21a0 sys/arch/dreamcast/dev/g2/aica.c
--- a/sys/arch/dreamcast/dev/g2/aica.c Sat Mar 03 22:50:17 2018 +0000
+++ b/sys/arch/dreamcast/dev/g2/aica.c Sat Mar 03 23:27:51 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aica.c,v 1.23 2017/07/25 23:18:04 nat Exp $ */
+/* $NetBSD: aica.c,v 1.24 2018/03/03 23:27:51 christos Exp $ */
/*
* Copyright (c) 2003 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.23 2017/07/25 23:18:04 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.24 2018/03/03 23:27:51 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -414,8 +414,9 @@
if (len) {
p = (uint8_t *)buf;
- for (i = 0; i < len; i++)
+ for (i = 0; i < len; i++) {
*p++ = *src++; src++;
+ }
aica_g2fifo_wait();
bus_space_write_region_4(sc->sc_memt, sc->sc_aica_memh,
Home |
Main Index |
Thread Index |
Old Index