| History log of /src/sys/arch/arm/at91 |
| Revision | Date | Author | Comments |
| 1.6 | 17-Jun-2020 |
thorpej | <sys/extent.h> not needed here.
|
| 1.5 | 18-Sep-2012 |
matt | Add bounce buffer support for ARM bus_dma(9). Add macros to help initialize bus_dma_tag structures.
|
| 1.4 | 01-Jul-2011 |
dyoung | branches: 1.4.2; 1.4.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 23-Oct-2009 |
snj | Switch to a 2 clause license. Approved by joff@ (copyright holder).
|
| 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 at91_bus_dma.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.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 at91_bus_dma.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.4.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.6 | 21-Apr-2023 |
skrll | Trailing whitespace
|
| 1.5 | 16-Mar-2018 |
ryo | use designated initializer to make adaptability and flexibility for changing struct bus_space. no functional change.
|
| 1.4 | 01-Jul-2011 |
dyoung | branches: 1.4.52; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91_bus_space.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.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 at91_bus_space.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4.52.1 | 22-Mar-2018 |
pgoyette | Synch with HEAD, resolve conflicts
|
| 1.13 | 21-Jul-2022 |
andvar | fix typos in comments and log messages, mainly s/intrrupt/interrupt/.
|
| 1.12 | 20-Nov-2020 |
thorpej | malloc(9) -> kmem(9)
|
| 1.11 | 26-Mar-2014 |
christos | branches: 1.11.42; kill sprintf
|
| 1.10 | 12-Nov-2012 |
skrll | branches: 1.10.2; C99 types
|
| 1.9 | 02-Aug-2012 |
skrll | branches: 1.9.2; Remove irqframe and replace with identical trapframe.
|
| 1.8 | 04-Nov-2011 |
aymeric | attach event counters later, at attach time. Caught by an assertion
|
| 1.7 | 01-Jul-2011 |
dyoung | branches: 1.7.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.6 | 06-Jun-2011 |
matt | Some more device_t, cfdata_t, CFATTACH_DECL_NEW cleanup.
|
| 1.5 | 20-Dec-2010 |
matt | branches: 1.5.6; Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
|
| 1.4 | 13-Jun-2010 |
tsutsui | Apply fixes for PR port-arm/43339: Set proper IPL_SOFTfoo values even in !FAST_SOFTINTS case. Some assertions in MI code expect they have unique values, per comments from rmind@.
Also cleanup various "interrupt hierarchy" code since IPL_NONE and IPL_SOFTfoo should not be set by any hardware interrupt establish functions.
Ok'ed by mrg@, tested on shark and hpcarm.
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.2; 1.3.4; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91aic.c was initially added on branch matt-nb4-arm.
|
| 1.1.22.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.1.20.3 | 11-Aug-2010 |
yamt | 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.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 at91aic.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.4.3 | 12-Jun-2011 |
rmind | sync with head
|
| 1.3.4.2 | 05-Mar-2011 |
rmind | sync with head
|
| 1.3.4.1 | 03-Jul-2010 |
rmind | sync with head
|
| 1.3.2.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.5.6.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.7.2.4 | 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.7.2.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.7.2.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.7.2.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.9.2.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.9.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.10.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.11.42.1 | 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91aicreg.h 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.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 at91aicreg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.5 | 12-Nov-2012 |
skrll | C99 types
|
| 1.4 | 02-Aug-2012 |
skrll | branches: 1.4.2; Remove irqframe and replace with identical trapframe.
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91aicvar.h 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.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 at91aicvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.12.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.3.12.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.4.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.30 | 20-Feb-2024 |
andvar | Fix format specifier for physmem from %d to 0x%"PRIxPSIZE" in multiple places.
Should fix VERBOSE_INIT_ARM for various evbarm kernel configs. Also add 0x prefix in few previously fixed places to improve readability.
|
| 1.29 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.28 | 24-Apr-2021 |
thorpej | branches: 1.28.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.27 | 18-Apr-2020 |
skrll | branches: 1.27.4; PMAP_DEBUG has been deleted on arm
|
| 1.26 | 18-Apr-2020 |
skrll | Trailing whitespace
|
| 1.25 | 16-Jul-2019 |
skrll | branches: 1.25.8; Consistently use vaddr_t as initarm and friends return type.
Makes no difference to binaries except for aarch64 where it's required
|
| 1.24 | 16-Jul-2019 |
skrll | KNF
|
| 1.23 | 28-Oct-2018 |
skrll | Fix a commit
|
| 1.22 | 21-Sep-2018 |
skrll | Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into opt_console.h and adjust.
|
| 1.21 | 31-Jul-2018 |
skrll | Sprinkle #include "opt_arm_debug.h" where VERBOSE_INIT_ARM is used
|
| 1.20 | 15-Jul-2018 |
maxv | Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
| 1.19 | 22-Dec-2016 |
cherry | branches: 1.19.14; 1.19.16; switch all ports to use uvm_init.c:uvm_md_init()
uvm_setpagesize() is now subsumed within this funciton.
|
| 1.18 | 13-Sep-2014 |
matt | branches: 1.18.2; 1.18.4; Replace more vm_offset_t, vm_size_t with vaddr_t, vsize_t Use paddr_t for msgbufphys
|
| 1.17 | 18-Aug-2013 |
matt | <arm/locore.h> fallout (fixes some include ordering errors)
|
| 1.16 | 12-Nov-2012 |
skrll | branches: 1.16.2; C99 types
|
| 1.15 | 29-Oct-2012 |
chs | add missing arg to cpu_setttb().
|
| 1.14 | 01-Sep-2012 |
matt | branches: 1.14.2; Move things around for <arm/arm32/machdep.h>
|
| 1.13 | 30-Jul-2012 |
matt | More -fno-common fixes
|
| 1.12 | 04-Nov-2011 |
aymeric | add preliminary support for AT91SAM9260
|
| 1.11 | 01-Jul-2011 |
dyoung | branches: 1.11.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.10 | 26-Dec-2009 |
uebayasi | Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no functional changes.
|
| 1.9 | 27-Nov-2009 |
rmind | - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. - Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb(). - Amend assembly in ports where it accesses PCB via struct user. - Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
|
| 1.8 | 26-Nov-2009 |
matt | Kill proc0paddr. Use lwp0.l_addr instead.
|
| 1.7 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 1.6 | 11-Aug-2009 |
matt | Remove all declarations of physmem from sys/arch. Add an include of <sys/systm.h> to the one file that did not already contain it. This now means that physmem can be changed by updating systm.h and uvm_page.c (excluding fixing printfs)
|
| 1.5 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
| 1.4 | 30-Nov-2008 |
martin | branches: 1.4.4; As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap phases, so move the initialization of the ksyms mutex back into main via a function called ksyms_init. Rename the existing (but quite different) ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit() and adapt machdep code accordingly.
|
| 1.3 | 12-Nov-2008 |
ad | Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
|
| 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 at91bus.c was initially added on branch matt-nb4-arm.
|
| 1.1.22.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.1.20.3 | 11-Mar-2010 |
yamt | sync with head
|
| 1.1.20.2 | 19-Aug-2009 |
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.2 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 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 at91bus.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.2.2.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.4.4.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.11.2.4 | 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.11.2.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.11.2.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.11.2.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.14.2.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.14.2.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.14.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.16.2.1 | 28-Aug-2013 |
rmind | sync with head
|
| 1.18.4.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.18.2.1 | 05-Feb-2017 |
skrll | Sync with HEAD
|
| 1.19.16.3 | 21-Apr-2020 |
martin | Sync with HEAD
|
| 1.19.16.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.19.16.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.19.14.4 | 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|
| 1.19.14.3 | 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
| 1.19.14.2 | 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
| 1.19.14.1 | 28-Jul-2018 |
pgoyette | Sync with HEAD
|
| 1.25.8.1 | 20-Apr-2020 |
bouyer | Sync with HEAD
|
| 1.27.4.8 | 05-Apr-2021 |
thorpej | Treat config_probe() as if it were a boolean function; don't compare return value > 0... except for the odd balls, which are now really easy to spot.
|
| 1.27.4.7 | 05-Apr-2021 |
thorpej | config_match() -> config_probe() for the straight-forward indirect config cases. There are still a few odd balls using config_match() which should be sorted out later.
|
| 1.27.4.6 | 04-Apr-2021 |
thorpej | CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
|
| 1.27.4.5 | 03-Apr-2021 |
thorpej | Give config_attach() the tagged variadic argument treatment and mechanically convert all call sites.
|
| 1.27.4.4 | 22-Mar-2021 |
thorpej | Audit CFARG_IATTR in config_found() calls, and remove it in situations where the interface attribute is not ambiguous.
|
| 1.27.4.3 | 22-Mar-2021 |
thorpej | Mechanical conversion of config_found_sm_loc() -> config_found(). CFARG_IATTR usage needs to be audited.
|
| 1.27.4.2 | 21-Mar-2021 |
thorpej | CFARG_IATTR usage audit:
If a device carries only one interface attribute, there is no need to specify it when calling config_search(); that specification is meant only to disambiguate which interface attribute (which is a proxy for "what kind of attach args are being used") is having children attached. cfparent_match() will take care of ensuring that any potential children can attach to one of the parent's iterface attributes, and if the parent only carries one, no disambiguation is necessary.
|
| 1.27.4.1 | 20-Mar-2021 |
thorpej | The proliferation if config_search_*() and config_found_*() combinations is a little absurd, so begin to tidy this up:
- Introduce a new cfarg_t enumerated type, that defines the types of tag-value variadic arguments that can be passed to the various config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS, for now, plus a CFARG_EOL sentinel). - Collapse config_search_*() into config_search() that takes these variadic arguments. - Convert all call sites of config_search_*() to the new signature. Noticed several incorrect usages along the way, which will be audited in a future commit.
|
| 1.28.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.8 | 21-Apr-2023 |
skrll | Trailing whitespace
|
| 1.7 | 16-Jul-2019 |
skrll | Consistently use vaddr_t as initarm and friends return type.
Makes no difference to binaries except for aarch64 where it's required
|
| 1.6 | 12-Nov-2012 |
skrll | branches: 1.6.38; C99 types
|
| 1.5 | 02-Aug-2012 |
skrll | branches: 1.5.2; Remove irqframe and replace with identical trapframe.
|
| 1.4 | 01-Jul-2011 |
dyoung | branches: 1.4.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91busvar.h 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.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 at91busvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.4.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.5.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.6.38.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.8 | 27-Sep-2022 |
skrll | malloc -> kmem
|
| 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 | 10-Nov-2019 |
chs | branches: 1.5.10; in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
| 1.4 | 26-Jul-2011 |
dyoung | branches: 1.4.54; Don't set the iobase and iosize members of pcmciabus_attach_args because they're not used in any meaningful way.
|
| 1.3 | 01-Jul-2011 |
dyoung | #include <sys/bus.h> instead of <machine/bus.h>.
|
| 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 at91cf.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.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.4.1 | 03-Jul-2008 |
wrstuden | file at91cf.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4.54.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.5.10.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 at91cfvar.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 at91cfvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.19 | 26-Oct-2022 |
riastradh | ddb/db_active.h: New home for extern db_active.
This can be included unconditionally, and db_active can then be queried unconditionally; if DDB is not in the kernel, then db_active is a constant zero. Reduces need for #include opt_ddb.h, #ifdef DDB.
|
| 1.18 | 20-Nov-2020 |
thorpej | malloc(9) -> kmem(9)
|
| 1.17 | 15-Dec-2019 |
tsutsui | branches: 1.17.8; Remove clause 3 and 4 leftovers from TNF licenses in more sources.
Confirmed by martin@ in PR/54760.
|
| 1.16 | 10-Nov-2019 |
chs | in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
| 1.15 | 21-Sep-2015 |
skrll | branches: 1.15.2; 1.15.8; 1.15.18; 1.15.22; Deal with unused variable warnings
|
| 1.14 | 13-Apr-2015 |
riastradh | MD rnd.h cleanups. Please let me know if I broke anything!
|
| 1.13 | 15-Nov-2014 |
christos | branches: 1.13.2; centralize the call unit / dialout macros
|
| 1.12 | 10-Aug-2014 |
tls | Merge tls-earlyentropy branch into HEAD.
|
| 1.11 | 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
| 1.10 | 16-Mar-2014 |
dholland | branches: 1.10.2; Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
|
| 1.9 | 12-Nov-2012 |
skrll | branches: 1.9.2; C99 types
|
| 1.8 | 02-Feb-2012 |
tls | branches: 1.8.6; Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each.
ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
|
| 1.7 | 04-Nov-2011 |
aymeric | branches: 1.7.4; use CFATTACH_DECL_NEW
|
| 1.6 | 01-Jul-2011 |
dyoung | branches: 1.6.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.5 | 24-Apr-2011 |
rmind | Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
| 1.4 | 19-Jun-2010 |
matt | branches: 1.4.2; Misc fixes to get this to compile again.
|
| 1.3 | 14-Mar-2009 |
dsl | branches: 1.3.2; 1.3.4; Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
| 1.2 | 03-Jul-2008 |
matt | branches: 1.2.4; 1.2.6; 1.2.12; 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 at91dbgu.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.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.2.6.1 | 28-Apr-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 at91dbgu.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.4.2 | 31-May-2011 |
rmind | sync with head
|
| 1.3.4.1 | 03-Jul-2010 |
rmind | sync with head
|
| 1.3.2.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.4.2.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.6.2.4 | 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.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.6.2.2 | 17-Apr-2012 |
yamt | sync with head
|
| 1.6.2.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.7.4.1 | 18-Feb-2012 |
mrg | merge to -current.
|
| 1.8.6.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.8.6.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.8.6.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.9.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.10.2.2 | 10-Aug-2014 |
tls | Rebase.
|
| 1.10.2.1 | 07-Apr-2014 |
tls | Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME| RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers that had stubbed out code, other minor cleanups.
|
| 1.13.2.2 | 22-Sep-2015 |
skrll | Sync with HEAD
|
| 1.13.2.1 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.15.22.1 | 18-Dec-2019 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #570):
sys/compat/netbsd32/netbsd32_compat_50_sysv.c: revision 1.3 sys/dev/raidframe/rf_compat50.h: revision 1.6 sys/arch/emips/emips/bus_space.c: revision 1.3 sys/compat/net/if.h: revision 1.5 sys/arch/emips/stand/common/bootinfo.c: revision 1.2 sys/compat/common/sysv_msg_50.c: revision 1.5 sys/compat/common/kern_time_30.c: revision 1.8 sys/arch/emips/stand/common/bootinfo.h: revision 1.2 sys/arch/ia64/include/bus.h: revision 1.4 sys/arch/ia64/ia64/bus_space.c: revision 1.2 sys/compat/common/sysv_shm_50.c: revision 1.5 sys/dev/ic/adw.h: revision 1.15 sys/compat/common/uipc_syscalls_50.c: revision 1.10 sys/arch/emips/ebus/flash_ebus.c: revision 1.22 sys/dev/ic/adv.h: revision 1.15 sys/dev/ic/adwmcode.c: revision 1.18 sys/dev/ic/advlib.c: revision 1.29 sys/arch/hpcarm/include/kloader.h: revision 1.3 sys/dev/usb/uberry.c: revision 1.16 sys/compat/common/sysv_sem_50.c: revision 1.5 sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.43 sys/dev/ic/advlib.h: revision 1.21 sys/dev/ic/adv.c: revision 1.50 sys/compat/netinet6/in6_var.h: revision 1.5 sys/arch/hpc/stand/hpcboot/arm/arm_sa1100_asm.asm: revision 1.2 sys/arch/emips/include/loadfile_machdep.h: revision 1.3 sys/arch/emips/stand/common/prom_iface.c: revision 1.7 sys/dev/ic/adw.c: revision 1.56 sys/dev/ic/adwmcode.h: revision 1.12 sys/dev/ic/advmcode.c: revision 1.10 sys/arch/emips/ebus/ace_ebus.c: revision 1.22 sys/compat/netbsd32/netbsd32_compat_60.c: revision 1.5 sys/dev/raidframe/rf_compat50.c: revision 1.13 sys/arch/x68k/dev/intiovar.h: revision 1.15 sys/dev/usb/uipad.c: revision 1.8 sys/arch/zaurus/include/kloader.h: revision 1.3 sys/arch/emips/stand/common/bootxx.c: revision 1.2 sys/dev/ic/adwlib.h: revision 1.23 sys/dev/ic/adwlib.c: revision 1.44 sys/compat/netbsd32/netbsd32_compat_16.c: revision 1.3 sys/arch/amigappc/include/intr.h: revision 1.27 sys/arch/x68k/dev/mfp.c: revision 1.27 sys/arch/arm/at91/at91dbgu.c: revision 1.17 sys/dev/ic/advmcode.h: revision 1.7 sys/compat/ultrix/ultrix_exec.h: revision 1.7 sys/compat/common/vfs_syscalls_50.c: revision 1.24 sys/arch/mips/cavium/octeon_dma.c: revision 1.3 sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0_asm.asm: revision 1.2
Remove clause 3 and 4 from TNF licenses. Ok'ed by martin@ in PR/54760.
Remove clause 3 and 4 leftovers from TNF licenses in more sources. Confirmed by martin@ in PR/54760.
|
| 1.15.18.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.15.18.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.15.8.1 | 27-Apr-2017 |
pgoyette | Restore all work from the former pgoyette-localcount branch (which is now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some problems (cgd is non-functional and all atf tests time-out) but they will get resolved soon.
|
| 1.15.2.2 | 20-Jul-2016 |
pgoyette | Redo previous. Rather than separately extracting the device_t, we can rely on sc->sc_dev when we need to call device_release().
|
| 1.15.2.1 | 19-Jul-2016 |
pgoyette | Instead of repeatedly typing the conditional initialization of the .d_localcount members in the various {b,c}devsw, define an initializer macro and use it. This also removes the need for defining new symbols for each 'struct localcount'.
As suggested by riastradh@
|
| 1.17.8.1 | 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
| 1.5 | 12-Nov-2012 |
skrll | C99 types
|
| 1.4 | 04-Nov-2011 |
aymeric | branches: 1.4.10; fix AT91SAM9260 chip id
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91dbgureg.h 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.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 at91dbgureg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.12.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.3.12.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.4.10.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.6 | 14-Apr-2015 |
riastradh | Include <sys/rndsource.h> where it is actually used.
I had removed <sys/rnd.h> from files that didn't mention anything of the rnd(9) API. But they included other files which assumed <sys/rnd.h> had already been included.
|
| 1.5 | 02-Feb-2012 |
tls | branches: 1.5.6; 1.5.24; Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each.
ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
|
| 1.4 | 19-Nov-2011 |
tls | branches: 1.4.2; First step of random number subsystem rework described in <20111022023242.BA26F14A158@mail.netbsd.org>. This change includes the following:
An initial cleanup and minor reorganization of the entropy pool code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are fixed. Some effort is made to accumulate entropy more quickly at boot time.
A generic interface, "rndsink", is added, for stream generators to request that they be re-keyed with good quality entropy from the pool as soon as it is available.
The arc4random()/arc4randbytes() implementation in libkern is adjusted to use the rndsink interface for rekeying, which helps address the problem of low-quality keys at boot time.
An implementation of the FIPS 140-2 statistical tests for random number generator quality is provided (libkern/rngtest.c). This is based on Greg Rose's implementation from Qualcomm.
A new random stream generator, nist_ctr_drbg, is provided. It is based on an implementation of the NIST SP800-90 CTR_DRBG by Henric Jungheim. This generator users AES in a modified counter mode to generate a backtracking-resistant random stream.
An abstraction layer, "cprng", is provided for in-kernel consumers of randomness. The arc4random/arc4randbytes API is deprecated for in-kernel use. It is replaced by "cprng_strong". The current cprng_fast implementation wraps the existing arc4random implementation. The current cprng_strong implementation wraps the new CTR_DRBG implementation. Both interfaces are rekeyed from the entropy pool automatically at intervals justifiable from best current cryptographic practice.
In some quick tests, cprng_fast() is about the same speed as the old arc4randbytes(), and cprng_strong() is about 20% faster than rnd_extract_data(). Performance is expected to improve.
The AES code in src/crypto/rijndael is no longer an optional kernel component, as it is required by cprng_strong, which is not an optional kernel component.
The entropy pool output is subjected to the rngtest tests at startup time; if it fails, the system will reboot. There is approximately a 3/10000 chance of a false positive from these tests. Entropy pool _input_ from hardware random numbers is subjected to the rngtest tests at attach time, as well as the FIPS continuous-output test, to detect bad or stuck hardware RNGs; if any are detected, they are detached, but the system continues to run.
A problem with rndctl(8) is fixed -- datastructures with pointers in arrays are no longer passed to userspace (this was not a security problem, but rather a major issue for compat32). A new kernel will require a new rndctl.
The sysctl kern.arandom() and kern.urandom() nodes are hooked up to the new generators, but the /dev/*random pseudodevices are not, yet.
Manual pages for the new kernel interfaces are forthcoming.
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91dbguvar.h 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.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 at91dbguvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.12.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.4.2.1 | 18-Feb-2012 |
mrg | merge to -current.
|
| 1.5.24.1 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.5.6.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.37 | 04-Oct-2025 |
thorpej | Add a shared function to query the common properties used for configuring an Ethernet address.
|
| 1.36 | 05-Jul-2024 |
rin | sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD: https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
|
| 1.35 | 27-Sep-2022 |
skrll | branches: 1.35.10; Remove unnecessary sys/malloc.h include
|
| 1.34 | 17-Sep-2022 |
thorpej | Eliminate use of IFF_OACTIVE.
|
| 1.33 | 04-Nov-2021 |
skrll | Remove unnecessary duplicate bit define in mask
PR port-arm/50687
|
| 1.32 | 19-Feb-2020 |
thorpej | When a media change is requested, don't just all (*if_init)(). That's needlessly disruptive and incompatible with future locking changes. We can use both ether_mediachange() and ether_mediastatus() instead.
|
| 1.31 | 11-Feb-2020 |
skrll | More <net/if_stats.h>
|
| 1.30 | 04-Feb-2020 |
skrll | Adopt <net/if_stats.h>
|
| 1.29 | 28-May-2019 |
msaitoh | branches: 1.29.4; Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
|
| 1.28 | 23-May-2019 |
msaitoh | - Fix compile error (remove unused variable). - KNF. - ac -> ec - Remove extra RCS Id.
|
| 1.27 | 23-May-2019 |
msaitoh | Whitespace fix (mainly tabify).
|
| 1.26 | 23-May-2019 |
msaitoh | No functional change: - Simplify MII structure initialization and reference. - u_int*_t -> uint*_t. - KNF
|
| 1.25 | 22-Apr-2019 |
msaitoh | On drivers which use MII(4) and have hook SIOC[GS]IFMEDIA which just pass to ifmedia_ioctl(), the hook is not required because ether_ioctl has it (if_ethersubr.c rev. 1.160). These drivers don't return ENETRESET in ifmedia_ioctl(), so no functional change.
|
| 1.24 | 05-Feb-2019 |
msaitoh | Remove very old IFF_NOTRAILERS flag.
|
| 1.23 | 22-Jan-2019 |
msaitoh | Change MII PHY read/write API from:
int (*mii_readreg_t)(device_t, int, int); void (*mii_writereg_t)(device_t, int, int, int); to:
int (*mii_readreg_t)(device_t, int, int, uint16_t *); int (*mii_writereg_t)(device_t, int, int, uint16_t);
Now we can test if a read/write operation failed or not by the return value.
In 802.3 spec says that the PHY shall not respond to read/write transaction to the unimplemented register(22.2.4.3). Detecting timeout can be used to check whether a register is implemented or not (if the register conforms to the spec). ukphy(4) can be used this for MII_MMDACR and MII_MMDAADR.
Note that I noticed that the following code do infinite loop in the read/wirte function. If it accesses unimplemented PHY register, it will hang. It should be fixed:
arm/at91/at91emac.c arm/ep93xx/epe.c arm/omap/omapl1x_emac.c mips/ralink/ralink_eth.c arch/powerpc/booke/dev/pq3etsec.c(read) dev/cadence/if_cemac.c <- hkenken dev/ic/lan9118.c
Tested with the following device:
axe+ukphy axe+rgephy axen+rgephy (tested by Andrius V) wm+atphy wm+ukphy wm+igphy wm+ihphy wm+makphy sk+makphy sk+brgphy sk+gentbi msk+makphy sip+icsphy sip+ukphy re+rgephy bge+brgphy bnx+brgphy gsip+gphyter rtk+rlphy fxp+inphy (tested by Andrius V) tlp+acphy ex+exphy epic+qsphy vge+ciphy (tested by Andrius V) vr+ukphy (tested by Andrius V) vte+ukphy (tested by Andrius V)
Not tested (MAC): arm:at91emac arm:cemac arm:epe arm:geminigmac arm:enet arm:cpsw arm:emac(omac) arm:emac(sunxi) arm:npe evbppc:temac macppc:bm macppc:gm mips:aumac mips:ae mips:cnmac mips:reth mips:sbmac playstation2:smap powerpc:tsec powerpc:emac(ibm4xx) sgimips:mec sparc:be sf ne(ax88190, dl10019) awge ep gem hme smsh mtd sm age alc ale bce cas et jme lii nfe pcn ste stge tl xi aue mue smsc udav url
Not tested (PHY): amhphy bmtphy dmphy etphy glxtphy ikphy iophy lxtphy nsphyter pnaphy rdcphy sqphy tlphy tqphy urlphy
|
| 1.22 | 15-Jul-2018 |
maxv | Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
| 1.21 | 26-Jun-2018 |
msaitoh | branches: 1.21.2; Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some environment by passing the direction to bpf_mtap*() instead of checking m->m_pkthdr.rcvif.
|
| 1.20 | 22-Jun-2018 |
msaitoh | It's not required to include net/bpfdesc.h. Remove it.
|
| 1.19 | 20-Feb-2017 |
ozaki-r | branches: 1.19.6; 1.19.12; Apply deferred if_start to more drivers...
|
| 1.18 | 15-Dec-2016 |
ozaki-r | branches: 1.18.2; Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are: - We can reduce codes - We can provide the same behavior between drivers - Where/When if_ipackets is counted up - Note that some drivers still update packet statistics in their own way (periodical update) - Moved bpf_mtap run in softint - This makes it easy to MP-ify bpf
Proposed on tech-kern and tech-net
|
| 1.17 | 10-Jun-2016 |
ozaki-r | branches: 1.17.2; Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf. They are counterpart of m_get_rcvif, which will come in another commit, hide internal of rcvif operation, and reduce the diff of the upcoming change.
No functional change.
|
| 1.16 | 09-Feb-2016 |
ozaki-r | Introduce softint-based if_input
This change intends to run the whole network stack in softint context (or normal LWP), not hardware interrupt context. Note that the work is still incomplete by this change; to that end, we also have to softint-ify if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from each device driver (and ieee80211_input) to ensure Layer 2 runs in softint (e.g., ether_input and bridge_input). To this end, we provide a framework (called percpuq) that utlizes softint(9) and percpu ifqueues. With this patch, rxintr of most drivers just queues received packets and schedules a softint, and the softint dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct ifnet for now and that is initialized by default (in if_attach). We probably have to move percpuq to softc of each driver, but it's future work. At this point, only wm(4) has percpuq in its softc as a reference implementation.
Additional information including performance numbers can be found in the thread at tech-kern@ and tech-net@: http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work. Thank you very much!
|
| 1.15 | 21-Sep-2015 |
skrll | Deal with unused variable warnings
|
| 1.14 | 20-May-2015 |
ozaki-r | Remove leftover use of AF_NS and NS option
Unnecessary NETISR_NS is also removed.
|
| 1.13 | 12-Nov-2012 |
skrll | branches: 1.13.14; C99 types
|
| 1.12 | 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.11 | 22-Jul-2012 |
matt | branches: 1.11.2; Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes problem with a common MDIO bus used for multiple interfaces. Some drivers converted to CFATTACL_DECL_NEW.
|
| 1.10 | 01-Jul-2011 |
dyoung | branches: 1.10.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.9 | 05-Apr-2010 |
joerg | Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf check into the inline functions as well the fourth argument for bpf_attach.
|
| 1.8 | 22-Jan-2010 |
martin | branches: 1.8.2; 1.8.4; 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.7 | 19-Jan-2010 |
pooka | Redefine bpf linkage through an always present op vector, i.e. #if NBPFILTER is no longer required in the client. This change doesn't yet add support for loading bpf as a module, since drivers can register before bpf is attached. However, callers of bpf can now be modularized.
Dynamically loadable bpf could probably be done fairly easily with coordination from the stub driver and the real driver by registering attachments in the stub before the real driver is loaded and doing a handoff. ... and I'm not going to ponder the depths of unload here.
Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
|
| 1.6 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 1.5 | 18-Mar-2009 |
cegger | bzero -> memset
|
| 1.4 | 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
| 1.3 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
| 1.2 | 03-Jul-2008 |
matt | branches: 1.2.4; 1.2.6; 1.2.12; 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 at91emac.c was initially added on branch matt-nb4-arm.
|
| 1.1.22.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.1.20.3 | 11-Aug-2010 |
yamt | 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.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.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.2.6.1 | 28-Apr-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 at91emac.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.8.4.1 | 30-May-2010 |
rmind | sync with head
|
| 1.8.2.1 | 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.10.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.10.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.11.2.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.11.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.13.14.6 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.13.14.5 | 05-Feb-2017 |
skrll | Sync with HEAD
|
| 1.13.14.4 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.13.14.3 | 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.13.14.2 | 22-Sep-2015 |
skrll | Sync with HEAD
|
| 1.13.14.1 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.17.2.2 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.17.2.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.18.2.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.19.12.3 | 26-Jan-2019 |
pgoyette | Sync with HEAD
|
| 1.19.12.2 | 28-Jul-2018 |
pgoyette | Sync with HEAD
|
| 1.19.12.1 | 25-Jun-2018 |
pgoyette | Sync with HEAD
|
| 1.19.6.1 | 26-Jul-2018 |
snj | Pull up following revision(s) (requested by msaitoh in ticket #938): sys/arch/acorn32/podulebus/if_ie.c: revision 1.41 sys/arch/amiga/dev/if_es.c: revision 1.58 sys/arch/amiga/dev/if_qn.c: revision 1.45 sys/arch/arm/at91/at91emac.c: revision 1.20 sys/arch/arm/ep93xx/epe.c: revision 1.37 sys/arch/emips/ebus/if_le_ebus.c: revision 1.14 sys/arch/emips/ebus/if_le_ebus.c: revision 1.15 sys/arch/mac68k/dev/if_mc.c: revision 1.46 sys/arch/macppc/dev/am79c950.c: revision 1.39 sys/arch/newsmips/apbus/if_sn.c: revision 1.40 sys/arch/next68k/dev/mb8795.c: revision 1.59 sys/arch/playstation2/dev/if_smap.c: revision 1.25 sys/arch/playstation2/dev/if_smap.c: revision 1.26 sys/arch/sun2/dev/if_ec.c: revision 1.28 sys/arch/sun3/dev/if_ie.c: revision 1.63 sys/arch/x68k/dev/if_ne_intio.c: revision 1.19 sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75 sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63 sys/dev/bi/if_ni.c: revision 1.45 sys/dev/cadence/if_cemac.c: revision 1.12 sys/dev/ic/am7990.c: revision 1.78 sys/dev/ic/am79900.c: revision 1.27 sys/dev/ic/an.c: revision 1.67 sys/dev/ic/cs89x0.c: revision 1.40 sys/dev/ic/dm9000.c: revision 1.13 sys/dev/ic/dm9000.c: revision 1.14 sys/dev/ic/dp8390.c: revision 1.88 sys/dev/ic/elink3.c: revision 1.141 sys/dev/ic/elinkxl.c: revision 1.122 sys/dev/ic/hme.c: revision 1.98 sys/dev/ic/i82586.c: revision 1.77 sys/dev/ic/lance.c: revision 1.53 sys/dev/ic/mb86950.c: revision 1.27 sys/dev/ic/mb86960.c: revision 1.86 sys/dev/ic/mtd803.c: revision 1.34 sys/dev/ic/pdq_ifsubr.c: revision 1.59 sys/dev/ic/rrunner.c: revision 1.86 sys/dev/ic/seeq8005.c: revision 1.58 sys/dev/ic/sgec.c: revision 1.47 sys/dev/ic/smc90cx6.c: revision 1.72 sys/dev/ic/smc91cxx.c: revision 1.96 sys/dev/ic/tropic.c: revision 1.49 sys/dev/ic/wi.c: revision 1.245 sys/dev/isa/if_eg.c: revision 1.93 sys/dev/isa/if_el.c: revision 1.95 sys/dev/isa/if_iy.c: revision 1.101 sys/dev/ofw/ofnet.c: revision 1.58 sys/dev/pci/if_alc.c: revision 1.27 sys/dev/pci/if_de.c: revision 1.152 sys/dev/pci/if_fpa.c: revision 1.61 sys/dev/pci/if_jme.c: revision 1.34 sys/dev/pci/if_tl.c: revision 1.108 sys/dev/pci/if_vte.c: revision 1.19 sys/dev/pci/ixgbe/ixgbe.h: revision 1.50 sys/dev/pcmcia/if_cnw.c: revision 1.62 sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17 sys/dev/pcmcia/if_ray.c: revision 1.89 sys/dev/pcmcia/if_xi.c: revision 1.81 sys/dev/pcmcia/mhzc.c: revision 1.51 sys/dev/pcmcia/xirc.c: revision 1.34 sys/dev/qbus/if_de.c: revision 1.33 sys/dev/qbus/if_qe.c: revision 1.78 sys/dev/qbus/if_qt.c: revision 1.22 sys/dev/sbus/be.c: revision 1.87 sys/dev/sbus/qe.c: revision 1.68 sys/dev/scsipi/if_se.c: revision 1.96 sys/dev/usb/if_atu.c: revision 1.59 sys/net/if_l2tp.c: revision 1.28 via patch sys/net/if_ppp.c: revision 1.160 It's not required to include net/bpfdesc.h. Remove it. -- Simplify like other drivers. NULL check of ifp->if_bpf is done in bpf_mtap(), so it's not required to do it here. -- Remove duplicated inclusion of net/bpf.h. -- Remove duplicated inclusion of net/bpf.h. -- Simplify bpf_mtap() call. No functional change.
|
| 1.21.2.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.21.2.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.29.4.1 | 29-Feb-2020 |
ad | Sync with head.
|
| 1.35.10.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.4 | 12-Nov-2012 |
skrll | C99 types
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; 1.3.22; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91emacreg.h 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.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 at91emacreg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.3.12.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.4 | 17-Sep-2022 |
thorpej | Eliminate use of IFF_OACTIVE.
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91emacvar.h 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.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 at91emacvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4 | 04-Feb-2014 |
matt | _setsoftintr is long dead. reap any leftovers from arm.
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; 1.3.22; 1.3.26; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91intr.h 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.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 at91intr.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.26.1 | 18-May-2014 |
rmind | sync with head
|
| 1.3.22.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.3.12.1 | 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.9 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.8 | 24-Apr-2021 |
thorpej | branches: 1.8.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.7 | 09-Apr-2018 |
jakllsch | branches: 1.7.16; Stop potential misuse of vendor names and USB vendor IDs in root hub device and string descriptors.
Firstly: Few vendors have identical PCI-SIG vendor IDs and USB-IF vendor IDs. As such, using the PCI vendor ID as a USB vendor ID may trample on whomever is allocated that USB vendor ID.
Secondly: The vendor of the host controller hardware implementation has little to nothing to do with our usbroothub implementation. Thus we should not potentially associate any problems therewith to such third party.
This change will result in root hubs being identified by USB Vendor ID 0x0000. Root hub vendor string will now be "NetBSD" (or, specifically: ostype). Product ID (0x0000) and product strings remain unchanged.
|
| 1.6 | 23-Apr-2016 |
skrll | branches: 1.6.16; Merge nick-nhusb
- API / infrastructure changes to support memory management changes. - Memory management improvements and bug fixes. - HCDs should now be MP safe - conversion to KERNHIST based debug - FS/LS isoc support on ehci(4). - conversion to kmem(9) - Some USB 3 support - mostly from Takahiro HAYASHI (t-hash). - interrupt transfers now get proper DMA operations - general bug fixes - kern/48308 - uhub status notification improvements - umass(4) probe fix (applied to HEAD already) - ohci(4) short transfer fix
|
| 1.5 | 04-Nov-2011 |
aymeric | branches: 1.5.10; 1.5.26; 1.5.28; 1.5.32; . fix attach code . use CFATTACH_DECL_NEW
|
| 1.4 | 01-Jul-2011 |
dyoung | branches: 1.4.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
| 1.2 | 03-Jul-2008 |
matt | branches: 1.2.4; 1.2.6; 1.2.12; 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 at91ohci.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.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.2.6.1 | 28-Apr-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 at91ohci.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4.2.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.5.32.1 | 06-Sep-2016 |
skrll | First pass at netbsd-7 updated with USB code from HEAD
|
| 1.5.28.4 | 05-Dec-2014 |
skrll | Use int for return type for [eou]chi_init and motg_init.
|
| 1.5.28.3 | 05-Dec-2014 |
skrll | KNF. Remove ( ) from return statements.
|
| 1.5.28.2 | 03-Dec-2014 |
skrll | The grand renaming of structure members.
No functional change.
|
| 1.5.28.1 | 03-Dec-2014 |
skrll | Trailing whitespace.
|
| 1.5.26.1 | 05-Apr-2017 |
snj | Pull up following revision(s) (requested by skrll in ticket #1395): share/man/man4/axe.4: netbsd-7-nhusb share/man/man4/axen.4: netbsd-7-nhusb share/man/man4/cdce.4: netbsd-7-nhusb share/man/man4/uaudio.4: netbsd-7-nhusb share/man/man4/ucom.4: netbsd-7-nhusb share/man/man4/uep.4: netbsd-7-nhusb share/man/man4/urtw.4: netbsd-7-nhusb share/man/man4/usb.4: netbsd-7-nhusb share/man/man4/uyap.4: netbsd-7-nhusb share/man/man4/xhci.4: netbsd-7-nhusb share/man/man9/usbdi.9: netbsd-7-nhusb sys/arch/amd64/conf/ALL: netbsd-7-nhusb sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb sys/arch/arm/imx/files.imx23: netbsd-7-nhusb sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb sys/arch/i386/conf/ALL: netbsd-7-nhusb sys/arch/i386/conf/GENERIC: netbsd-7-nhusb sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb sys/conf/files: netbsd-7-nhusb sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb sys/dev/ic/sl811hs.c: netbsd-7-nhusb sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb sys/dev/isa/slhci_isa.c: netbsd-7-nhusb sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb sys/dev/pci/ehci_pci.c: netbsd-7-nhusb sys/dev/pci/ohci_pci.c: netbsd-7-nhusb sys/dev/pci/uhci_pci.c: netbsd-7-nhusb sys/dev/pci/xhci_pci.c: netbsd-7-nhusb sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb sys/dev/usb/TODO: netbsd-7-nhusb sys/dev/usb/TODO.usbmp: netbsd-7-nhusb sys/dev/usb/aubtfwl.c: netbsd-7-nhusb sys/dev/usb/auvitek.c: netbsd-7-nhusb sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb sys/dev/usb/auvitek_video.c: netbsd-7-nhusb sys/dev/usb/auvitekvar.h: netbsd-7-nhusb sys/dev/usb/ehci.c: netbsd-7-nhusb sys/dev/usb/ehcireg.h: netbsd-7-nhusb sys/dev/usb/ehcivar.h: netbsd-7-nhusb sys/dev/usb/emdtv.c: netbsd-7-nhusb sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb sys/dev/usb/emdtvvar.h: netbsd-7-nhusb sys/dev/usb/ezload.c: netbsd-7-nhusb sys/dev/usb/ezload.h: netbsd-7-nhusb sys/dev/usb/files.usb: netbsd-7-nhusb sys/dev/usb/hid.c: netbsd-7-nhusb sys/dev/usb/hid.h: netbsd-7-nhusb sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb sys/dev/usb/if_atu.c: netbsd-7-nhusb sys/dev/usb/if_atureg.h: netbsd-7-nhusb sys/dev/usb/if_aue.c: netbsd-7-nhusb sys/dev/usb/if_auereg.h: netbsd-7-nhusb sys/dev/usb/if_axe.c: netbsd-7-nhusb sys/dev/usb/if_axen.c: netbsd-7-nhusb sys/dev/usb/if_axenreg.h: netbsd-7-nhusb sys/dev/usb/if_axereg.h: netbsd-7-nhusb sys/dev/usb/if_cdce.c: netbsd-7-nhusb sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb sys/dev/usb/if_cue.c: netbsd-7-nhusb sys/dev/usb/if_cuereg.h: netbsd-7-nhusb sys/dev/usb/if_kue.c: netbsd-7-nhusb sys/dev/usb/if_kuereg.h: netbsd-7-nhusb sys/dev/usb/if_otus.c: netbsd-7-nhusb sys/dev/usb/if_otusvar.h: netbsd-7-nhusb sys/dev/usb/if_rum.c: netbsd-7-nhusb sys/dev/usb/if_rumreg.h: netbsd-7-nhusb sys/dev/usb/if_rumvar.h: netbsd-7-nhusb sys/dev/usb/if_run.c: netbsd-7-nhusb sys/dev/usb/if_runvar.h: netbsd-7-nhusb sys/dev/usb/if_smsc.c: netbsd-7-nhusb sys/dev/usb/if_smscreg.h: netbsd-7-nhusb sys/dev/usb/if_smscvar.h: netbsd-7-nhusb sys/dev/usb/if_udav.c: netbsd-7-nhusb sys/dev/usb/if_udavreg.h: netbsd-7-nhusb sys/dev/usb/if_upgt.c: netbsd-7-nhusb sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb sys/dev/usb/if_upl.c: netbsd-7-nhusb sys/dev/usb/if_ural.c: netbsd-7-nhusb sys/dev/usb/if_uralreg.h: netbsd-7-nhusb sys/dev/usb/if_uralvar.h: netbsd-7-nhusb sys/dev/usb/if_url.c: netbsd-7-nhusb sys/dev/usb/if_urlreg.h: netbsd-7-nhusb sys/dev/usb/if_urndis.c: netbsd-7-nhusb sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb sys/dev/usb/if_urtw.c: netbsd-7-nhusb sys/dev/usb/if_urtwn.c: netbsd-7-nhusb sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb sys/dev/usb/if_zyd.c: netbsd-7-nhusb sys/dev/usb/if_zydreg.h: netbsd-7-nhusb sys/dev/usb/irmce.c: netbsd-7-nhusb sys/dev/usb/moscom.c: netbsd-7-nhusb sys/dev/usb/motg.c: netbsd-7-nhusb sys/dev/usb/motgvar.h: netbsd-7-nhusb sys/dev/usb/ohci.c: netbsd-7-nhusb sys/dev/usb/ohcireg.h: netbsd-7-nhusb sys/dev/usb/ohcivar.h: netbsd-7-nhusb sys/dev/usb/pseye.c: netbsd-7-nhusb sys/dev/usb/slurm.c: netbsd-7-nhusb sys/dev/usb/stuirda.c: netbsd-7-nhusb sys/dev/usb/u3g.c: netbsd-7-nhusb sys/dev/usb/uark.c: netbsd-7-nhusb sys/dev/usb/uatp.c: netbsd-7-nhusb sys/dev/usb/uaudio.c: netbsd-7-nhusb sys/dev/usb/uberry.c: netbsd-7-nhusb sys/dev/usb/ubsa.c: netbsd-7-nhusb sys/dev/usb/ubsa_common.c: netbsd-7-nhusb sys/dev/usb/ubsavar.h: netbsd-7-nhusb sys/dev/usb/ubt.c: netbsd-7-nhusb sys/dev/usb/uchcom.c: netbsd-7-nhusb sys/dev/usb/ucom.c: netbsd-7-nhusb sys/dev/usb/ucomvar.h: netbsd-7-nhusb sys/dev/usb/ucycom.c: netbsd-7-nhusb sys/dev/usb/udl.c: netbsd-7-nhusb sys/dev/usb/udl.h: netbsd-7-nhusb sys/dev/usb/udsbr.c: netbsd-7-nhusb sys/dev/usb/udsir.c: netbsd-7-nhusb sys/dev/usb/uep.c: netbsd-7-nhusb sys/dev/usb/uftdi.c: netbsd-7-nhusb sys/dev/usb/uftdireg.h: netbsd-7-nhusb sys/dev/usb/ugen.c: netbsd-7-nhusb sys/dev/usb/ugensa.c: netbsd-7-nhusb sys/dev/usb/uhci.c: netbsd-7-nhusb sys/dev/usb/uhcireg.h: netbsd-7-nhusb sys/dev/usb/uhcivar.h: netbsd-7-nhusb sys/dev/usb/uhid.c: netbsd-7-nhusb sys/dev/usb/uhidev.c: netbsd-7-nhusb sys/dev/usb/uhidev.h: netbsd-7-nhusb sys/dev/usb/uhmodem.c: netbsd-7-nhusb sys/dev/usb/uhso.c: netbsd-7-nhusb sys/dev/usb/uhub.c: netbsd-7-nhusb sys/dev/usb/uipad.c: netbsd-7-nhusb sys/dev/usb/uipaq.c: netbsd-7-nhusb sys/dev/usb/uirda.c: netbsd-7-nhusb sys/dev/usb/uirdavar.h: netbsd-7-nhusb sys/dev/usb/ukbd.c: netbsd-7-nhusb sys/dev/usb/ukbdmap.c: netbsd-7-nhusb sys/dev/usb/ukyopon.c: netbsd-7-nhusb sys/dev/usb/ukyopon.h: netbsd-7-nhusb sys/dev/usb/ulpt.c: netbsd-7-nhusb sys/dev/usb/umass.c: netbsd-7-nhusb sys/dev/usb/umass_isdata.c: netbsd-7-nhusb sys/dev/usb/umass_isdata.h: netbsd-7-nhusb sys/dev/usb/umass_quirks.c: netbsd-7-nhusb sys/dev/usb/umass_quirks.h: netbsd-7-nhusb sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb sys/dev/usb/umassvar.h: netbsd-7-nhusb sys/dev/usb/umcs.c: netbsd-7-nhusb sys/dev/usb/umct.c: netbsd-7-nhusb sys/dev/usb/umidi.c: netbsd-7-nhusb sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb sys/dev/usb/umodem.c: netbsd-7-nhusb sys/dev/usb/umodem_common.c: netbsd-7-nhusb sys/dev/usb/umodemvar.h: netbsd-7-nhusb sys/dev/usb/ums.c: netbsd-7-nhusb sys/dev/usb/uplcom.c: netbsd-7-nhusb sys/dev/usb/urio.c: netbsd-7-nhusb sys/dev/usb/urio.h: netbsd-7-nhusb sys/dev/usb/usb.c: netbsd-7-nhusb sys/dev/usb/usb.h: netbsd-7-nhusb sys/dev/usb/usb_mem.c: netbsd-7-nhusb sys/dev/usb/usb_mem.h: netbsd-7-nhusb sys/dev/usb/usb_quirks.c: netbsd-7-nhusb sys/dev/usb/usb_quirks.h: netbsd-7-nhusb sys/dev/usb/usb_subr.c: netbsd-7-nhusb sys/dev/usb/usbdevices.config: netbsd-7-nhusb sys/dev/usb/usbdevs: netbsd-7-nhusb sys/dev/usb/usbdevs.h: netbsd-7-nhusb sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb sys/dev/usb/usbdi.c: netbsd-7-nhusb sys/dev/usb/usbdi.h: netbsd-7-nhusb sys/dev/usb/usbdi_util.c: netbsd-7-nhusb sys/dev/usb/usbdi_util.h: netbsd-7-nhusb sys/dev/usb/usbdivar.h: netbsd-7-nhusb sys/dev/usb/usbhid.h: netbsd-7-nhusb sys/dev/usb/usbhist.h: netbsd-7-nhusb sys/dev/usb/usbroothub.c: netbsd-7-nhusb sys/dev/usb/usbroothub.h: netbsd-7-nhusb sys/dev/usb/usbroothub_subr.c: delete sys/dev/usb/usbroothub_subr.h: delete sys/dev/usb/uscanner.c: netbsd-7-nhusb sys/dev/usb/uslsa.c: netbsd-7-nhusb sys/dev/usb/usscanner.c: netbsd-7-nhusb sys/dev/usb/ustir.c: netbsd-7-nhusb sys/dev/usb/uthum.c: netbsd-7-nhusb sys/dev/usb/utoppy.c: netbsd-7-nhusb sys/dev/usb/uts.c: netbsd-7-nhusb sys/dev/usb/uvideo.c: netbsd-7-nhusb sys/dev/usb/uvisor.c: netbsd-7-nhusb sys/dev/usb/uvscom.c: netbsd-7-nhusb sys/dev/usb/uyap.c: netbsd-7-nhusb sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb sys/dev/usb/uyurex.c: netbsd-7-nhusb sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb sys/dev/usb/xhci.c: netbsd-7-nhusb sys/dev/usb/xhcireg.h: netbsd-7-nhusb sys/dev/usb/xhcivar.h: netbsd-7-nhusb sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb sys/external/bsd/drm2/include/linux/err.h: delete sys/external/bsd/drm2/include/linux/workqueue.h: delete sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb sys/external/bsd/drm2/linux/linux_work.c: delete sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb sys/modules/i915drmkms/Makefile: netbsd-7-nhusb sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete sys/rump/dev/lib/libusb/opt/opt_usb.h: delete sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete sys/sys/mbuf.h: netbsd-7-nhusb usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb Merge netbsd-7-nhusb: - API / infrastructure changes to support memory management changes. - Memory management improvements and bug fixes. - HCDs should now be MP safe - conversion to KERNHIST based debug - FS/LS isoc support on ehci(4). - conversion to kmem(9) - Some USB 3 support - mostly from Takahiro HAYASHI (t-hash). - interrupt transfers now get proper DMA operations - general bug fixes - kern/48308 - uhub status notification improvements - umass(4) probe fix (applied to HEAD already) - ohci(4) short transfer fix - Change the SOFTINT level from NET to SERIAL for the USB softint handler. This gives the callback a chance of running when another softint handler at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of the network stack. - kern/49065 - ifconfig tun0 ... sequence locks up system / lockup: softnet_lock held across usb xfr - kern/50491 - unkillable wait in usbd_transfer while using usmsc0 on raspberry pi 2 - kern/51395 - USB Ethernet makes xhci hang - Various improvements to slhci(4) - Various improvements to dwc2(4)
|
| 1.5.10.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.6.16.1 | 16-Apr-2018 |
pgoyette | Sync with HEAD, resolve some conflicts
|
| 1.7.16.1 | 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
| 1.8.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.3 | 01-Jul-2011 |
dyoung | #include <sys/bus.h> instead of <machine/bus.h>.
|
| 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 at91pdc.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.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.4.1 | 03-Jul-2008 |
wrstuden | file at91pdc.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91pdcreg.h 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.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 at91pdcreg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3 | 12-Nov-2012 |
skrll | C99 types
|
| 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 at91pdcvar.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.42.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.2.32.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.2.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.4.1 | 03-Jul-2008 |
wrstuden | file at91pdcvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.8 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.7 | 24-Apr-2021 |
thorpej | branches: 1.7.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.6 | 12-Nov-2012 |
skrll | branches: 1.6.52; C99 types
|
| 1.5 | 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.4 | 01-Jul-2011 |
dyoung | branches: 1.4.2; 1.4.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 19-Jun-2010 |
matt | 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 at91pio.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 at91pio.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.4.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.4.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.6.52.6 | 05-Apr-2021 |
thorpej | Treat config_probe() as if it were a boolean function; don't compare return value > 0... except for the odd balls, which are now really easy to spot.
|
| 1.6.52.5 | 05-Apr-2021 |
thorpej | config_match() -> config_probe() for the straight-forward indirect config cases. There are still a few odd balls using config_match() which should be sorted out later.
|
| 1.6.52.4 | 04-Apr-2021 |
thorpej | CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
|
| 1.6.52.3 | 03-Apr-2021 |
thorpej | Give config_attach() the tagged variadic argument treatment and mechanically convert all call sites.
|
| 1.6.52.2 | 02-Apr-2021 |
thorpej | config_found_ia() -> config_found() w/ CFARG_IATTR.
|
| 1.6.52.1 | 20-Mar-2021 |
thorpej | The proliferation if config_search_*() and config_found_*() combinations is a little absurd, so begin to tidy this up:
- Introduce a new cfarg_t enumerated type, that defines the types of tag-value variadic arguments that can be passed to the various config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS, for now, plus a CFARG_EOL sentinel). - Collapse config_search_*() into config_search() that takes these variadic arguments. - Convert all call sites of config_search_*() to the new signature. Noticed several incorrect usages along the way, which will be audited in a future commit.
|
| 1.7.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.3 | 06-May-2023 |
andvar | few more typos in the word "register", mainly s/resister/register/. In one comment I assume that it was meant to be pull-up resistor.
|
| 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 at91pioreg.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 at91pioreg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3 | 10-Aug-2025 |
andvar | Fix few typos in comments.
|
| 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 at91piovar.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 at91piovar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.8 | 24-Feb-2020 |
rin | 0x%#x --> %#x for non-external codes. Also, stop mixing up 0x%x and %#x in single files as far as possible.
|
| 1.7 | 11-Apr-2019 |
kamil | branches: 1.7.6; Fix CVS Id usage
|
| 1.6 | 12-Nov-2012 |
skrll | branches: 1.6.38; C99 types
|
| 1.5 | 04-Nov-2011 |
aymeric | branches: 1.5.10; switch USB port on
|
| 1.4 | 01-Jul-2011 |
dyoung | branches: 1.4.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91pmc.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.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 at91pmc.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.4.2.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.5.10.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.6.38.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.6.38.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.7.6.1 | 29-Feb-2020 |
ad | Sync with head.
|
| 1.3 | 04-Nov-2011 |
aymeric | add preliminary support for AT91SAM9260
|
| 1.2 | 03-Jul-2008 |
matt | branches: 1.2.4; 1.2.32; 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 at91pmcreg.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.32.1 | 10-Nov-2011 |
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 at91pmcreg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91pmcvar.h 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.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 at91pmcvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91reg.h 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.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 at91reg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4 | 21-Apr-2023 |
skrll | More devmap updates
|
| 1.3 | 21-Apr-2023 |
skrll | Trailing whitespace
|
| 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 at91rm9200bus.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.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.4.1 | 03-Jul-2008 |
wrstuden | file at91rm9200bus.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4 | 30-Jul-2012 |
matt | More -fno-common fixes
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91rm9200busvar.h 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.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 at91rm9200busvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3.12.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.4 | 17-Sep-2021 |
andvar | some love to double letters (in comments).
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91rm9200reg.h 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.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 at91rm9200reg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.2 | 21-Apr-2023 |
skrll | Trailing whitespace
|
| 1.1 | 04-Nov-2011 |
aymeric | branches: 1.1.2; add preliminary support for AT91SAM9260
|
| 1.1.2.2 | 10-Nov-2011 |
yamt | sync with head
|
| 1.1.2.1 | 04-Nov-2011 |
yamt | file at91sam9260bus.c was added on branch yamt-pagecache on 2011-11-10 14:31:39 +0000
|
| 1.1 | 04-Nov-2011 |
aymeric | branches: 1.1.2; add preliminary support for AT91SAM9260
|
| 1.1.2.2 | 10-Nov-2011 |
yamt | sync with head
|
| 1.1.2.1 | 04-Nov-2011 |
yamt | file at91sam9260busvar.h was added on branch yamt-pagecache on 2011-11-10 14:31:39 +0000
|
| 1.2 | 17-Sep-2021 |
andvar | some love to double letters (in comments).
|
| 1.1 | 04-Nov-2011 |
aymeric | branches: 1.1.2; add preliminary support for AT91SAM9260
|
| 1.1.2.2 | 10-Nov-2011 |
yamt | sync with head
|
| 1.1.2.1 | 04-Nov-2011 |
yamt | file at91sam9260reg.h was added on branch yamt-pagecache on 2011-11-10 14:31:39 +0000
|
| 1.4 | 21-Apr-2023 |
skrll | More devmap updates
|
| 1.3 | 21-Apr-2023 |
skrll | Trailing whitespace
|
| 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 at91sam9261bus.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.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.4.1 | 03-Jul-2008 |
wrstuden | file at91sam9261bus.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91sam9261busvar.h 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.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 at91sam9261busvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.4 | 17-Sep-2021 |
andvar | some love to double letters (in comments).
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91sam9261reg.h 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.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 at91sam9261reg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
|
| 1.8 | 10-Sep-2025 |
thorpej | Encapsulate what's needed to attach a SPI bus into a spibus_attach() inline.
|
| 1.7 | 07-Aug-2021 |
thorpej | branches: 1.7.2; Merge thorpej-cfargs2.
|
| 1.6 | 24-Apr-2021 |
thorpej | branches: 1.6.2; 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 | 27-Dec-2019 |
msaitoh | branches: 1.5.10; s/transfered/transferred/
|
| 1.4 | 13-Aug-2019 |
tnn | ensure spibus_attach_args is zero'ed
|
| 1.3 | 01-Jul-2011 |
dyoung | branches: 1.3.54; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 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 at91spi.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.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.4.1 | 03-Jul-2008 |
wrstuden | file at91spi.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.3.54.2 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.3.54.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.5.10.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.6.2.1 | 18-May-2021 |
thorpej | Pass the controller devhandle along to the "spi" instance.
|
| 1.7.2.1 | 09-Aug-2021 |
thorpej | Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2, which is based on a newer HEAD revision.
|
| 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 at91spireg.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 at91spireg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +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 at91spivar.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 at91spivar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.7 | 03-Jul-2020 |
maxv | hardclock_ticks -> getticks()
|
| 1.6 | 12-Nov-2012 |
skrll | C99 types
|
| 1.5 | 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.4 | 01-Jul-2011 |
dyoung | branches: 1.4.2; 1.4.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.3 | 27-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders (Embedtronics Oy's owners, Jon Sevy, and joff).
|
| 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 at91st.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.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 at91st.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.4.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.4.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.4.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.4 | 12-Nov-2012 |
skrll | C99 types
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; 1.3.22; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91streg.h 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.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 at91streg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.3.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.3.12.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91tcreg.h 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.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 at91tcreg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.9 | 03-Jul-2020 |
maxv | hardclock_ticks -> getticks()
|
| 1.8 | 29-May-2020 |
rin | For struct timecounter, use C99 initializers. Compile tested. No functional changes intended.
|
| 1.7 | 12-Nov-2012 |
skrll | C99 types
|
| 1.6 | 04-Nov-2011 |
aymeric | branches: 1.6.10; make compile by disabling yet more things
|
| 1.5 | 01-Jul-2011 |
dyoung | branches: 1.5.2; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.4 | 19-Jun-2010 |
matt | Misc fixes to get this to compile again.
|
| 1.3 | 27-Oct-2009 |
snj | branches: 1.3.2; 1.3.4; Drop 3rd and 4th clauses. Approved by all copyright holders (Embedtronics Oy's owners, Jon Sevy, and joff).
|
| 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 at91tctmr.c was initially added on branch matt-nb4-arm.
|
| 1.1.22.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.1.20.3 | 11-Aug-2010 |
yamt | 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.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 at91tctmr.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.3.4.1 | 03-Jul-2010 |
rmind | sync with head
|
| 1.3.2.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.5.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.5.2.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.6.10.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.11 | 15-Sep-2025 |
thorpej | Encapsulate what's needed to attach an I2C bus into a iicbus_attach() inline.
|
| 1.10 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.9 | 24-Apr-2021 |
thorpej | branches: 1.9.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.8 | 22-Dec-2019 |
thorpej | branches: 1.8.10; Cleanup i2c bus acquire / release, centralizing all of the logic into iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks no longer need to be provided by back-end controller drivers (only if they need special handling, e.g. powering on the i2c controller). This results in the removal of a bunch of rendundant code from each back-end controller driver.
Assert that we are not in hard interrupt context in iic_acquire_bus(), iic_exec(), and iic_release_bus().
|
| 1.7 | 14-Feb-2016 |
chs | branches: 1.7.18; zero the i2c_attach_args structure before filling it in. fixes occasional crashes in iic_attach().
|
| 1.6 | 27-Oct-2012 |
chs | branches: 1.6.14; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.5 | 01-Jul-2011 |
dyoung | branches: 1.5.2; 1.5.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.4 | 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
| 1.3 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
| 1.2 | 03-Jul-2008 |
matt | branches: 1.2.4; 1.2.6; 1.2.12; 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 at91twi.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.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.2.6.1 | 28-Apr-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 at91twi.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.5.12.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.5.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.5.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.6.14.1 | 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.7.18.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.8.10.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.9.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.4 | 23-Sep-2024 |
andvar | s/hodling/holding/ in comment.
|
| 1.3 | 06-May-2023 |
andvar | branches: 1.3.6; s/Registre/Register/ in comment.
|
| 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 at91twireg.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 at91twireg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.3.6.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.3 | 22-Dec-2019 |
thorpej | Cleanup i2c bus acquire / release, centralizing all of the logic into iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks no longer need to be provided by back-end controller drivers (only if they need special handling, e.g. powering on the i2c controller). This results in the removal of a bunch of rendundant code from each back-end controller driver.
Assert that we are not in hard interrupt context in iic_acquire_bus(), iic_exec(), and iic_release_bus().
|
| 1.2 | 03-Jul-2008 |
matt | branches: 1.2.4; 1.2.86; 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 at91twivar.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.86.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.2.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.2.4.1 | 03-Jul-2008 |
wrstuden | file at91twivar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.14 | 26-Oct-2022 |
riastradh | ddb/db_active.h: New home for extern db_active.
This can be included unconditionally, and db_active can then be queried unconditionally; if DDB is not in the kernel, then db_active is a constant zero. Reduces need for #include opt_ddb.h, #ifdef DDB.
|
| 1.13 | 13-Apr-2015 |
riastradh | branches: 1.13.2; 1.13.8; MD rnd.h cleanups. Please let me know if I broke anything!
|
| 1.12 | 15-Nov-2014 |
christos | branches: 1.12.2; centralize the call unit / dialout macros
|
| 1.11 | 10-Aug-2014 |
tls | Merge tls-earlyentropy branch into HEAD.
|
| 1.10 | 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
| 1.9 | 16-Mar-2014 |
dholland | branches: 1.9.2; Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
|
| 1.8 | 12-Nov-2012 |
skrll | branches: 1.8.2; C99 types
|
| 1.7 | 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.6 | 02-Feb-2012 |
tls | branches: 1.6.6; Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each.
ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
|
| 1.5 | 01-Jul-2011 |
dyoung | branches: 1.5.2; 1.5.6; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.4 | 24-Apr-2011 |
rmind | Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.4; 1.3.6; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91usart.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.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 at91usart.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.3.6.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.3.4.1 | 31-May-2011 |
rmind | sync with head
|
| 1.5.6.1 | 18-Feb-2012 |
mrg | merge to -current.
|
| 1.5.2.4 | 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.5.2.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.5.2.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.5.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.6.6.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.6.6.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.6.6.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.8.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.9.2.2 | 10-Aug-2014 |
tls | Rebase.
|
| 1.9.2.1 | 07-Apr-2014 |
tls | Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME| RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers that had stubbed out code, other minor cleanups.
|
| 1.12.2.1 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.13.8.1 | 27-Apr-2017 |
pgoyette | Restore all work from the former pgoyette-localcount branch (which is now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some problems (cgd is non-functional and all atf tests time-out) but they will get resolved soon.
|
| 1.13.2.2 | 20-Jul-2016 |
pgoyette | Redo previous. Rather than separately extracting the device_t, we can rely on sc->sc_dev when we need to call device_release().
|
| 1.13.2.1 | 19-Jul-2016 |
pgoyette | Instead of repeatedly typing the conditional initialization of the .d_localcount members in the various {b,c}devsw, define an initializer macro and use it. This also removes the need for defining new symbols for each 'struct localcount'.
As suggested by riastradh@
|
| 1.4 | 13-Feb-2022 |
andvar | s/Errorrs/Errors/
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91usartreg.h 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.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 at91usartreg.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.7 | 14-Apr-2015 |
riastradh | Include <sys/rndsource.h> where it is actually used.
I had removed <sys/rnd.h> from files that didn't mention anything of the rnd(9) API. But they included other files which assumed <sys/rnd.h> had already been included.
|
| 1.6 | 12-Nov-2012 |
skrll | branches: 1.6.14; C99 types
|
| 1.5 | 02-Feb-2012 |
tls | branches: 1.5.6; Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each.
ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
|
| 1.4 | 19-Nov-2011 |
tls | branches: 1.4.2; First step of random number subsystem rework described in <20111022023242.BA26F14A158@mail.netbsd.org>. This change includes the following:
An initial cleanup and minor reorganization of the entropy pool code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are fixed. Some effort is made to accumulate entropy more quickly at boot time.
A generic interface, "rndsink", is added, for stream generators to request that they be re-keyed with good quality entropy from the pool as soon as it is available.
The arc4random()/arc4randbytes() implementation in libkern is adjusted to use the rndsink interface for rekeying, which helps address the problem of low-quality keys at boot time.
An implementation of the FIPS 140-2 statistical tests for random number generator quality is provided (libkern/rngtest.c). This is based on Greg Rose's implementation from Qualcomm.
A new random stream generator, nist_ctr_drbg, is provided. It is based on an implementation of the NIST SP800-90 CTR_DRBG by Henric Jungheim. This generator users AES in a modified counter mode to generate a backtracking-resistant random stream.
An abstraction layer, "cprng", is provided for in-kernel consumers of randomness. The arc4random/arc4randbytes API is deprecated for in-kernel use. It is replaced by "cprng_strong". The current cprng_fast implementation wraps the existing arc4random implementation. The current cprng_strong implementation wraps the new CTR_DRBG implementation. Both interfaces are rekeyed from the entropy pool automatically at intervals justifiable from best current cryptographic practice.
In some quick tests, cprng_fast() is about the same speed as the old arc4randbytes(), and cprng_strong() is about 20% faster than rnd_extract_data(). Performance is expected to improve.
The AES code in src/crypto/rijndael is no longer an optional kernel component, as it is required by cprng_strong, which is not an optional kernel component.
The entropy pool output is subjected to the rngtest tests at startup time; if it fails, the system will reboot. There is approximately a 3/10000 chance of a false positive from these tests. Entropy pool _input_ from hardware random numbers is subjected to the rngtest tests at attach time, as well as the FIPS continuous-output test, to detect bad or stuck hardware RNGs; if any are detected, they are detached, but the system continues to run.
A problem with rndctl(8) is fixed -- datastructures with pointers in arrays are no longer passed to userspace (this was not a security problem, but rather a major issue for compat32). A new kernel will require a new rndctl.
The sysctl kern.arandom() and kern.urandom() nodes are hooked up to the new generators, but the /dev/*random pseudodevices are not, yet.
Manual pages for the new kernel interfaces are forthcoming.
|
| 1.3 | 23-Oct-2009 |
snj | branches: 1.3.12; Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91usartvar.h 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.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 at91usartvar.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.3.12.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.3.12.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.4.2.1 | 18-Feb-2012 |
mrg | merge to -current.
|
| 1.5.6.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.5.6.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.6.14.1 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.3 | 23-Oct-2009 |
snj | Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
|
| 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 at91var.h 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.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 at91var.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|
| 1.3 | 04-Nov-2011 |
aymeric | add preliminary support for AT91SAM9260
|
| 1.2 | 03-Jul-2008 |
matt | branches: 1.2.4; 1.2.32; 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 files.at91 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.32.1 | 10-Nov-2011 |
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 files.at91 was added on branch wrstuden-revivesa on 2008-09-18 04:33:20 +0000
|