| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: Jason Thorpe <thorpej@netbsd.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
size in terms of lines (instead of bytes). When changing video mode
in ioctl SW_XXX commands, syscons checks scp->history_size and
allocate a history buffer at least as large as the new screen size.
(This was unnecessary before, because HISTORY_SIZE was as large as 100
lines and this is bigger than the maximum screen size: 60 lines).
Similar adjustment is done in ioctl CONS_HISTORY command too.
PR: kern/4169
Reviewed by: sos
|
|
|
|
|
|
|
| |
directory. Rename (via repository copy) some files so that the potential
for future conflicts is minimized.
PR: conf/4363
|
|
|
|
| |
indentation (it is supposed to be bogus to match sio.c), and long lines).
|
| |
|
|
|
|
|
| |
ether_ioctl() to work correctly.
Tested by: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
|
|
|
|
| |
<sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
|
| |
|
|
|
|
|
|
|
|
| |
Eliminated the RECURSIVE_MPINTRLOCK.
clock.c and microtime use clock_lock.
sio.c and cy.c use com_lock.
Suggestions by: Bruce Evans <bde@zeta.org.au>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Includers of this file apparently didn't know that <sys/queue.h>
was a prerequisite and include a semi-random collection headers
until one happened to include it.
|
|
|
|
|
|
|
|
|
|
| |
and hardware.
There is now another simple_lock around clock data/hardware accesses in
clock.c and microtime.s. It is my belief that this is the only area
sio/cy might stumble into during an unblocked INTerrupt. Thus I separated
the sio/cy code from the generic disable_intr()/enable_intr() routines.
Controlled by smptests.h: USE_COMLOCK, ON by default.
|
|
|
|
|
|
|
|
|
| |
Add a simplelock to deal with disable_intr()/enable_intr() as used in UP kernel.
UP kernel expects that this is enough to guarantee exclusive access to
regions of code bracketed by these 2 functions.
Add a simplelock to bracket clock accesses in clock.c: clock_lock.
Help from: Bruce Evans <bde@zeta.org.au>
|
|
|
|
| |
Submitted by: jkh
|
| |
|
|
|
|
|
| |
was submitted to me.
Submitted by: Amir Farah <amir@comtrol.com>
|
|
|
|
|
|
|
|
|
| |
Remove unused headers.
Remove all but one instance of the device base name.
Prototype some local static functions.
Consistently reference the softc structure as "sc" rather than "lpt".
Prompted-by: bde
|
| |
|
|
|
|
| |
Use less-magic numbers in the definition of HISTORY_SIZE.
|
|
|
|
|
|
| |
arg of type u_short (just write the function in ANSI C like most
other functions in this file instead of fixing the interface or
depending on a gcc feature).
|
| |
|
| |
|
| |
|
|
|
|
| |
warnings.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
I have no way of testing this one, first SMP/cy user please let me know...
It is my belief that sio and cy are the only FAST_INTR() ISRs. If this
is a bad assumption please educate me.
|
|
|
|
|
|
|
|
| |
Several new fine-grained locks.
New FAST_INTR() methods:
- separate simplelock for FAST_INTR, no more giant lock.
- FAST_INTR()s no longer checks ipending on way out of ISR.
sio made MP-safe (I hope).
|
|
|
|
|
| |
Submitted by: Yixin Jin <yjin@rain.cs.ucla.edu> (I think)
Resubmitted by: Kenneth Merry <ken@gt.ed.net>
|
| |
|
|
|
|
| |
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
|
|
|
|
|
|
|
|
|
| |
- interrupt-driven printing now works (nlpt)
- Rearrangement of bus-related functions into ppb_base/ppbconf
- Addition of ieee1284 interface functions, preliminary parallel-port
PnP support
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
|
|
|
|
| |
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
|
|
|
|
| |
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
|
|
|
|
| |
VOP_BMAP require locked vnode, and they will keep lock on exit.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
entry to the QOUTFIFO when it is full. This should eliminate the
"Timed out while idle" problems that many have reported.
In truth, this is somewhat of a hack. Although are interrupt latency is
low enough that we should be able to always service the queue in time,
since each entry must be passed up to the higher SCSI layer for what can
be a large amount of processing (perhaps even resulting in a new command
being queued) with interrupts disabled, we need this mechanism to avoid
overflow. In the future, these additional tasks will be offloaded to a
software interrupt handler which should make this hack unnecessary.
|
| |
|
|
|
|
|
|
|
| |
Add support for MODEX 320x240x256color with "unchained" adressing, giving
access to all 256K on all VGA's, those with that much memory that is :)
Also make sysmouse use the right resolution in graphics modes.
|
| |
|
| |
|
|
|
|
| |
some newer Cogent (Adaptec) cards and has some other internal changes.
|
| |
|
| |
|
|
|
|
|
|
| |
This now includes code to handle the 2.4GHz WaveModem-based cards.
Submitted by: Jim Binkley <jrb@cs.pdx.edu>
|
|
|
|
| |
Noticed by: smp
|