| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Submitted by: ache
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
type args.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: ache
|
|
|
|
| |
when scroll-lock history is disengaged.
|
|
|
|
|
|
| |
config(8)ed).
Update other misplaced prototypes.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Change order of RTS flow control tests so that less tests are required
in the usual case.
Clean up parts of previous commits. Cosmetic.
|
|
|
|
|
| |
initialized class for sio
don't bogusly re-initialize it in sio_registerdev()
|
|
|
|
| |
not supposed to work with old style ioctls
|
|
|
|
| |
Fix error handling initial/callout devices
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
old v7 ioctls with locking bits.
|
|
|
|
|
|
|
| |
all the ``fdc0: ready for output in input'' messages when probing
for ft devices.
Submitted by: Steve Gerakines <steve2@genesis.tiac.net>
|
|
|
|
| |
Submitted by: ache
|
|
|
|
|
| |
suggestion. Move hotchar setting to set_bypass routine and rename it
to disc_optim
|
|
|
|
| |
Use com->unit in several places
|
|
|
|
| |
solution will be found. Remove some unused variables sneaked in.
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Add set_bypass() call after l_close.
Move ttioctl()/set_bypass() pair under spltty() protection
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
can be changed there.
|
|
|
|
|
|
| |
Everything from the cursor to the end of the line must be updated.
Fix comment about erase-char(s).
|
|
|
|
|
|
| |
each time.
Remove unefficient loop of zeroing error chars in siopoll(),
now done at interrupt level.
|
|
|
|
| |
terminal flags at interrupt level
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
more work required and will follow
|
|
|
|
| |
Submitted by: ache
|
|
|
|
|
| |
(per Bruce suggestion). It speedup things for a little.
Remove l_start optimization, call l_start always (per Bruce suggestion)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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:
|
|
|
|
|
|
|
| |
Reviewed by:
Submitted by:
Obtained from:
CVS:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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:
|
|
|
|
|
| |
(except in netccitt, netiso and netns) that I didn't notice when I fixed
"all" such warnings before.
|
|
|
|
| |
add !(IGNBRK | BRKINT | PARMRK) now.
|
| |
|
|
|
|
|
|
|
|
| |
Now the keymaps are as follows:
"backspace / <-" ^H
"grey del" ^? (0x7f)
"numpad , del" ^? (, if numlocked)
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
warning. The buffer needs only to be `biodone()' again if the format
operation timed out; otherwise fdstate() did already do the job.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|