Home | History | Annotate | only in /src/sys/arch/evbarm/mpcsa
History log of /src/sys/arch/evbarm/mpcsa
RevisionDateAuthorComments
 1.3 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 03-Jul-2008  matt branches: 1.2.4; 1.2.32; 1.2.42;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_cf.c was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.42.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.32.1 30-Oct-2012  yamt sync with head
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_cf.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.2 03-Jul-2008  matt branches: 1.2.4;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_io.h was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_io.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.10 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.9 19-Jan-2022  thorpej Pass the device_t into spi_configure(), and make the API contract that
spi_configure() will print errors if they occur; the driver is off the
hook.
 1.8 19-Jan-2022  thorpej Probe / match routines should not have side-effects: do the spi_configure()
calls in the attach routines.
 1.7 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.6 24-Apr-2021  thorpej branches: 1.6.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.5 12-Nov-2012  skrll branches: 1.5.52;
C99 types
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 19-Jun-2010  matt branches: 1.3.8; 1.3.18;
Misc fixes to get this to compile again.
 1.2 03-Jul-2008  matt branches: 1.2.4; 1.2.18; 1.2.20;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_leds.c was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.2 11-Aug-2010  yamt sync with head.
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.20.1 03-Jul-2010  rmind sync with head
 1.2.18.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_leds.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.3.18.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.8.2 16-Jan-2013  yamt sync with (a bit old) head
 1.3.8.1 30-Oct-2012  yamt sync with head
 1.5.52.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.6.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 03-Jul-2008  matt branches: 1.2.4;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_leds_var.h was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_leds_var.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.14 03-Oct-2025  thorpej Use device_setprop_data() to set the "mac-address" property.
 1.13 18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.12 18-Apr-2020  skrll Trailing whitespace
 1.11 16-Jul-2019  skrll branches: 1.11.8;
Consistently use vaddr_t as initarm and friends return type.

Makes no difference to binaries except for aarch64 where it's required
 1.10 15-Jul-2018  maxv Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.9 18-Aug-2013  matt branches: 1.9.28; 1.9.30;
<arm/locore.h> fallout (fixes some include ordering errors)
 1.8 27-Oct-2012  chs branches: 1.8.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7 16-Aug-2012  matt branches: 1.7.2;
Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
 1.6 01-Jul-2011  dyoung branches: 1.6.2;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.5 30-Jun-2011  wiz dependant -> dependent
 1.4 22-Jan-2010  martin Unify the name of the device property to hold a MAC address - there was
no clear majority for either "mac-addr" vs. "mac-address", but a quick
gallup poll among developers selected the latter.
 1.3 11-Nov-2008  dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.2 03-Jul-2008  matt branches: 1.2.2; 1.2.4; 1.2.6;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_machdep.c was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.2 11-Mar-2010  yamt sync with head
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.6.1 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_machdep.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.2.2.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.6.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.6.2.1 30-Oct-2012  yamt sync with head
 1.7.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.2.1 28-Aug-2013  rmind sync with head
 1.9.30.3 21-Apr-2020  martin Sync with HEAD
 1.9.30.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.9.30.1 10-Jun-2019  christos Sync with HEAD
 1.9.28.1 28-Jul-2018  pgoyette Sync with HEAD
 1.11.8.1 20-Apr-2020  bouyer Sync with HEAD
 1.3 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 03-Jul-2008  matt branches: 1.2.4; 1.2.32; 1.2.42;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_spi.c was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.42.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.32.1 30-Oct-2012  yamt sync with head
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_spi.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.3 31-Jan-2011  matt Add RCSID when needed.
Don't include pmap.h or pte.h, include "assym.h" instead.
Use assym.h provided values.
 1.2 03-Jul-2008  matt branches: 1.2.4; 1.2.20; 1.2.26; 1.2.28;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_start.S was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.28.1 08-Feb-2011  bouyer Sync with HEAD
 1.2.26.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.20.1 05-Mar-2011  rmind sync with head
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_start.S was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 13-May-2011  rmind branches: 1.3.4; 1.3.14;
Replace some ltsleep() uses with kpause() and tsleep().
 1.2 03-Jul-2008  matt branches: 1.2.4; 1.2.20; 1.2.26;
Add AT91 support. (XXX need to finish timecounter support).
 1.1 10-Nov-2007  matt branches: 1.1.2; 1.1.16; 1.1.20; 1.1.22;
file mpcsa_usart.c was initially added on branch matt-nb4-arm.
 1.1.22.1 03-Jul-2008  simonb Sync with head.
 1.1.20.1 04-May-2009  yamt sync with head.
 1.1.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1 10-Nov-2007  matt Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc
 1.2.26.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.20.1 31-May-2011  rmind sync with head
 1.2.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1 03-Jul-2008  wrstuden file mpcsa_usart.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:24 +0000
 1.3.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.4.1 30-Oct-2012  yamt sync with head

RSS XML Feed