Subject: CVS commit: src/sys/arch/newsmips
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 02/06/2005 02:18:03
Module Name:	src
Committed By:	tsutsui
Date:		Sun Feb  6 02:18:03 UTC 2005

Modified Files:
	src/sys/arch/newsmips/apbus: apbus.c apbus_subr.c apbusvar.h dmac3.c
	    if_sn.c if_sn_ap.c if_snvar.h if_tlp_ap.c kb_ap.c mkclock_ap.c
	    ms_ap.c spifi.c xafb.c zs_ap.c
	src/sys/arch/newsmips/dev: fb.c hb.c if_le.c kb_hb.c mkclock_hb.c
	    ms_hb.c sc_wrap.c scsi_1185.c zs.c zs_hb.c
	src/sys/arch/newsmips/include: apbus.h bootinfo.h bus.h intr.h
	    z8530var.h
	src/sys/arch/newsmips/newsmips: autoconf.c bus.c clock.c cpu.c
	    cpu_cons.c disksubr.c machdep.c mainbus.c news3400.c news5000.c
	src/sys/arch/newsmips/stand/boot: boot.c bootinfo.c devopen.c net.c
	    netif_news.c promdev.h

Log Message:
Misc cleanup:
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/sys/arch/newsmips/apbus/apbus.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/newsmips/apbus/apbus_subr.c \
    src/sys/arch/newsmips/apbus/kb_ap.c src/sys/arch/newsmips/apbus/ms_ap.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/newsmips/apbus/apbusvar.h \
    src/sys/arch/newsmips/apbus/if_snvar.h
cvs rdiff -r1.6 -r1.7 src/sys/arch/newsmips/apbus/dmac3.c \
    src/sys/arch/newsmips/apbus/if_sn_ap.c \
    src/sys/arch/newsmips/apbus/if_tlp_ap.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/newsmips/apbus/if_sn.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/newsmips/apbus/mkclock_ap.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/newsmips/apbus/spifi.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/newsmips/apbus/xafb.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/newsmips/apbus/zs_ap.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/newsmips/dev/fb.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/newsmips/dev/hb.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/newsmips/dev/if_le.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/newsmips/dev/kb_hb.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/newsmips/dev/mkclock_hb.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/newsmips/dev/ms_hb.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/newsmips/dev/sc_wrap.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/newsmips/dev/scsi_1185.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/newsmips/dev/zs.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/newsmips/dev/zs_hb.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/newsmips/include/apbus.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/newsmips/include/bootinfo.h
cvs rdiff -r1.8 -r1.9 src/sys/arch/newsmips/include/bus.h
cvs rdiff -r1.14 -r1.15 src/sys/arch/newsmips/include/intr.h
cvs rdiff -r1.6 -r1.7 src/sys/arch/newsmips/include/z8530var.h
cvs rdiff -r1.23 -r1.24 src/sys/arch/newsmips/newsmips/autoconf.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/newsmips/newsmips/bus.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/newsmips/newsmips/clock.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/newsmips/newsmips/cpu.c \
    src/sys/arch/newsmips/newsmips/cpu_cons.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/newsmips/newsmips/disksubr.c
cvs rdiff -r1.77 -r1.78 src/sys/arch/newsmips/newsmips/machdep.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/newsmips/newsmips/mainbus.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/newsmips/newsmips/news3400.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/newsmips/newsmips/news5000.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/newsmips/stand/boot/boot.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/newsmips/stand/boot/bootinfo.c \
    src/sys/arch/newsmips/stand/boot/net.c \
    src/sys/arch/newsmips/stand/boot/promdev.h
cvs rdiff -r1.6 -r1.7 src/sys/arch/newsmips/stand/boot/devopen.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/newsmips/stand/boot/netif_news.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.