History log of /src/sys/arch/sun2/dev/zs.c |
Revision | | Date | Author | Comments |
1.26 |
| 12-Dec-2023 |
andvar | remove TTY_DEBUG code from sun2/sparc64 zs.c code. it doesn't look relevant to this particular drivers and likely is a leftover from some historical code.
|
1.25 |
| 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.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 |
| 13-Oct-2012 |
tsutsui | branches: 1.21.52; struct device * -> device_t, struct cfdata * -> cfdata_t (from chs@)
|
1.20 |
| 26-Oct-2011 |
mrg | branches: 1.20.2; 1.20.12; catch up with other zs ports, original commit was:
>add two new functions for z8530tty: zs_chan_lock() and zs_chan_unlock(), >and use them instead of various spl's in the zs.c's. > >reviewed by ad and martin.
|
1.19 |
| 13-Jun-2008 |
cegger | use device_lookup_private to get softc
|
1.18 |
| 28-Apr-2008 |
martin | branches: 1.18.2; 1.18.4; Remove clause 3 and 4 from TNF licenses
|
1.17 |
| 29-Mar-2008 |
tsutsui | branches: 1.17.2; 1.17.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.16 |
| 04-Dec-2007 |
tsutsui | branches: 1.16.12; Adapt sun68k ports to recent interrupt handling changes.
XXX: sun2 (m68010) doesn't have CAS instructions.
|
1.15 |
| 09-Nov-2007 |
ad | branches: 1.15.2; Call zs_lock_init() to set up the chanstate's lock.
|
1.14 |
| 11-Mar-2007 |
tsutsui | branches: 1.14.16; 1.14.18; 1.14.22; 1.14.24; Print correct softipl number.
|
1.13 |
| 05-Oct-2006 |
tsutsui | branches: 1.13.4; 1.13.8; Remove incorrect comment.
|
1.12 |
| 28-Mar-2006 |
thorpej | branches: 1.12.8; 1.12.10; Use device_is_a().
|
1.11 |
| 11-Dec-2005 |
christos | branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.12; merge ktrace-lwp.
|
1.10 |
| 22-Jan-2005 |
chs | branches: 1.10.8; de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
|
1.9 |
| 13-Feb-2004 |
wiz | branches: 1.9.8; Uppercase CPU, plural is CPUs.
|
1.8 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.7 |
| 28-Jan-2003 |
pk | branches: 1.7.2; Provide locking required by the interrupt handlers running at IPL_SERIAL.
|
1.6 |
| 01-Jan-2003 |
thorpej | Use aprint_normal() for cfprint routines.
|
1.5 |
| 13-Dec-2002 |
fredette | bcopy -> memcpy, bzero -> memset
|
1.4 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.3 |
| 27-Sep-2002 |
thorpej | Rather than referencing the cfdriver directly in the cfdata entries, instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
|
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 |
| 22-Mar-2002 |
fredette | branches: 1.1.4; 1.1.6; 1.1.10; Added support for the sun2 zs serial ports. As this driver is very common on Suns, it could be made shared under sys/dev/sun.
|
1.1.10.3 |
| 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.1.10.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.1.10.1 |
| 22-Mar-2002 |
jdolecek | file zs.c was added on branch kqueue on 2002-06-23 17:42:30 +0000
|
1.1.6.1 |
| 19-May-2002 |
gehenna | Remove hard-coded major.
|
1.1.4.6 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.1.4.5 |
| 19-Dec-2002 |
thorpej | Sync with HEAD.
|
1.1.4.4 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.3 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.1.4.2 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.1.4.1 |
| 22-Mar-2002 |
nathanw | file zs.c was added on branch nathanw_sa on 2002-04-01 07:43:18 +0000
|
1.7.2.4 |
| 24-Jan-2005 |
skrll | Sync with HEAD.
|
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.9.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.10.8.5 |
| 07-Dec-2007 |
yamt | sync with head
|
1.10.8.4 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.10.8.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.10.8.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.10.8.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.11.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.11.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.11.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.11.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.11.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.12.10.1 |
| 06-Oct-2006 |
tsutsui | Sync files of recent sun3 and sun68k merge and intersil7170(4) changes with HEAD to build sun3 kernel on this branch.
|
1.12.8.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.13.8.2 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.13.8.1 |
| 13-Mar-2007 |
ad | Sync with head.
|
1.13.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.14.24.2 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.14.24.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.14.22.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.14.18.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.14.16.2 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.14.16.1 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.15.2.1 |
| 08-Dec-2007 |
ad | Sync with head.
|
1.16.12.3 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.16.12.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.16.12.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.17.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.17.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.17.2.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.17.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.18.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.18.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.20.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.20.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.21.52.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 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|