Home | History | Annotate | Download | only in pnpbus
History log of /src/sys/arch/prep/pnpbus/pnpbusvar.h
RevisionDateAuthorComments
 1.8  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.7  18-Jun-2011  matt struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
 1.6  28-Apr-2008  martin branches: 1.6.32;
Remove clause 3 and 4 from TNF licenses
 1.5  28-Apr-2008  garbled Add floppy support to prep (the croud goes wild)

Add an additional argument to pnpbus_intr_establish to allow overriding of
the pnp interrupt type, because some devices lie.
Change how the pnpbus match routine works, to avoid attaching it when we
are probing for cpu's.
Fix a few stray printf's in the autoconf output.
 1.4  27-Oct-2006  garbled branches: 1.4.52; 1.4.54; 1.4.56;
A few changes so pnpbus devices can do isadma. Note that isadma still
does not seem to work properly on prep.
 1.3  23-Jun-2006  garbled branches: 1.3.4; 1.3.6; 1.3.8;
1) Modify pnpbus attachment code to properly decode pnp memory range packets.
2) Modify pnpbus attachment code to record the chipid of the device if it
has one.
3) Change the clock probes to use the chipid, rather than relying on
potentially untrustworthy subtype and interface.
4) Add decoding of memory ranges to the RESIDUAL_DUMP code.
5) Add a we@pnpbus device to allow netbooting and root device detection
from an IBM we ethernet. (it will only work if your firmware detects it)
6) Because I moved the pnpbus probe to occur prior to pci and isa, it
screwed up the root device detection and firmware path building code.
Completely rewrite the fw-path detection code to deal with this.
 1.2  15-Jun-2006  garbled branches: 1.2.2;
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.
 1.1  09-Mar-2006  garbled branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10; 1.1.12;
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.
 1.1.12.1  13-Jul-2006  gdamore Merge from HEAD.
 1.1.10.1  19-Jun-2006  chap Sync with head.
 1.1.8.2  22-Apr-2006  simonb Sync with head.
 1.1.8.1  09-Mar-2006  simonb file pnpbusvar.h was added on branch simonb-timecounters on 2006-04-22 11:37:54 +0000
 1.1.6.2  19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1  09-Mar-2006  elad file pnpbusvar.h was added on branch elad-kernelauth on 2006-04-19 02:33:38 +0000
 1.1.2.3  26-Jun-2006  yamt sync with head.
 1.1.2.2  13-Mar-2006  yamt sync with head.
 1.1.2.1  09-Mar-2006  yamt file pnpbusvar.h was added on branch yamt-pdpolicy on 2006-03-13 09:06:59 +0000
 1.2.2.3  30-Dec-2006  yamt sync with head.
 1.2.2.2  21-Jun-2006  yamt sync with head.
 1.2.2.1  15-Jun-2006  yamt file pnpbusvar.h was added on branch yamt-lazymbuf on 2006-06-21 14:55:19 +0000
 1.3.8.1  10-Dec-2006  yamt sync with head.
 1.3.6.2  09-Sep-2006  rpaulo sync with head
 1.3.6.1  23-Jun-2006  rpaulo file pnpbusvar.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:42:43 +0000
 1.3.4.1  18-Nov-2006  ad Sync with head.
 1.4.56.1  16-May-2008  yamt sync with head.
 1.4.54.1  18-May-2008  yamt sync with head.
 1.4.52.1  02-Jun-2008  mjf Sync with HEAD.
 1.6.32.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.

RSS XML Feed