Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sparc64/include/autoconf.h
RevisionDateAuthorComments
 1.33  11-Sep-2017  palle sun4v: Update code to retrieve CPU clock frequency so it can handle (future?) CPU clock frequencies above the 32-bit limit. ok mrg@
 1.32  26-Oct-2013  jdc Allow machine_banner and machine_model to be used outside autoconf.c, for
example, by drivers that need to match on model name. Suggested by mrg@.
 1.31  27-Oct-2012  chs branches: 1.31.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.30  01-Jul-2011  dyoung branches: 1.30.2; 1.30.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.29  12-Mar-2011  nakayama Remove implicit include <dev/sbus/sbusvar.h> from autoconf.h, and
add it explicitly in files depending on it.
 1.28  28-Apr-2008  martin branches: 1.28.22; 1.28.28;
Remove clause 3 and 4 from TNF licenses
 1.27  12-Feb-2008  joerg branches: 1.27.6; 1.27.8; 1.27.10;
Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.
 1.26  26-Sep-2006  martin branches: 1.26.28; 1.26.34;
Rework boot device matching to get rid of lots of special case code
and tables to map fimware names to driver names. Based on a suggestion
from Eduardo (quite some time ago).
Each device (on busses we can handle and care about) gets a device property
storing the devices OpenFirmware package handle. To match the boot device,
the phandle of the chosen bootpath is compared against this property,
plus some additional string matching for disk/cd devices (where OF only
provides a node for the device class, not each instance).
 1.25  20-Feb-2006  cdi branches: 1.25.14; 1.25.16;
Use ANSI-style function definitions and declarations.
 1.24  27-Jan-2006  cdi branches: 1.24.2; 1.24.4;
Alter sparc64 bootstrap, catch up to ofwboot v1.9:

- Accept bootinfo structure passed down from ofwboot v1.9
- Drop kernel re-mapping code
- Use permanent 4MB mappings provided by the loader instead
- Change kernel entry address to point directly at the code instead of pointing
at the trap table's first slot. This allows the bootloader to detect
those kernels which are aware of the new boot scheme
- Due to the changes in kernel mapping code, alter secondary CPU bootstrap
code to use trampoline just like FreeBSD does (some FreeBSD code is used
here as well)
 1.23  11-Dec-2005  christos branches: 1.23.2;
merge ktrace-lwp.
 1.22  31-May-2005  christos branches: 1.22.2;
sprinkle const.
 1.21  21-Mar-2004  pk Switch to the sparc prom library.
 1.20  19-Mar-2004  pk Drop optionsnode, fbnode and stdinnnode.
 1.19  17-Mar-2004  pk Rename PROM_getprop*() => prom_getprop*().
 1.18  17-Mar-2004  pk Pass the buffer size to PROM_getpropstringA(), as in sparc.
 1.17  16-Mar-2004  pk For now, implement prom_getoption() in autoconf.c.
 1.16  16-Mar-2004  pk For now, implement prom_getidprom() and prom_getether() in autoconf.c
 1.15  27-Aug-2003  mrg change PROM_getprop() from taking a "void **" for the storage, to a
"void *", and do the extra de-reference directly in the function. this
avoids having to cast dozens of different types to "void **", which sets
of GCC3's strict-aliasing. testing by martin@
 1.14  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.13  20-Oct-2002  martin branches: 1.13.6;
We are not going to get a "upa at mainbus" autoconfig entity, since
UPA is just a physical incarnation of our mainbus0.

Evidence:

- There can only be one!
- The firmware node coresponding to it is the root of the OF tree

So: remove the unused (and uncompilable) upa.c, remove upavar.h after
moving the only declaration used from it to autoconf.h.
 1.12  05-Oct-2001  pooka branches: 1.12.4;
prototype rominterpret()
 1.11  26-Sep-2001  eeh getprop* -> PROM_getprop*
 1.10  24-Jul-2001  eeh branches: 1.10.2;
Garbage collect.
 1.9  14-Jan-2000  pk branches: 1.9.8;
Remove old-style boot device recognition.
 1.8  08-Nov-1999  eeh Fix boot device detection code.
 1.7  18-Mar-1999  eeh branches: 1.7.8; 1.7.10; 1.7.14;
Some devices don't have a `device-type' property we can use to allocate
an IPL. Check for those by name. Give the rest a default IPL of 2.
(Added `SUNW,CS4231' to the list.)
 1.6  06-Oct-1998  thorpej configure() prototype is in <sys/device.h>
 1.5  05-Sep-1998  eeh It slices. It dices. It does everything except exec a sparc32_compat init.
 1.4  05-Sep-1998  pk Nuke temporary `getpropA()'.
 1.3  02-Sep-1998  eeh Periodic update: now starts probing devices.
 1.2  13-Aug-1998  eeh Merge paddr_t changes into the main branch.
 1.1  20-Jun-1998  eeh branches: 1.1.1;
Initial revision
 1.1.1.1  20-Jun-1998  eeh branches: 1.1.1.1.2;
Import of sparc64.
 1.1.1.1.2.1  30-Jul-1998  eeh Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
 1.7.14.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.10.1  15-Nov-1999  fvdl Sync with -current
 1.7.8.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.9.8.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.9.8.1  03-Aug-2001  lukem update to -current
 1.10.2.2  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.10.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.12.4.2  11-Nov-2002  nathanw Catch up to -current
 1.12.4.1  05-Oct-2001  nathanw file autoconf.h was added on branch nathanw_sa on 2002-11-11 22:04:50 +0000
 1.13.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.13.6.1  03-Aug-2004  skrll Sync with HEAD
 1.22.2.3  27-Feb-2008  yamt sync with head.
 1.22.2.2  30-Dec-2006  yamt sync with head.
 1.22.2.1  21-Jun-2006  yamt sync with head.
 1.23.2.2  01-Mar-2006  yamt sync with head.
 1.23.2.1  01-Feb-2006  yamt sync with head.
 1.24.4.1  22-Apr-2006  simonb Sync with head.
 1.24.2.1  09-Sep-2006  rpaulo sync with head
 1.25.16.1  22-Oct-2006  yamt sync with head
 1.25.14.1  18-Nov-2006  ad Sync with head.
 1.26.34.1  18-Feb-2008  mjf Sync with HEAD.
 1.26.28.1  23-Mar-2008  matt sync with HEAD
 1.27.10.1  16-May-2008  yamt sync with head.
 1.27.8.1  18-May-2008  yamt sync with head.
 1.27.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.28.28.1  06-Jun-2011  jruoho Sync with HEAD.
 1.28.22.1  21-Apr-2011  rmind sync with head
 1.30.12.3  03-Dec-2017  jdolecek update from HEAD
 1.30.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.30.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.30.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.30.2.1  30-Oct-2012  yamt sync with head
 1.31.2.1  18-May-2014  rmind sync with head

RSS XML Feed