summaryrefslogtreecommitdiffstats
path: root/sys/isa
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.rgrimes1995-05-306-230/+230
|
* Fixed problem with "char" cursor..sos1995-05-211-2/+6
| | | | Submitted by: ache
* Fix -Wformat warnings from LINT kernel.rgrimes1995-05-111-2/+2
|
* Add variable `idelayed' and macros setdelayed() and schedsofttty()bde1995-05-111-1/+7
| | | | | | | | | | | | to access it. setdelayed() actually ORs the bits in `idelayed' into `ipending' and clears `idelayed'. Call setdelayed() every (normal) clock tick to convert delayed interrupts into pending ones. Drivers can set bits in `idelayed' at any time to schedule an interrupt at the next clock tick. This is more efficient than calling timeout(). Currently only software interrupts can be scheduled.
* Fix -Wformat warnings, still need to do something about %b and pointerrgrimes1995-05-091-3/+3
| | | | type args.
* Add hook for pstat -tache1995-05-071-1/+3
|
* Restructured the floppy tape probe.joerg1995-05-061-6/+2
| | | | | | | The ``flags 1'' in the fdc line is now only needed for owners of an Insight tape (perhaps there aren't any? Mine is disfunctional). All other probes are safe wrt. to the motor-control line of floppy disk drives. Document the flag in LINT finally.
* Added nsccons variable for use by pstatsos1995-04-281-1/+2
| | | | Submitted by: ache
* Added mark_all() call so that screen is proberly updatedsos1995-04-251-1/+2
| | | | when scroll-lock history is disengaged.
* Move declarations of console functions to cons.h (they should bebde1995-04-231-12/+5
| | | | | | config(8)ed). Update other misplaced prototypes.
* Correct the type of the `c' arg to pccnputc().bde1995-04-232-11/+10
| | | | | Move declarations of console functions to cons.h so that they can't be defined inconsistently in several places. They should be config(8)ed.
* Reviewed by: no-one yet, but non-intrusivejulian1995-04-201-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: julian@tfs.com Obtained from: written from scratch slight changes to make space for devfs.. (also conditional test code in i386/isa/fd.c) =================================================================== RCS file: /home/ncvs/src/sys/sys/malloc.h,v retrieving revision 1.7 diff -r1.7 malloc.h 113a114,117 > #define M_DEVFSMNT 62 /* DEVFS mount structure */ > #define M_DEVFSBACK 63 /* DEVFS Back node */ > #define M_DEVFSFRONT 64 /* DEVFS Front node */ > #define M_DEVFSNODE 65 /* DEVFS node */ 184c188,192 < NULL, NULL, NULL, NULL, NULL, \ --- > "DEVFS mount", /* 62 M_DEVFSMNT */ \ > "DEVFS back", /* 63 M_DEVFSBACK */ \ > "DEVFS front", /* 64 M_DEVFSFRONT */ \ > "DEVFS node", /* 65 M_DEVFSNODE */ \ > NULL, \ Index: sys/mount.h =================================================================== RCS file: /home/ncvs/src/sys/sys/mount.h,v retrieving revision 1.16 diff -r1.16 mount.h 100c100,101 < #define MOUNT_MAXTYPE 15 --- > #define MOUNT_DEVFS 16 /* existing device Filesystem */ > #define MOUNT_MAXTYPE 16 118a120 > "devfs", /* 15 MOUNT_DEVFS */ \ Index: sys/vnode.h =================================================================== RCS file: /home/ncvs/src/sys/sys/vnode.h,v retrieving revision 1.19 diff -r1.19 vnode.h 61c61 < VT_UNION, VT_MSDOSFS --- > VT_UNION, VT_MSDOSFS, VT_DEVFS
* Fix initializations of kdc_state for serial consoles.bde1995-04-151-33/+38
| | | | | | | Change order of RTS flow control tests so that less tests are required in the usual case. Clean up parts of previous commits. Cosmetic.
* Forgot two things in yesterday's massive devconf update:wollman1995-04-131-6/+4
| | | | | initialized class for sio don't bogusly re-initialize it in sio_registerdev()
* Move setcompat code to another place, initial/locked devicesache1995-04-131-14/+12
| | | | not supposed to work with old style ioctls
* Comment out ttcompat via COMPAT_SUNOS tooache1995-04-131-11/+15
| | | | Fix error handling initial/callout devices
* ttsetcompat is a '#ifdef COMPAT_43' feature.phk1995-04-121-1/+5
| | | | | | Dropping into the debugger when a break comes down the serial line is a >MISFEATURE (1st class)< and has been put under it's own #ifdef. This should be a magic sequence of chars instead.
* Add a class field to devconf and mst drivers.wollman1995-04-123-38/+81
| | | | | | | | | | | | For those where it was easy, drivers were also fixed to call dev_attach() during probe rather than attach (in keeping with the new design articulated in a mail message five months ago). For a few that were really easy, correct state tracking was added as well. The `fd' driver was fixed to correctly fill in the description. The CPU identify code was fixed to attach a `cpu' device. The code was also massively reordered to fill in cpu_model with somethingremotely resembling what identifycpu() prints out. A few bytes saved by using %b to format the features list rather than lots of ifs.
* Call new ttsetcompat() function for proper workingache1995-04-111-1/+9
| | | | old v7 ioctls with locking bits.
* Correct recalibrate/seek code at attach time so that we do not getrgrimes1995-04-061-4/+11
| | | | | | | all the ``fdc0: ready for output in input'' messages when probing for ft devices. Submitted by: Steve Gerakines <steve2@genesis.tiac.net>
* Fixes to the hardware cursor emulation.sos1995-04-042-56/+80
| | | | Submitted by: ache
* Move unit structure member down to optimize com->state per Bruceache1995-04-041-19/+19
| | | | | suggestion. Move hotchar setting to set_bypass routine and rename it to disc_optim
* Allow serial console BREAK to DDBache1995-04-031-3/+13
| | | | Use com->unit in several places
* Back out changes related to locked bits until more elegantache1995-04-021-85/+7
| | | | solution will be found. Remove some unused variables sneaked in.
* Fix error:ache1995-04-021-7/+83
| | | | | | old type (stty) ioctls can easily bypass locking bits. It involves manual conversion from old ioctls to new ones, large piece of code duplicated from tty_compat.c
* Move SET_BYPASS macro to function per Bruce suggestion.ache1995-04-021-20/+29
| | | | | Add set_bypass() call after l_close. Move ttioctl()/set_bypass() pair under spltty() protection
* Move setting BYPASS state to macro, use it in several times,ache1995-04-011-16/+18
| | | | | | after ttioctl too, because it can change t_line. Remove (TS_CNTTB | TS_LNCH) test, it is always inherits from old tty mode and can't be reach in currently setted mode.
* Adjust TS_CAN_BYPASS_L_RINT state after l_open(), t_lineache1995-04-011-1/+3
| | | | can be changed there.
* Fix count in mark_for_update() for insert-char(s) and delete-char(s).bde1995-04-011-4/+4
| | | | | | Everything from the cursor to the end of the line must be updated. Fix comment about erase-char(s).
* Use new TS_CAN_BYPASS_L_RINT state to avoid complex testache1995-04-011-23/+23
| | | | | | each time. Remove unefficient loop of zeroing error chars in siopoll(), now done at interrupt level.
* Check for never opened or closed device before testingache1995-04-011-3/+6
| | | | terminal flags at interrupt level
* Emulate hw cursor closely, and get start&end scanlines from BIOS.sos1995-03-302-19/+27
|
* Optimized the way physical screen updates are done. Now onlysos1995-03-292-51/+133
| | | | | | | update what has actually been touched. This should speed up screen access on slow hardware. Introduced setting of "destructive" cursor size, much like the old hardware cursor.
* Fix serial error recording using new TTY_BI & TTY_OEache1995-03-291-11/+7
|
* Remove TTY_OE & TTY_BI definitions to allow translation,ache1995-03-291-3/+1
| | | | more work required and will follow
* Change fkey 63 from ^[[K to ^[[~.sos1995-03-281-2/+2
| | | | Submitted by: ache
* Move discard check up and do it only for error statusache1995-03-281-23/+21
| | | | | (per Bruce suggestion). It speedup things for a little. Remove l_start optimization, call l_start always (per Bruce suggestion)
* Don't useache1995-03-281-3/+2
| | | | | | | | | | | | if (tp->t_line != 0) test when CS_ODONE, it fails for NTTYDISC, use if (linesw[tp->t_line].l_start != ttstart) instead. Reviewed by: Submitted by: Obtained from: CVS:
* Forget to add LSR_FE to discard (see prev commit)ache1995-03-281-2/+2
| | | | | | | Reviewed by: Submitted by: Obtained from: CVS:
* Several fixes to help "raw" tty mode work correctly withache1995-03-281-5/+32
| | | | | | | | | | | | | | | | | BREAK/parity/framing errors. Term "correctly" assumes POSIX spec. and 4.4 ttyinput() behaviour. 1) Discard BREAK/parity at interrupt level when apropriate IGN* is set in iflag. It helps "raw" mode works even IGN* is set. 2) Zero parity (if INPCK) and framing directly in buffer before passing it to b_to_q() in "raw" mode. Efficency: interrupt level: if no error occurse, only two "test" commands added "raw" mode: buf scan incc times for parity/framing added Reviewed by: Submitted by: Obtained from: CVS:
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-3/+3
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Raw ttyinput test was incomplete,ache1995-03-281-2/+2
| | | | add !(IGNBRK | BRKINT | PARMRK) now.
* Fix break recording for ttyinputache1995-03-281-2/+4
|
* Give backspace to the people (again)sos1995-03-271-6/+6
| | | | | | | | Now the keymaps are as follows: "backspace / <-" ^H "grey del" ^? (0x7f) "numpad , del" ^? (, if numlocked)
* Terminate all probe/diagnostic/error messages correctly with a \n.rgrimes1995-03-261-27/+26
| | | | | | | | | | Report floppy/tape units on seperate lines as fdX:/ftX: to correct lots of ways the current scheme failed to end the output with \n. Add controller and/or drive designator to the fron of several messages that come from this drive. [It's not fun to track down driver messages using grep over the source tree.] Reviewed by: joerg
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-163-12/+25
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Finally get rid of this bothering ``biodone: buffer already done''joerg1995-03-121-3/+12
| | | | | warning. The buffer needs only to be `biodone()' again if the format operation timed out; otherwise fdstate() did already do the job.
* Fix flag bugs with RUKEYMAPache1995-03-031-3/+3
|
* Minor update to syscons.sos1995-03-033-57/+60
| | | | | | | Let "grey delete" be a function key (default is 0x7f) Fix the xor cursor again.. Made the backspace key generate del as default Made CTRL-space generate nul as default.
* Workaround IXOFF bug when output queue is full && RTS control is onache1995-02-281-2/+6
|
OpenPOWER on IntegriCloud