History log of /src/sys/dev/tc/zs_ioasic.c |
Revision | | Date | Author | Comments |
1.46 |
| 20-Jul-2022 |
thorpej | No need to test for __alpha__ || alpha ... just one will suffice.
|
1.45 |
| 28-May-2022 |
andvar | fix various typos, mainly in comments.
|
1.44 |
| 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.43 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.42 |
| 24-Apr-2021 |
thorpej | branches: 1.42.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.41 |
| 10-Nov-2019 |
chs | branches: 1.41.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.40 |
| 12-May-2009 |
cegger | branches: 1.40.64; struct cfdata * -> cfdata_t, no functional changes intended.
|
1.39 |
| 18-Apr-2009 |
tsutsui | Remove extra whitespace added by a stupid tool. XXX: more in src/sys/arch
|
1.38 |
| 18-Mar-2009 |
cegger | bcopy -> memcpy
|
1.37 |
| 28-Apr-2008 |
martin | branches: 1.37.8; 1.37.14; Remove clause 3 and 4 from TNF licenses
|
1.36 |
| 29-Mar-2008 |
tsutsui | branches: 1.36.2; 1.36.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.35 |
| 09-Nov-2007 |
ad | branches: 1.35.14; Use zs_lock_init() to set up the chanstate's lock.
|
1.34 |
| 07-Nov-2007 |
ad | Merge tty changes from the vmlocking branch.
|
1.33 |
| 08-Oct-2007 |
ad | branches: 1.33.2; 1.33.4; Use the softint API.
|
1.32 |
| 10-May-2006 |
skrll | branches: 1.32.18; 1.32.32; 1.32.34; 1.32.36; Fix a bunch of cast lvalues.
|
1.31 |
| 31-Mar-2006 |
thorpej | Use ANSI function decls, apply static.
|
1.30 |
| 30-Mar-2006 |
thorpej | Use device_private().
|
1.29 |
| 11-Dec-2005 |
christos | branches: 1.29.4; 1.29.6; 1.29.8; 1.29.10; 1.29.12; merge ktrace-lwp.
|
1.28 |
| 26-Aug-2005 |
drochner | s/locdesc_t/int/g
|
1.27 |
| 25-Aug-2005 |
drochner | replace the "locdesc_t" structure carrying the number of locators explicitely by a plain integer array the length in now known to all relevant parties, so this avoids duplication of information, and we can allocate that thing in drivers without hacks
|
1.26 |
| 02-Jun-2005 |
drochner | branches: 1.26.2; avoid "volatile" cast-aways
|
1.25 |
| 27-Feb-2005 |
perry | nuke trailing whitespace
|
1.24 |
| 04-Feb-2005 |
perry | de-__P
|
1.23 |
| 13-Sep-2004 |
drochner | branches: 1.23.4; 1.23.6; a round of autoconf cleanup: -convert submatch() style functions (passed to config_search() or config_found_sm()) to the locator passing variants -pass interface attributes in some cases -make submatch() functions look uniformly as far as possible -avoid macros which just hide cfdata members, and reduce dependencies on "locators.h"
|
1.22 |
| 26-Aug-2004 |
drochner | kick out the ioasic offset check which happens in submatch() now
|
1.21 |
| 06-Mar-2003 |
matt | branches: 1.21.2; Add cn_halt and cn_flush entries to consdevs. (needed for dma-only console devices).
|
1.20 |
| 01-Jan-2003 |
thorpej | Use aprint_normal() in cfprint routines.
|
1.19 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.18 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.17 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.16 |
| 27-Sep-2002 |
thorpej | Introduce a new routine, config_match(), which invokes the cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
|
1.15 |
| 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.14 |
| 26-Sep-2002 |
thorpej | G/c extern reference to ioasic_cd.
|
1.13 |
| 26-Sep-2002 |
thorpej | No need to make sure parent's cfdriver == &ioasic_cd.
|
1.12 |
| 24-Sep-2002 |
ad | Deal with the strange SCC wiring on TC IOASIC machines. Thanks to Bill Studenmund and Jonathan Stone for useful comments.
|
1.11 |
| 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.10 |
| 12-Jan-2002 |
tsutsui | branches: 1.10.8; Call malloc(9) with M_ZERO flag instead of memset() after malloc().
|
1.9 |
| 13-Nov-2001 |
lukem | add/cleanup RCSIDs
|
1.8 |
| 14-Sep-2001 |
ad | Zero out uninitalized fields in the freshly allocated zs_chanstate.
|
1.7 |
| 30-May-2001 |
lukem | branches: 1.7.2; 1.7.4; add missing #include "opt_kgdb.h"
|
1.6 |
| 22-Nov-2000 |
nisimura | branches: 1.6.2; - fix an error in uninitialized variable reference. - add a missing function argument declaration. - minor comment adjustments.
|
1.5 |
| 17-Oct-2000 |
nisimura | branches: 1.5.2; Have consistent #if's for machine dependent clauses.
|
1.4 |
| 17-Oct-2000 |
nisimura | - efforts to merge TC Alpha and IOASIC DECstation, derived from Mattias Drochner's work made in nisimura-pmax-wscons branch. Still a little to do before useful for DECstation. MI softintr required. - allow wildcard matchs to have zstty/zskbd/zsms in default hardware configuration. - abandon to check zs_ioasic_cnattach() return value; it doesn't fail. - have zs_ioasic_cnattach() serial line parameters hardcoded inside, in symmetry with zs_ioasic_lk201_cnattach().
|
1.3 |
| 09-Sep-2000 |
nisimura | u_char -> u_int for function argument and return of Zilog register manipulation helper functions; no loss, no gain, for Alpha processor.
|
1.2 |
| 05-Jul-2000 |
nisimura | - Withdraw ZS_IOASIC_DMA conditional which has never been useful. - Sanitize ZS register access.
|
1.1 |
| 05-Jul-2000 |
nisimura | Repopulate 4 files, zs_ioasic.c and zs_ioasicvar.h from arch/alpha/tc, zskbd.c and zsms.c from dev/dec/, respectively. No functionality change this time.
|
1.5.2.3 |
| 08-Dec-2000 |
bouyer | Sync with HEAD.
|
1.5.2.2 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.5.2.1 |
| 17-Oct-2000 |
bouyer | file zs_ioasic.c was added on branch thorpej_scsipi on 2000-11-20 11:43:18 +0000
|
1.6.2.7 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.6.2.6 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.6.2.5 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.6.2.4 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.6.2.3 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.6.2.2 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
1.6.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.7.4.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.7.2.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.7.2.2 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.7.2.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.10.8.1 |
| 16-May-2002 |
gehenna | Replace the hard-coded major with devsw API.
|
1.21.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.21.2.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.21.2.4 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.21.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.21.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.21.2.1 |
| 03-Sep-2004 |
skrll | Sync with HEAD
|
1.23.6.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.23.6.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.23.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.26.2.3 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.26.2.2 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.26.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.29.12.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.29.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.29.10.2 |
| 11-May-2006 |
elad | sync with head
|
1.29.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.29.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.29.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.29.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.29.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.29.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.32.36.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.32.34.3 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.32.34.2 |
| 08-Nov-2007 |
matt | sync with -HEAD
|
1.32.34.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.32.32.2 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.32.32.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.32.18.2 |
| 15-Jul-2007 |
ad | Get pmax working.
|
1.32.18.1 |
| 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
1.33.4.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.33.2.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.35.14.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.35.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.36.4.3 |
| 16-May-2009 |
yamt | sync with head
|
1.36.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.36.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.36.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.37.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.37.8.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.40.64.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.41.10.2 |
| 22-Mar-2021 |
thorpej | Audit CFARG_IATTR in config_found() calls, and remove it in situations where the interface attribute is not ambiguous.
|
1.41.10.1 |
| 22-Mar-2021 |
thorpej | Mechanical conversion of config_found_sm_loc() -> config_found(). CFARG_IATTR usage needs to be audited.
|
1.42.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|