Subject: CVS commit: src/sys/arch/x68k
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 06/13/2005 00:34:08
Module Name: src
Committed By: he
Date: Mon Jun 13 00:34:08 UTC 2005
Modified Files:
src/sys/arch/x68k/dev: bmd.c com.c if_ne_intio.c mha.c neptune.c
scsirom.c slhci_intio.c spc.c xel.c zs.c
src/sys/arch/x68k/include: cpu.h
src/sys/arch/x68k/x68k: machdep.c
Log Message:
Change the signature of badaddr() and badbaddr() from taking a caddr_t
to taking a volatile void*. This gets rid of a number of casts to make
this compile under -Wcast-qual.
Add some volatiles and consts in other places to make this build under
-Wcast-qual.
Also rename a few variables to make this build under -Wshadow.
Also get rid of duplicated declarations of badaddr() and badbaddr()
in machdep.c, they're already there from <machine/cpu.h>.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/arch/x68k/dev/bmd.c
cvs rdiff -r1.34 -r1.35 src/sys/arch/x68k/dev/com.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/x68k/dev/if_ne_intio.c \
src/sys/arch/x68k/dev/xel.c
cvs rdiff -r1.36 -r1.37 src/sys/arch/x68k/dev/mha.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/x68k/dev/neptune.c \
src/sys/arch/x68k/dev/scsirom.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/x68k/dev/slhci_intio.c
cvs rdiff -r1.27 -r1.28 src/sys/arch/x68k/dev/spc.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/x68k/dev/zs.c
cvs rdiff -r1.33 -r1.34 src/sys/arch/x68k/include/cpu.h
cvs rdiff -r1.127 -r1.128 src/sys/arch/x68k/x68k/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.