Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/z8530sc.h
RevisionDateAuthorComments
 1.26  22-May-2009  mrg 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.25  20-Apr-2008  tsutsui branches: 1.25.2; 1.25.12; 1.25.16;
- use uint8_t instead of u_char for unsigned byte values
- make cs_softreq volatile
 1.24  09-Nov-2007  ad branches: 1.24.14; 1.24.16;
Use zs_lock_init() to set up the chanstate's lock.
 1.23  07-Nov-2007  ad Merge tty changes from the vmlocking branch.
 1.22  11-Dec-2005  christos branches: 1.22.30; 1.22.44; 1.22.46; 1.22.50; 1.22.52;
merge ktrace-lwp.
 1.21  04-Feb-2005  perry branches: 1.21.6;
de-__P
 1.20  20-Jun-2004  thorpej branches: 1.20.4; 1.20.6;
Define and use zsccf_channel as an alias for cf_loc[ZSCCF_CHANNEL].
 1.19  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.18  28-Jan-2003  pk branches: 1.18.2;
Provide locking required by the interrupt handlers running at IPL_SERIAL.
 1.17  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.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  11-May-2001  thorpej branches: 1.15.2; 1.15.4; 1.15.14;
Add a flag to suppress SCC reset at attach time.

From Rafal K. Boni.
 1.14  19-Mar-2000  pk branches: 1.14.6;
Define separate flags for console input and output.
Allow console operations to be passed in attachment arguments.
 1.13  14-Mar-2000  jdc Add power management hooks.
 1.12  27-Mar-1999  wrstuden branches: 1.12.8;
PPS support. Copied off of com.c support, with changes as DCD interupts
are only enabled if needed and if ok'd by MD layer.
 1.11  03-Feb-1999  mycroft Catch up with a change to the stint interface.
 1.10  30-Mar-1998  mycroft Eliminate cs_heldchar. It is not necessary in my version of the driver.
 1.9  12-Nov-1997  pk Use a 1-character queue so polled console output can be deferred if
regular I/O has been scheduled.
 1.8  01-Nov-1997  mycroft More changes taken from com driver:
Stop output as fast as possible when DCD is deasserted.
Do *not* automatically drop DTR when DCD is deasserted.
Only check for rr0 bits that we care about (DTR and DCD).
 1.7  17-Oct-1997  gwr branches: 1.7.2;
Rename cs_pad to cs_spare1 (for future use by Bill Studenmund).
 1.6  24-Feb-1997  gwr Add declaration for zs_check_kgdb()
 1.5  17-Dec-1996  gwr branches: 1.5.4;
New version of the z8530 driver that should permit the mac68k port
to use this instead of its own. Also fix warnings, etc.
 1.4  16-Oct-1996  gwr Replace the field cs_rr0_new with cs_rr0_delta (keep changes instead).
 1.3  17-May-1996  gwr Rename cs_pclk_div16 to cs_brg_clk to clarify the fact that the
Baud Rate Generator (BRG) clock is not necessarily PCLK/16.
Also fix up spacing.
 1.2  10-Apr-1996  gwr Make the ring size configurable in the tty driver.
Make the pseudo-interrupt functions return void.
Call the tty layer at spltty (to be safe).
 1.1  24-Jan-1996  gwr Reorganized, machine-independent z8530 driver, based on the sparc/sun3 zs.
Uses autoconfig to attach keyboard, mouse, or tty. (See z8530.doc)
 1.5.4.1  12-Mar-1997  is Merge in changes from Trunk
 1.7.2.3  08-May-1998  mycroft Pull up 1.10, per request of mycroft.
 1.7.2.2  14-Nov-1997  mellon Pull rev 1.9 up from trunk (pk)
 1.7.2.1  06-Nov-1997  mrg pull up rest of zs changes from trunk (verison 1.8)
 1.12.8.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.14.6.3  18-Oct-2002  nathanw Catch up to -current.
 1.14.6.2  17-Sep-2002  nathanw Catch up to -current.
 1.14.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.15.14.1  16-May-2002  gehenna Remove hard-coded major.
 1.15.4.2  13-Oct-2001  fvdl Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.
 1.15.4.1  11-Oct-2001  fvdl Work around some evil, like directly calling interrupt functions
from the attach path, which devvp didn't like because of incompletely
inited tty structs.

All the struct tty init stuff should really be deferred to the first
open for all drivers; the structures are idle before then and
shouldn't be referenced.
 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.18.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.18.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.18.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.18.2.1  03-Aug-2004  skrll Sync with HEAD
 1.20.6.1  12-Feb-2005  yamt sync with head.
 1.20.4.1  29-Apr-2005  kent sync with -current
 1.21.6.1  15-Nov-2007  yamt sync with head.
 1.22.52.1  19-Nov-2007  mjf Sync with HEAD.
 1.22.50.1  13-Nov-2007  bouyer Sync with HEAD
 1.22.46.2  09-Jan-2008  matt sync with HEAD
 1.22.46.1  08-Nov-2007  matt sync with -HEAD
 1.22.44.1  11-Nov-2007  joerg Sync with HEAD.
 1.22.30.1  15-Jul-2007  ad Get pmax working.
 1.24.16.1  18-May-2008  yamt sync with head.
 1.24.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.25.16.1  23-Jul-2009  jym Sync with HEAD.
 1.25.12.1  16-Jan-2011  bouyer Pull up following revision(s) (requested by mrg in ticket #1526):
sys/arch/sparc/dev/zs.c: revision 1.115
sys/dev/ic/z8530sc.h: revision 1.26
sys/dev/ic/z8530sc.c: revision 1.30
sys/dev/ic/z8530tty.c: revision 1.127
sys/arch/sparc64/dev/zs.c: revision 1.68
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.25.2.1  20-Jun-2009  yamt sync with head

RSS XML Feed