History log of /src/sys/arch/atari/dev/zs.c |
Revision | | Date | Author | Comments |
1.82 |
| 06-Jul-2024 |
andvar | Fix various typos in comments: s/defininitions/definitions/ s/ininitialise/initialise/ s/collasped/collapsed/ s/optionaly/optionally/
|
1.81 |
| 06-Jan-2023 |
tsutsui | branches: 1.81.6; TAB/spaces/indents cleanup.
|
1.80 |
| 26-Jun-2022 |
tsutsui | Make local devsw functions static.
No visible regression on TT030.
|
1.79 |
| 03-Jan-2021 |
thorpej | malloc(9) -> kmem(9)
|
1.78 |
| 08-Feb-2018 |
dholland | branches: 1.78.16; Typos.
|
1.77 |
| 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.76 |
| 24-Mar-2014 |
christos | branches: 1.76.2; - remove unused - use cpu_{g,s}etmodel() (not committed yet)
|
1.75 |
| 16-Mar-2014 |
dholland | Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
|
1.74 |
| 30-Jun-2011 |
wiz | branches: 1.74.2; 1.74.12; 1.74.16; dependant -> dependent
|
1.73 |
| 24-Apr-2011 |
rmind | Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
1.72 |
| 09-Apr-2010 |
tsutsui | branches: 1.72.2; - establish zs interrupts via common intr_establish() function rather than hardcording them in locore.s and vector.s - also make interrupt handlers take per unit softc and put a softint cookie into softc (though atari machines have only one zs) - tweak some structures as per MI z8530sc driver
Tested on TT030 using sl(4) on zs.
|
1.71 |
| 09-Apr-2010 |
tsutsui | minor constify
|
1.70 |
| 09-Apr-2010 |
tsutsui | More KNF.
|
1.69 |
| 09-Apr-2010 |
tsutsui | Split device_t/softc.
|
1.68 |
| 09-Apr-2010 |
tsutsui | Rename variables and members of softc for readability.
|
1.67 |
| 09-Apr-2010 |
tsutsui | Remove unnecessary volatile keyword against struct zschan. (volatile against structure member is enough)
|
1.66 |
| 09-Apr-2010 |
tsutsui | - misc KNF - remove `register' keyword from variable declarations
|
1.65 |
| 09-Apr-2010 |
tsutsui | Include ioconf.h for struct cfdriver.
|
1.64 |
| 19-Jul-2009 |
tsutsui | branches: 1.64.2; 1.64.4; Replace one missed bcopy(9) with memcpy(9).
|
1.63 |
| 19-Jul-2009 |
tsutsui | Remove extra whitespace added by a dumb tool which replaced bcopy with memcpy.
|
1.62 |
| 18-Mar-2009 |
cegger | bcopy -> memcpy
|
1.61 |
| 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.60 |
| 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.59 |
| 14-Mar-2009 |
dsl | Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
1.58 |
| 28-Jan-2009 |
tjam | branches: 1.58.2; Remove sicallback to use the MI softint(9) APIs directly - from Tsutsui
|
1.57 |
| 11-Jun-2008 |
tsutsui | branches: 1.57.4; 1.57.6; Use device_private() and device_lookup_privat() to get softc.
|
1.56 |
| 29-Apr-2008 |
martin | branches: 1.56.2; 1.56.4; Convert to new 2 clause license
|
1.55 |
| 08-Jan-2008 |
joerg | branches: 1.55.6; 1.55.8; 1.55.10; Convert Atari to generic TODR and timecounter.
|
1.54 |
| 19-Nov-2007 |
ad | branches: 1.54.6; - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.53 |
| 06-Mar-2007 |
tsutsui | branches: 1.53.2; 1.53.18; 1.53.20; 1.53.24; 1.53.26; Make TX buffer (uint8_t *) and remove an unnecessary cast.
|
1.52 |
| 04-Mar-2007 |
christos | Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.51 |
| 01-Oct-2006 |
elad | branches: 1.51.4; More from Matt Fleming:
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
|
1.50 |
| 01-Oct-2006 |
elad | Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
|
1.49 |
| 04-Aug-2006 |
mhitch | branches: 1.49.4; 1.49.6; More gcc4 "uninitilized" variables.
|
1.48 |
| 23-Jul-2006 |
ad | Use the LWP cached credentials where sane.
|
1.47 |
| 14-May-2006 |
elad | integrate kauth.
|
1.46 |
| 08-Mar-2006 |
lukem | branches: 1.46.2; Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings. Add a space between numbers and Hz unit.
|
1.45 |
| 11-Dec-2005 |
christos | branches: 1.45.4; 1.45.6; 1.45.8; 1.45.10; merge ktrace-lwp.
|
1.44 |
| 06-Sep-2005 |
kleink | Change the driver open function's conditional for overriding exclusive tty use from checking the proc's uid to suser(9), and account for the use of privileges. Noted by David Holland in PR kern/31126.
|
1.43 |
| 04-Jun-2005 |
he | branches: 1.43.2; Adapt to compiling with -Wshadow and -Wcast-qual, by adding const qualification in places and renaming a few local variables. Also adds a couple uses of __UNVOLATILE() to allow passing volatile variables to functions wanting e.g. caddr_t.
|
1.42 |
| 25-Mar-2004 |
leo | Licence cleanup (suggested by wiz).
|
1.41 |
| 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.40 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.39 |
| 23-Oct-2002 |
jdolecek | branches: 1.39.6; merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
1.38 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.37 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.36 |
| 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.35 |
| 17-Mar-2002 |
atatat | branches: 1.35.4; Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
|
1.34 |
| 02-May-2001 |
scw | branches: 1.34.2; 1.34.4; 1.34.8; Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
|
1.33 |
| 01-Feb-2001 |
leo | branches: 1.33.2; Fix fallout from lastest tty changes.
|
1.32 |
| 02-Nov-2000 |
eeh | Adapt to new line discipline scheme.
|
1.31 |
| 29-Mar-2000 |
leo | Nuke a bunch of cf_unit abuses.
|
1.30 |
| 11-Feb-1999 |
mycroft | branches: 1.30.8; 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.29 |
| 25-Mar-1998 |
leo | Sync with latest tty changes.
|
1.28 |
| 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.27 |
| 10-Mar-1997 |
leo | Use vme_mask, not sys_mask to enable the SCC interrupt.
|
1.26 |
| 21-Jan-1997 |
leo | branches: 1.26.4; Don't set the PA_SER2 bit by default, this has the nasty side effect that it disables the IDE hardware on the Falcon (Thanks Markus ;-) ). A function is provided to toggle the bit.
|
1.25 |
| 20-Dec-1996 |
leo | branches: 1.25.2; Get rid of BROKEN_INDIRECT_CONFIG
|
1.24 |
| 10-Nov-1996 |
leo | Add frequency table for Hades.
|
1.23 |
| 13-Oct-1996 |
christos | backout previous kprintf changes
|
1.22 |
| 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.21 |
| 18-Jun-1996 |
leo | Add tty_attach() calls.
|
1.20 |
| 15-May-1996 |
leo | branches: 1.20.4; Prototype + -Wall fixes.
|
1.19 |
| 18-Apr-1996 |
leo | Yet more prototyping and -Wall fixes.
|
1.18 |
| 27-Mar-1996 |
leo | Take out direct access to the YM2149. The chip definitions are moved from video.h to ym2149reg.h.
|
1.17 |
| 17-Mar-1996 |
thorpej | New device attachment scheme:
- split softc size and match/attach out from cfdriver into a new struct cfattach.
- new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics.
|
1.16 |
| 08-Mar-1996 |
leo | Fix a bug in the DCD handling. Because the state of the DCD line was kept in a soft-copy that wasn't initialized on open, it sometimes happend that a change of the carrier got lost. Also fixed some prototypes.
|
1.15 |
| 22-Feb-1996 |
leo | First bunch of changes due to stricter prototype checking.
|
1.14 |
| 23-Jan-1996 |
leo | Fixes 'hanging' problem when closing a serial port.
|
1.13 |
| 25-Dec-1995 |
leo | - Remove an unwanted interference between the 2 channels. - Allocate the ringbuffer on a channel's first open.
|
1.12 |
| 16-Dec-1995 |
leo | Correct PCLK value.
|
1.11 |
| 03-Dec-1995 |
leo | Return a more sensible errno when someone is trying to set the unsupported mdmbuf option.
|
1.10 |
| 30-Nov-1995 |
jtc | merge in changes from 1.1 release branch
|
1.9 |
| 23-Sep-1995 |
leo | branches: 1.9.2; Make sure the prototypes and inline definitions are included.
|
1.8 |
| 20-Aug-1995 |
leo | - make sure that there is 1 pending software interrupt max. - read status before character, so the status won't be lost (Thomas Gerner) - accumulate as much interrupts as possible in zshard()
|
1.7 |
| 28-Jun-1995 |
cgd | note that most of dev/ic's contents have changed names
|
1.6 |
| 28-May-1995 |
leo | According to diffs from Waldi Raven: Make speed/clock-source selection smarter. This makes the baudrates more accurate and allows speeds upto 115k baud.
|
1.5 |
| 14-May-1995 |
leo | Don't mess with SCU on the Falcon.
|
1.4 |
| 22-Apr-1995 |
leo | Adapt for new conf.h: - Add xxxtty() functions - Remove xxx_tty array
|
1.3 |
| 11-Apr-1995 |
mycroft | Undo accidental change.
|
1.2 |
| 11-Apr-1995 |
mycroft | Use global 8530 defs.
|
1.1 |
| 26-Mar-1995 |
leo | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 26-Mar-1995 |
leo | NetBSD/Atari, port by Leo Weppelman.
|
1.9.2.1 |
| 15-Nov-1995 |
leo | - Increase ringbuffer size. - Make sure ser02 will be connected to the 8530 when being opened.
|
1.20.4.1 |
| 18-Jun-1996 |
leo | Pull up tty_attach() changes from trunk.
|
1.25.2.1 |
| 30-Jan-1997 |
thorpej | update from trunk
|
1.26.4.1 |
| 12-Mar-1997 |
is | Merge in Changes from The Trunk.
|
1.30.8.3 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.30.8.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.30.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.33.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.34.8.5 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.34.8.4 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.34.8.3 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.34.8.2 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.34.8.1 |
| 02-May-2001 |
nathanw | file zs.c was added on branch nathanw_sa on 2002-04-01 07:39:33 +0000
|
1.34.4.1 |
| 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.34.2.2 |
| 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.34.2.1 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.35.4.1 |
| 17-May-2002 |
gehenna | Add device switch.
|
1.39.6.5 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.39.6.4 |
| 17-Jan-2005 |
skrll | Adapt to branch.
|
1.39.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.39.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.39.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.43.2.5 |
| 21-Jan-2008 |
yamt | sync with head
|
1.43.2.4 |
| 07-Dec-2007 |
yamt | sync with head
|
1.43.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.43.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.43.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.45.10.4 |
| 13-May-2006 |
elad | sprinkle some #include <sys/kauth.h> in files that use kauth kpi but don't include it yet. hopefully this will prevent some fallout.
|
1.45.10.3 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.45.10.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
1.45.10.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
I expect *some* lossage here...
|
1.45.8.3 |
| 11-Aug-2006 |
yamt | sync with head
|
1.45.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.45.8.1 |
| 13-Mar-2006 |
yamt | sync with head.
|
1.45.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.45.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.45.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.46.2.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.49.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.49.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.51.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.53.26.2 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.53.26.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.53.24.1 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.53.20.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.53.20.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.53.18.1 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.53.2.1 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.54.6.1 |
| 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.55.10.4 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.55.10.3 |
| 19-Aug-2009 |
yamt | sync with head.
|
1.55.10.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.55.10.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.55.8.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.55.8.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.55.6.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.55.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.56.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.56.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.57.6.1 |
| 02-Feb-2009 |
snj | Pull up following revision(s) (requested by tjam in ticket #370): sys/arch/atari/dev/zs.c: revision 1.58 Remove sicallback to use the MI softint(9) APIs directly - from Tsutsui
|
1.57.4.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.57.4.1 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.58.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.64.4.2 |
| 31-May-2011 |
rmind | sync with head
|
1.64.4.1 |
| 30-May-2010 |
rmind | sync with head
|
1.64.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.72.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.74.16.1 |
| 18-May-2014 |
rmind | sync with head
|
1.74.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.74.2.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.76.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.78.16.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.81.6.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|