History log of /src/sys/arch/next68k/dev/zs.c |
Revision | | Date | Author | Comments |
1.38 |
| 04-Feb-2023 |
tsutsui | Remove trailing spaces and TABs.
|
1.37 |
| 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.36 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.35 |
| 24-Apr-2021 |
thorpej | branches: 1.35.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.34 |
| 01-May-2017 |
martin | branches: 1.34.24; PR port-next68k/52205 from Miod Vallat: cosmetic change to print the physical address when attaching zs devices. For the real work, zs_get_chan_addr() will still use the virtual address.
|
1.33 |
| 13-Jun-2008 |
cegger | branches: 1.33.40; 1.33.60; 1.33.74; use device_lookup_private to get softc
|
1.32 |
| 28-Apr-2008 |
martin | branches: 1.32.2; 1.32.4; Remove clause 3 and 4 from TNF licenses
|
1.31 |
| 29-Mar-2008 |
tsutsui | branches: 1.31.2; 1.31.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.30 |
| 28-Nov-2007 |
ad | branches: 1.30.14; Use the softint API.
|
1.29 |
| 09-Nov-2007 |
ad | Call zs_lock_init() to set up the chanstate's lock.
|
1.28 |
| 08-Mar-2007 |
tsutsui | branches: 1.28.2; 1.28.18; 1.28.20; 1.28.24; 1.28.26; MI softintr(9)'fy. Tested by bouyer@. See also: http://mail-index.netbsd.org/port-next68k/2007/03/06/0000.html
|
1.27 |
| 11-Dec-2005 |
christos | branches: 1.27.26; merge ktrace-lwp.
|
1.26 |
| 10-Jan-2005 |
chs | branches: 1.26.10; use a global variable to ensure that only one instance is configured rather than requiring that its unit number be zero. simplify by not pretending that nexts can have more than 1 zsc.
|
1.25 |
| 10-Jan-2005 |
chs | really remove register.
|
1.24 |
| 10-Jan-2005 |
chs | de-__P, remove register, ansify, other cleanup.
|
1.23 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.22 |
| 28-Jan-2003 |
pk | branches: 1.22.2; Provide locking required by the interrupt handlers running at IPL_SERIAL.
|
1.21 |
| 01-Jan-2003 |
thorpej | Use aprint_normal() for cfprint routines.
|
1.20 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.19 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.18 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.17 |
| 11-Sep-2002 |
mycroft | Comprehensive patches from Christian Limpach: * Fix problems with the DMA and SCSI drivers. * Make turbo machines sort of work. Additional fixes from me: * Determine if we're a turbo at boot time, by looking at the ROM machine type. * Set the display size correctly (1120 pixels wide, but padded to 1152 only on non-turbo machines). Caveats: * SCSI doesn't work on the turbo (or at least it blows chunks with no devices attached). * Media selection doesn't work on the turbo (the BMAP stuff doesn't exist on turbo machines). * The boot block is prone to timing out.
|
1.16 |
| 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.15 |
| 30-May-2001 |
lukem | branches: 1.15.2; 1.15.4; 1.15.8; 1.15.16; add missing #include "opt_kgdb.h"
|
1.14 |
| 13-May-2001 |
chs | turn on printf format-string checking and -Werror. fix all warnings.
|
1.13 |
| 05-Apr-2001 |
dbj | initialize zsaddr to intio address space in zs_attach addresses pr 6770 in the future, zs should be upgraded to use NEXT68k_INTIO_BUS_SPACE instead of using IIOV directly.
|
1.12 |
| 06-Mar-2000 |
deberg | branches: 1.12.6; we don't have callrom(), so stop pretending otherwise. fixes PR next68k/7257.
|
1.11 |
| 03-Aug-1999 |
dbj | branches: 1.11.2; defopt SERCONSOLE
|
1.10 |
| 27-Mar-1999 |
dbj | added kgdb support.
|
1.9 |
| 27-Mar-1999 |
wrstuden | Add pps support. Only enable pps if CLOCAL & !MDMBUF.
|
1.8 |
| 26-Mar-1999 |
dbj | Added support for using wscons as console. Enabled wscons as default console. Use option SERCONSOLE now to use serial console instead now.
|
1.7 |
| 11-Feb-1999 |
mycroft | Minor cleanup. Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on some ports where PCLK is not 4.9152MHz. XXX Is the default value actually used?
|
1.6 |
| 03-Feb-1999 |
mycroft | Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty frontends get it from zsparam() anyway.
|
1.5 |
| 02-Jan-1999 |
dbj | applied patch from pr port-next68k/6704: next68k zs driver formatting error zs driver needs to print a newline.
|
1.4 |
| 10-Nov-1998 |
dbj | Sync'ed more files and routines with mvme port in prepartion for UVM. Now use generic m68k cachops everywhere rather than defining them in locore.s
|
1.3 |
| 11-Jul-1998 |
dbj | Reserved 8k at top of memory for ROM. This fixes warp9c boot problems. changed ethernet panic to a warning when out of DMA buffers. This allows resuming if you sit in ddb too long.
|
1.2 |
| 04-Jul-1998 |
jonathan | defopt DDB.
|
1.1 |
| 09-Jun-1998 |
dbj | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 09-Jun-1998 |
dbj | Initial import of NetBSD/next68k.
|
1.11.2.2 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.11.2.1 |
| 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.12.6.2 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.12.6.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
1.15.16.1 |
| 19-May-2002 |
gehenna | Replace the access to devsw table and the hard-coded majors with devsw API.
|
1.15.8.4 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.15.8.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.15.8.2 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.15.8.1 |
| 30-May-2001 |
nathanw | file zs.c was added on branch nathanw_sa on 2002-09-17 21:16:31 +0000
|
1.15.4.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.15.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.22.2.4 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.22.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.22.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.22.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.26.10.3 |
| 07-Dec-2007 |
yamt | sync with head
|
1.26.10.2 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.26.10.1 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.27.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.28.26.2 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.28.26.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.28.24.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.28.20.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.28.18.2 |
| 03-Dec-2007 |
joerg | Sync with HEAD.
|
1.28.18.1 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.28.2.1 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.30.14.3 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.30.14.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.30.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.31.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.31.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.31.2.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.31.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.32.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.32.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.33.74.1 |
| 02-May-2017 |
pgoyette | Sync with HEAD - tag prg-localcount2-base1
|
1.33.60.1 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.33.40.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.34.24.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.35.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|