Subject: CVS commit: src/sys/arch/prep
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 06/15/2006 18:15:32
Module Name:	src
Committed By:	garbled
Date:		Thu Jun 15 18:15:32 UTC 2006

Modified Files:
	src/sys/arch/prep/conf: GENERIC files.prep
	src/sys/arch/prep/include: nvram.h
	src/sys/arch/prep/pnpbus: nvram_pnpbus.c pnpbus.c pnpbusvar.h
	    wdc_pnpbus.c
	src/sys/arch/prep/prep: platform.c
Added Files:
	src/sys/arch/prep/pnpbus: mcclock_pnpbus.c mkclock_pnpbus.c
Removed Files:
	src/sys/arch/prep/isa: mcclock_isa.c mkclock_isa.c

Log Message:
A bit of clock rototill.  It's safer to detect things known by the
residual with the pnpbus probes, than it is to do it with raw isa probes,
so I've replaced the isa mkclock and mcclock code with a pnpbus attachment.

While writing the mkclock code, I realized that on motorola prep machines
the mkclock uses the same port range as the nvram part. (it's actually
the same chip/part).  This was causing the nvram not to work on those
machines.  Now the nvram code will recognize this, and wire up the
mkclock as well.  The mkclock probe is just a stub probe used to
pre-detect the fact that this is one of those machines.


To generate a diff of this commit:
cvs rdiff -r1.119 -r1.120 src/sys/arch/prep/conf/GENERIC
cvs rdiff -r1.54 -r1.55 src/sys/arch/prep/conf/files.prep
cvs rdiff -r1.1 -r1.2 src/sys/arch/prep/include/nvram.h
cvs rdiff -r1.16 -r0 src/sys/arch/prep/isa/mcclock_isa.c
cvs rdiff -r1.9 -r0 src/sys/arch/prep/isa/mkclock_isa.c
cvs rdiff -r0 -r1.1 src/sys/arch/prep/pnpbus/mcclock_pnpbus.c \
    src/sys/arch/prep/pnpbus/mkclock_pnpbus.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/prep/pnpbus/nvram_pnpbus.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/prep/pnpbus/pnpbus.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/prep/pnpbus/pnpbusvar.h
cvs rdiff -r1.4 -r1.5 src/sys/arch/prep/pnpbus/wdc_pnpbus.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/prep/prep/platform.c

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