History log of /src/sys/arch/cesfic/dev/zs.c |
Revision | | Date | Author | Comments |
1.24 |
| 11-Sep-2021 |
andvar | Add missing double p and d for stopped and overriden accordingly. Fix few more typos along the way, mainly in copy-pasted comments.
|
1.23 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.22 |
| 24-Apr-2021 |
thorpej | branches: 1.22.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.21 |
| 18-Nov-2020 |
thorpej | branches: 1.21.2; malloc(9) -> kmem(9)
|
1.20 |
| 10-Nov-2019 |
chs | branches: 1.20.8; 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.19 |
| 24-Mar-2014 |
christos | branches: 1.19.30; - use cpu_{g,s}etmodel - remove unused
|
1.18 |
| 26-Oct-2009 |
cegger | branches: 1.18.12; 1.18.22; 1.18.26; kill extra whitespaces reviewed by tsutsui@
|
1.17 |
| 18-Mar-2009 |
cegger | bcopy -> memcpy
|
1.16 |
| 13-Jun-2008 |
cegger | branches: 1.16.4; 1.16.10; use device_lookup_private to get softc
|
1.15 |
| 28-Apr-2008 |
martin | branches: 1.15.2; 1.15.4; Remove clause 3 and 4 from TNF licenses
|
1.14 |
| 29-Mar-2008 |
tsutsui | branches: 1.14.2; 1.14.4; Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
|
1.13 |
| 03-Dec-2007 |
ad | branches: 1.13.14; Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implement threaded soft interrupts.
|
1.12 |
| 09-Nov-2007 |
ad | Call zs_lock_init() to set up the chanstate's lock.
|
1.11 |
| 05-Mar-2007 |
tsutsui | branches: 1.11.2; 1.11.18; 1.11.20; 1.11.24; 1.11.26; MI softintr(9)'fy. Untested.
This port needs much more cleanups, it seems...
|
1.10 |
| 28-Mar-2006 |
thorpej | branches: 1.10.14; Use device_unit().
|
1.9 |
| 11-Dec-2005 |
christos | branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12; merge ktrace-lwp.
|
1.8 |
| 15-Jul-2003 |
lukem | branches: 1.8.16; __KERNEL_RCSID()
|
1.7 |
| 09-Apr-2003 |
drochner | branches: 1.7.2; catch up with "struct consdev" change
|
1.6 |
| 28-Jan-2003 |
pk | Provide locking required by the interrupt handlers running at IPL_SERIAL.
|
1.5 |
| 01-Jan-2003 |
thorpej | Use aprint_normal() for cfprint routines.
|
1.4 |
| 05-Oct-2002 |
chs | fix void * math, turn on -Wpointer-arith.
|
1.3 |
| 24-Sep-2002 |
ad | Zero fill the newly allocated zs_chanstate.
|
1.2 |
| 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.1 |
| 14-May-2001 |
drochner | branches: 1.1.2; 1.1.8; 1.1.16; Initial import of the known working kernel bits for the NetBSD/cesfic port. cesfic is a VME board with one or two mc68040 processors. See the README file for details. The port is working well with a.out userland, there are some problems with ELF still, like applications running out of memory where it is not expected. Some parts, in particular the pmap (which was taken from hp300 four years ago), need updating, but this is easier done within the NetBSD CVS tree.
|
1.1.16.1 |
| 19-May-2002 |
gehenna | Remove hard-coded major.
|
1.1.8.4 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.1.8.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.8.2 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.1.8.1 |
| 14-May-2001 |
nathanw | file zs.c was added on branch nathanw_sa on 2002-09-17 21:14:05 +0000
|
1.1.2.1 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.7.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.7.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.7.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.8.16.4 |
| 07-Dec-2007 |
yamt | sync with head
|
1.8.16.3 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.8.16.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.8.16.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.9.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.9.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.9.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.9.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.9.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.10.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.11.26.2 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.11.26.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.11.24.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.11.20.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.11.18.2 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.11.18.1 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.11.2.1 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.13.14.3 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.13.14.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.13.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.14.4.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.14.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.14.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.14.2.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.14.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.15.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.15.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.16.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.16.4.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.18.26.1 |
| 18-May-2014 |
rmind | sync with head
|
1.18.22.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.18.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.19.30.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.20.8.1 |
| 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
1.21.2.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.22.8.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|