Subject: CVS commit: src/sys/arch/prep
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 03/09/2006 20:17:28
Module Name:	src
Committed By:	garbled
Date:		Thu Mar  9 20:17:28 UTC 2006

Modified Files:
	src/sys/arch/prep/conf: GENERIC files.prep
	src/sys/arch/prep/include: pci_machdep.h platform.h pnp.h residual.h
	src/sys/arch/prep/pci: pci_machdep.c pcib.c
	src/sys/arch/prep/prep: consinit.c cpu.c extintr.c ibm_machdep.c
	    machdep.c mainbus.c platform.c residual.c
Added Files:
	src/sys/arch/prep/pnpbus: pnpbus.c pnpbusvar.h wdc_pnpbus.c
Removed Files:
	src/sys/arch/prep/dev: obio.c obiovar.h wdc_obio.c
	src/sys/arch/prep/prep: ibm_6015.c ibm_6040.c ibm_6050.c ibm_7024.c
	    ibm_7043_140.c ibm_7248.c mot_machdep.c mot_ulmb60xa.c

Log Message:
Prep super-commit:

1) create new pnpbus psuedo bus.  This is a bus layer that reads the PNP
tree from the residual data and allows attachment of devices with the
information given therein.  Based loosely on i386/pnpbios.

2) Delete obio bus, as with the pnp bus we no longer need it.

3) Create a number of functions that gather the information needed to set
up the machine from the residual data, rather than hardcoding it in.

4) Create a quirk table for machines that are bizzare enough that the
residual information is not sufficient.  (such as the 6015)

5) Using the data gathering routines and the quirk table, delete struct
platform completely from the architecture.  Prep is now almost completely
dynamic in figuring out the machine it is running on and setting things
up properly.

6) Add a wdc_pnpbus driver which attaches the wdc controller found on
some 7248's and the 6015.  This replaces the now-defunct wdc_obio.

7) delete all the mot_* and ibm_* files, and replace them with a single
ibm_machdep.c which only contains the quirk functions for the 6015 and
the 6050.

8) Modify GENERIC to work with all this stuff.


To generate a diff of this commit:
cvs rdiff -r1.113 -r1.114 src/sys/arch/prep/conf/GENERIC
cvs rdiff -r1.50 -r1.51 src/sys/arch/prep/conf/files.prep
cvs rdiff -r1.11 -r0 src/sys/arch/prep/dev/obio.c
cvs rdiff -r1.1 -r0 src/sys/arch/prep/dev/obiovar.h
cvs rdiff -r1.22 -r0 src/sys/arch/prep/dev/wdc_obio.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/prep/include/pci_machdep.h \
    src/sys/arch/prep/include/platform.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/prep/include/pnp.h \
    src/sys/arch/prep/include/residual.h
cvs rdiff -r1.23 -r1.24 src/sys/arch/prep/pci/pci_machdep.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/prep/pci/pcib.c
cvs rdiff -r0 -r1.1 src/sys/arch/prep/pnpbus/pnpbus.c \
    src/sys/arch/prep/pnpbus/pnpbusvar.h \
    src/sys/arch/prep/pnpbus/wdc_pnpbus.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/prep/prep/consinit.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/prep/prep/cpu.c \
    src/sys/arch/prep/prep/ibm_machdep.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/prep/prep/extintr.c \
    src/sys/arch/prep/prep/mainbus.c
cvs rdiff -r1.4 -r0 src/sys/arch/prep/prep/ibm_6015.c \
    src/sys/arch/prep/prep/mot_machdep.c
cvs rdiff -r1.6 -r0 src/sys/arch/prep/prep/ibm_6040.c \
    src/sys/arch/prep/prep/ibm_7043_140.c
cvs rdiff -r1.10 -r0 src/sys/arch/prep/prep/ibm_6050.c \
    src/sys/arch/prep/prep/ibm_7248.c
cvs rdiff -r1.1 -r0 src/sys/arch/prep/prep/ibm_7024.c
cvs rdiff -r1.56 -r1.57 src/sys/arch/prep/prep/machdep.c
cvs rdiff -r1.11 -r0 src/sys/arch/prep/prep/mot_ulmb60xa.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/prep/prep/platform.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/prep/prep/residual.c

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