History log of /src/sys/arch/atari/dev/ser.c |
Revision | | Date | Author | Comments |
1.60 |
| 18-Aug-2025 |
andvar | Fix various typos, mainly in comments: s/invaid/invalid/ s/instad/instead/ s/wich/with/ s/tranform/transform/ s/tranmist/transmit/ s/tranceiver/transceiver/ s/Tranparent/Transparent/ s/tranlated/translated/ s/tranfer/transfer/ s/tranmissions/transmissions/ s/condtions/conditions/ s/Recient/Recent/
|
1.59 |
| 30-Aug-2023 |
andvar | atari/ser(4): constify "char *str" serstatus() argument to fix SER_DEBUG build.
|
1.58 |
| 06-Jan-2023 |
tsutsui | TAB/spaces/indents cleanup.
|
1.57 |
| 26-Jun-2022 |
tsutsui | Make local devsw functions static.
No visible regression on TT030.
|
1.56 |
| 15-Nov-2014 |
christos | centralize the call unit / dialout macros
|
1.55 |
| 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.54 |
| 24-Mar-2014 |
christos | branches: 1.54.2; - remove unused - use cpu_{g,s}etmodel() (not committed yet)
|
1.53 |
| 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.52 |
| 24-Apr-2011 |
rmind | branches: 1.52.4; 1.52.14; 1.52.18; Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
1.51 |
| 10-Apr-2010 |
tsutsui | branches: 1.51.2; Make local functions static.
|
1.50 |
| 09-Apr-2010 |
tsutsui | minor constify
|
1.49 |
| 09-Apr-2010 |
tsutsui | Make options SERCONSOLE (force serial console if DCD is detected) patchable by binpatch(8) like: --- # binpatch -s serconsole -r 0 /netbsd serconsole(0x23bac4): 0x00000001 (1), at offset 0x23bb44 in /netbsd new value: 0x00000000 (0) # ---
May work around PR port-atari/39849 (netbsd-ATARITT kernel fails with serial port connected) and some old TT030 with early revision boards.
|
1.48 |
| 09-Apr-2010 |
tsutsui | - split device_t/softc - verbose output on attach as well as zs serial ports
|
1.47 |
| 09-Apr-2010 |
tsutsui | Include ioconf.h for struct cfdriver.
|
1.46 |
| 09-Apr-2010 |
tsutsui | Misc KNF.
|
1.45 |
| 23-Nov-2009 |
rmind | branches: 1.45.2; 1.45.4; Use lwp_getpcb() on m68k ports, clean from struct user usage.
|
1.44 |
| 08-Jul-2009 |
tsutsui | Merge local <atari/atari/intr.h> into common <machine/intr.h>.
|
1.43 |
| 03-Jul-2009 |
tsutsui | Replace traditional MD si_callback() with MI softint(9).
|
1.42 |
| 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.41 |
| 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.40 |
| 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.39 |
| 11-Jun-2008 |
tsutsui | branches: 1.39.4; 1.39.6; 1.39.10; Use device_private() and device_lookup_privat() to get softc.
|
1.38 |
| 28-Apr-2008 |
martin | branches: 1.38.2; 1.38.4; Remove clause 3 and 4 from TNF licenses
|
1.37 |
| 03-Dec-2007 |
ad | branches: 1.37.14; 1.37.16; 1.37.18; Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implement threaded soft interrupts.
|
1.36 |
| 19-Nov-2007 |
ad | - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.35 |
| 17-Oct-2007 |
garbled | branches: 1.35.2; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
1.34 |
| 09-Jul-2007 |
ad | branches: 1.34.8; 1.34.10; 1.34.14; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.33 |
| 04-Mar-2007 |
christos | branches: 1.33.2; 1.33.4; 1.33.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.32 |
| 01-Oct-2006 |
elad | branches: 1.32.4; More from Matt Fleming:
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
|
1.31 |
| 01-Oct-2006 |
elad | Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
|
1.30 |
| 23-Jul-2006 |
ad | branches: 1.30.4; 1.30.6; Use the LWP cached credentials where sane.
|
1.29 |
| 14-May-2006 |
elad | integrate kauth.
|
1.28 |
| 06-Mar-2006 |
he | branches: 1.28.2; 1.28.4; Remove another instance of the macro triplet SET/CLR/ISSET, now found in <sys/types.h>.
|
1.27 |
| 11-Dec-2005 |
christos | branches: 1.27.4; 1.27.6; 1.27.8; merge ktrace-lwp.
|
1.26 |
| 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.25 |
| 04-Jun-2005 |
he | branches: 1.25.2; Remove the unused global variable "baud" because it is causing shadowing warnings.
|
1.24 |
| 11-Feb-2005 |
simonb | White space nit- don't put a space before/after increment/decrement operators.
|
1.23 |
| 07-Aug-2003 |
agc | branches: 1.23.8; 1.23.10; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.22 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.21 |
| 23-Oct-2002 |
jdolecek | branches: 1.21.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.20 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.19 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.18 |
| 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.17 |
| 29-Aug-2002 |
leo | defopt SERCONSOLE
|
1.16 |
| 30-May-2002 |
thorpej | Don't include params on macro when #undef'ing it.
|
1.15 |
| 17-Mar-2002 |
atatat | branches: 1.15.4; 1.15.6; 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.14 |
| 02-May-2001 |
scw | branches: 1.14.2; 1.14.4; 1.14.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.13 |
| 11-Apr-2001 |
leo | Adapt these for use on the Milan.
|
1.12 |
| 02-Nov-2000 |
eeh | branches: 1.12.2; Adapt to new line discipline scheme.
|
1.11 |
| 29-Mar-2000 |
leo | Nuke a bunch of cf_unit abuses.
|
1.10 |
| 23-Mar-2000 |
thorpej | New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
|
1.9 |
| 06-Aug-1999 |
leo | branches: 1.9.2; Change the way that bit's are cleared in the InterruptPending register of the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that caused a race condition to happen when an interrupt arrived between the Read and Modify-Write. Anyway, this solved my hanging keyboard problem.
|
1.8 |
| 06-Apr-1999 |
pk | remove duplicate line in copyright.
|
1.7 |
| 06-Apr-1999 |
pk | Fix garbled word in copyright statement.
|
1.6 |
| 07-Oct-1998 |
leo | branches: 1.6.6; Copyright stuff.
|
1.5 |
| 04-Jul-1998 |
jonathan | defopt DDB.
|
1.4 |
| 25-Mar-1998 |
leo | Sync with latest tty changes.
|
1.3 |
| 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.2 |
| 27-Aug-1997 |
leo | According to Andre Lange, the Hades has the DTR/RTS lines exchanged on the 68901 UART-port due to a PCB error. Take care of this.
|
1.1 |
| 25-May-1997 |
leo | branches: 1.1.4; Add serial driver for 68901 UART (modem1 port).
|
1.1.4.1 |
| 27-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.6.6.1 |
| 07-Apr-1999 |
pk | branches: 1.6.6.1.2; Pull up from trunk: copyright text warts.
|
1.6.6.1.2.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.9.2.3 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.9.2.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.9.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.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.14.8.6 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.14.8.5 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.14.8.4 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.14.8.3 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.14.8.2 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.14.8.1 |
| 02-May-2001 |
nathanw | file ser.c was added on branch nathanw_sa on 2002-04-01 07:39:33 +0000
|
1.14.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.14.4.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.14.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.14.2.2 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.14.2.1 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.15.6.1 |
| 30-May-2002 |
tv | Pull up revision 1.16 (requested by thorpej in ticket #97): Don't include params on macro when #undef'ing it.
|
1.15.4.3 |
| 31-Aug-2002 |
gehenna | catch up with -current.
|
1.15.4.2 |
| 14-Jul-2002 |
gehenna | catch up with -current.
|
1.15.4.1 |
| 19-May-2002 |
gehenna | Add device switch. Replace the access to devsw table and the hard-coded majors with devsw API.
|
1.21.6.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.21.6.5 |
| 15-Feb-2005 |
skrll | Sync with HEAD.
|
1.21.6.4 |
| 17-Jan-2005 |
skrll | Adapt to branch.
|
1.21.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.21.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.21.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.23.10.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.23.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.25.2.4 |
| 07-Dec-2007 |
yamt | sync with head
|
1.25.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.25.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.25.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.27.8.3 |
| 11-Aug-2006 |
yamt | sync with head
|
1.27.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.27.8.1 |
| 13-Mar-2006 |
yamt | sync with head.
|
1.27.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.27.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.27.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.28.4.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.28.2.3 |
| 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.28.2.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
1.28.2.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
I expect *some* lossage here...
|
1.30.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.30.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.32.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.33.10.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.33.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.33.2.2 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.33.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.34.14.1 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.34.10.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.34.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.34.8.2 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.34.8.1 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.35.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.37.18.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.37.18.4 |
| 11-Mar-2010 |
yamt | sync with head
|
1.37.18.3 |
| 18-Jul-2009 |
yamt | sync with head.
|
1.37.18.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.37.18.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.37.16.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.37.16.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.37.14.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.37.14.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.38.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.38.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.39.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.39.6.1 |
| 20-Nov-2010 |
riz | Pull up following revision(s) (requested by tsutsui in ticket #1368): sys/arch/atari/dev/ser.c: revision 1.49 sys/arch/atari/conf/GENERIC.in: revision 1.86 Make options SERCONSOLE (force serial console if DCD is detected) patchable by binpatch(8) like: --- serconsole(0x23bac4): 0x00000001 (1), at offset 0x23bb44 in /netbsd new value: 0x00000000 (0) --- May work around PR port-atari/39849 (netbsd-ATARITT kernel fails with serial port connected) and some old TT030 with early revision boards. Disable options SERCONSOLE (force serial console if DCD is detected) because now it's patchable by binpatch(8). Enabling serial console by DCD signal could be problematic on some earlier TT030 (with revision A board), and it's also annoying for users who connect an active device on the serial port as mentioned in PR port-atari/39849. XXX: Eventually serial console should be enabled by MD bootloader flags, XXX: but I have no idea how to build bootloader binaries for TOS.
|
1.39.4.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.45.4.2 |
| 31-May-2011 |
rmind | sync with head
|
1.45.4.1 |
| 30-May-2010 |
rmind | sync with head
|
1.45.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.51.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.52.18.1 |
| 18-May-2014 |
rmind | sync with head
|
1.52.14.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.52.14.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.52.4.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.54.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|