Subject: CVS commit: syssrc/sys/arch/ofppc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/22/2001 17:46:09
Module Name:	syssrc
Committed By:	thorpej
Date:		Mon Oct 22 14:46:09 UTC 2001

Modified Files:
	syssrc/sys/arch/ofppc/conf: GENERIC files.ofppc
	syssrc/sys/arch/ofppc/ofppc: cpu.c mainbus.c

Log Message:
Various things that make OFW-driver kernels work on my Firepower LX MP
again:
- Special-case the attachment of CPUs, and logically attach them to
  "mainbus", attaching them before any other devices.  Otherwise,
  CPUs would be found very late in the game on my Firepower.
- Sanity check the timebase-frequency property, printing a warning if
  it's not the same on each CPU.
- Pass the correct CPU ID to cpu_attach_subr().
- Fetch the platform name from the OFW root node.  We can key off this
  later when we implement support for native drivers in the ofppc port.
- Use a table of "special" toplevel OFW nodes ... we skip these nodes
  during the device configuration phase.  This generally includes the
  "options", "packages", etc. nodes.  Inspired by sparc & sparc64 ports.


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 syssrc/sys/arch/ofppc/conf/GENERIC
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/ofppc/conf/files.ofppc
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/ofppc/ofppc/cpu.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/ofppc/ofppc/mainbus.c

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