drochner
56dd07cea5
don't wait for completion of keyboard enable/disable commands; this
...
might be called without process context, leading to tsleep() panics
(This is a workaround. The timeout() driven wscons glue code
should go instead.)
Fixes tsleep() panics reported by Mark Brinicombe <mark@causality.com>
and Eric Haszlakiewicz <haszlaki@UAccess.NET>.
1999-01-26 11:07:25 +00:00
bouyer
cafe97da38
Another CD drive that doesn't support REQUEST SENSE, from Patrick Welche.
1999-01-26 10:00:08 +00:00
sakamoto
fd094d79ee
NetBSD RCS id.
1999-01-26 06:31:28 +00:00
oster
58f7de552d
Nuke more bits of RAIDframe "demo" code. We're not "demoing" here,
...
we're doing the Real Thing!
1999-01-26 04:40:03 +00:00
oster
472e649cd8
More simulator bits going bye-bye.
1999-01-26 04:05:01 +00:00
oster
c52883118d
This stuff is no longer needed. Mostly simulator bits.
1999-01-26 03:56:21 +00:00
oster
a37be85529
rf_ccmn.h no longer needed. Nuke it's inclusion from rf_disks.c.
1999-01-26 03:49:49 +00:00
oster
d94a2c5b2a
These files are not used in the kernel driver. We don't need them any more.
1999-01-26 03:07:10 +00:00
oster
1eecf8e491
RAIDframe cleanup, phase 1. Nuke simulator support, user-land driver,
...
out-dated comments, and other unneeded stuff. This helps prepare
for cleaning up the rest of the code, and adding new functionality.
No functional changes to the kernel code in this commit.
1999-01-26 02:33:49 +00:00
wrstuden
ccf442a971
Fix thinko in part of rev 1.53.
...
Thanks to Scott for pointing this out to me (I got his mail and figured out
this change before seeing the discussion on tech-kern) and to Charles for
the initial explanation.
1999-01-25 17:53:13 +00:00
augustss
456a96e766
Regen.
1999-01-25 01:09:13 +00:00
augustss
9c673b9bd4
Add some Entrega products.
1999-01-25 01:02:59 +00:00
drochner
b1d62d20ee
-correction to PR kern/6814 from AW9K-NNK@asahi-net.or.jp
...
(Nonaka Kimihiro): grave accent and @ were the wrong way
-assign keysyms to the special japanese conversion keys (even if this
doesn't help wscons - but things must have names)
1999-01-23 17:04:43 +00:00
drochner
428461ab21
add definitions for the additional modifiers on japanese keyboards
...
(These are not of use for wscons, but we want to give names to the keys
at least.)
1999-01-23 16:59:22 +00:00
drochner
9b2859ca00
back to the roots: rename psm->pms
1999-01-23 16:05:56 +00:00
sakamoto
57d82cd1f3
Change bootverbose 1 to 0.
...
Add vr_lookup.
1999-01-22 05:34:36 +00:00
sakamoto
02bb7a4233
Add VIA Rhine/Rhine II Fast Ethernet files.
1999-01-21 12:02:00 +00:00
sakamoto
4f99746d57
Add NetBSD autoconfiguration support.
...
KNF.
1999-01-21 12:00:25 +00:00
sakamoto
bea8f807a7
Import FreeBSD's VIA Rhine fast ethernet PCI NIC driver
...
written by Bill Paul <wpaul@ctr.columbia.edu>.
1999-01-21 11:55:22 +00:00
bouyer
d86a570eac
Add a mitsumi CD that can't handle REQUEST SENSE command. From
...
Johan Danielsson <joda@pdc.kth.se>.
1999-01-21 10:31:39 +00:00
msaitoh
88176e7d20
Fix about insertion/removal event problem.
1999-01-21 07:43:32 +00:00
thorpej
c6aa25bfa1
Fix a st00p1d bug I introduced in rev 1.57, which would cause any activity
...
on non-0 CCD units to crash the system.
1999-01-21 00:35:15 +00:00
ragge
cb2675ff12
Fix some void pointers.
1999-01-19 22:57:47 +00:00
ragge
bef0af5311
Allocate (almost) all interrupt vectors dynamically. Simplifies much
...
work when adding support for new machines and devices.
1999-01-19 21:04:47 +00:00
bouyer
d8f58a3506
Move test for SDEV_NOSTARTUNIT quirk from sd.c to scsipi_start().
...
Add a SDEV_NOSTARTUNIT quirk entry for BCD-16X 1997-04-25", "", "VER 2.2"
CD-rom (from Michael Santos).
1999-01-19 10:57:11 +00:00
bouyer
f10115b632
"Memorex CRW-2642" CD-R can't properly handle REQUEST SENSE command.
...
Add it to the quick table, per PR kern/6844.
1999-01-19 09:31:58 +00:00
bouyer
a1471db64a
move wd.c:print_wderror() to ata.c:ata_perror().
...
In wdc_probe_caps() add code to guess the ATA revision supported (if
ATA4 if Ultra-DMA, ATA2 if PIO mode > 2). We can't rely on param.atap_ata_major
here, at last one Ultra-DMA drive claims to support only ATA-3.
Use the ATA version in ata_perror(), and to try a flush cache command
in a shutdown hook for IDE drives.
1999-01-18 20:06:24 +00:00
drochner
a1038a18af
remove wsdisplay_has_emulator(), this is not meaningful with virtual screens,
...
and it did not work with external (serial) consoles what can cause that
a display has no screen and thus no "focus"
1999-01-18 20:03:59 +00:00
mjacob
83270f242f
If you're BIG_ENDIAN and use bswapXX, pull in the header file that prototypes
...
these functions.
1999-01-18 19:17:00 +00:00
pk
2fa7bdbccd
Fix AF_NS code.
1999-01-18 13:29:01 +00:00
pk
ed55ba4db9
Need <machine/bswap.h>
1999-01-18 11:51:43 +00:00
pk
fb846bde24
Share ring buffer code and data structure for `be' and `qe' in
...
the QEC module. Adapt the QEC interrupt establish code to suit the
needs of the `qe' device.
1999-01-17 20:47:50 +00:00
pk
ad3176f350
Add `qe' network interface device.
1999-01-17 20:44:58 +00:00
pk
5e8fcd9428
Import Jason Wright's Sbus Quad ethernet (`qe') driver as found in OpenBSD.
...
Heavily pounded on by me to make it fit our driver model.
Also added: auto media selection; shared ring buffer code with `be'.
1999-01-17 20:44:18 +00:00
drochner
6424072ccd
extend the interface for reset-like commands from the keyboard
1999-01-17 16:01:38 +00:00
drochner
3bc0bad0af
adapt to "reset" interface change, pass "close all" to wsdisplay
1999-01-17 15:59:17 +00:00
drochner
b892856647
-extend the interface for reset-like commands from the keyboard,
...
add handling of a "close all" command
-split out code common with wsdisplay_delscreen() into
wsdisplay_closescreen()
-add ttymodem call to signal a HUP to the application if the screen
is closed
-add flag to force a "clear screen" on close (XXX should actually be
controlled from userland)
-remove checks for existence of "reset" entries in the emulations - this
is required now
1999-01-17 15:56:33 +00:00
drochner
b465a52a35
define a "close everything" keyboard command
1999-01-17 15:47:20 +00:00
drochner
b69b2fd8f4
define a "clear screen" command to the emulator and complete the
...
emulation's "reset" implementations as far as useful
1999-01-17 15:44:57 +00:00
pk
6d1f55bc7a
Initial revision
1999-01-16 13:19:11 +00:00
pk
c830c88dd2
Convert to bus_space(9).
...
Add buffer allocations needed by the be driver.
1999-01-16 12:46:08 +00:00
pk
e0e761e420
Import Jason Wright's Bigmac driver, written for OpenBSD.
...
Heavily pounded on by me to make it fit our driver model.
1999-01-16 12:43:09 +00:00
drochner
76db984c6d
regen
1999-01-16 11:28:19 +00:00
drochner
1587097426
add another NCR chip, from Dave Sainty <dave@dtsp.co.nz> per PR kern/6819
1999-01-16 11:27:40 +00:00
nisimura
e02862b167
- Don't use void pointer for arithmetic.
1999-01-16 06:36:42 +00:00
thorpej
8ce7166aa3
__pmax__ -> pmax, like other ports.
1999-01-15 23:29:55 +00:00
explorer
edd259d12e
Make it so raidframe will only perform synchronous writes, and async
...
reads. This avoids a problem where many writes will cause the driver
to allocate way too much memory.
This needs to change to a queueing system later, which will provide a
way to limit the memory consumed by the driver.
Without these changes, raidframe would use 24M or more on my machine when
the buffer cache dumped all its dirty blocks. Now it uses around 200k
or so.
1999-01-15 17:55:52 +00:00
drochner
21a687eb01
add japanese keyboard map, from AW9K-NNK@asahi-net.or.jp (Nonaka Kimihiro)
...
per PR kern/6814
1999-01-15 16:12:25 +00:00
drochner
6efb3afd18
add definition for japanese keyboard
1999-01-15 16:00:33 +00:00
thorpej
d8f3aefec7
Use M_RAIDFRAME.
1999-01-14 22:49:05 +00:00
oster
4128f9df1e
Duh... check that malloc() hasn't returned a NULL *before* we zero the buffer,
...
not after. Pointed out by Michael Graff.
1999-01-14 20:29:38 +00:00
drochner
5c38fcea53
map the new "reset emulator" function to CTL-ALT-Backspace
...
(what somehow matches the effect on X11)
1999-01-14 11:57:48 +00:00
drochner
d90442b612
add a "reset terminal emulator" command pseudo-keysym and call the
...
corresponding callback if one is hit
1999-01-14 11:44:54 +00:00
drochner
624d9f505f
-actually reset the terminal emulator on close()
...
-add a callback to reset the terminal emulator by keyboard command
1999-01-14 11:40:58 +00:00
ross
5709f532d1
Random compile nits in BHADEBUG code.
1999-01-14 04:47:18 +00:00
augustss
14dff70fa3
Fix transpostion in translation table for XT scan codes.
1999-01-13 18:38:26 +00:00
drochner
23cfea8327
-implement new wscons font handling with separate download and selection
...
calls
-support use of 2 fonts simultanously; this costs the ability to
"highlight", ie to use the upper 8 colours
-define screen types "80x25bf" and "80x50bf" which use this ability
-add conditional code to deal with the weird mapping of pcvt's
supplemental fonts
1999-01-13 16:48:58 +00:00
drochner
58095dfd3b
change the way fonts are handled: now we have a display-global ioctl
...
to download fonts and a per-screen call to select a font
allows easier sharing of ressources in the display driver
change the parameters to the load_font driver vector to pass all
available font information
1999-01-13 16:21:02 +00:00
drochner
b50830062b
export functions to reset the emulator and the character mappings
1999-01-13 15:38:30 +00:00
drochner
2bfadc6a8d
add a hook for resetting the terminal emulator completely or partially
1999-01-13 15:30:59 +00:00
christos
e79b8222a6
Put back modem control ioctl's
1999-01-13 11:55:20 +00:00
augustss
79f94410b1
Back out previous fix and apply the patch from Nick Hibma the right way.
1999-01-13 10:33:53 +00:00
augustss
8d6f121902
Fixes from Nick Hibma.
1999-01-13 10:08:59 +00:00
augustss
d0a7575025
More things to do.
1999-01-12 22:07:45 +00:00
augustss
b8f2118f7c
Fix Z axis buglet.
1999-01-12 22:06:48 +00:00
christos
b62b5bc092
Make this compile again with -DDEBUG
1999-01-12 12:49:53 +00:00
kleink
a9b05361c1
Avoid arithmetic on void *.
1999-01-12 02:28:55 +00:00
thorpej
0272b2ab8e
Whole lotta cleanup wrt. how configuration data is stored internally, and
...
just lockmgr(), not our home-grown locking functions.
1999-01-12 00:21:47 +00:00
augustss
76b8bd8961
Add a (partial) list of what's left to do.
1999-01-11 22:46:51 +00:00
tron
edd69ba694
Because memory mapped access doesn't fail only with the docking station
...
for the TI TravelMate 5000 but also with at least one Compaq NIC we
prefer I/O mapped access again. Fixes PR kern/6690.
1999-01-11 22:45:41 +00:00
thorpej
67e9d2a3bf
Fix a few glitches in the nwscons tga driver, PR #6655 , Brett Slager.
1999-01-11 22:11:36 +00:00
thorpej
ae8a556ce5
Add missing XS_SELTIMEOUT case in user command completion path, returning
...
SCCMD_TIMEOUT. Based on PR #6720 , Andreas Wrede.
1999-01-11 22:07:08 +00:00
drochner
1eba733d91
remove dummy "load_font" entries
1999-01-11 21:35:54 +00:00
drochner
33b1cd5328
Oops, "square root" is Unicode 221a, not 211a!
1999-01-11 20:48:10 +00:00
drochner
2379551296
add 2bpp support, for sake of NeXT monochrome displays, from
...
matt debergalis <deberg@mit.edu> KB1CTH per PR kern/6741 and kern/6786,
minimally corrected
1999-01-11 11:08:14 +00:00
augustss
5c5590465e
Avoid `void *' arithmetic. Fixes PR 6783.
1999-01-10 21:57:19 +00:00
tron
3fbb44a7bb
Make MTIOCRDSPOS, MTIOCSLOCATE, etc. work with write protected tapes.
...
Patch supplied by Dave Huang in PR kern/5305.
1999-01-10 21:46:39 +00:00
augustss
f963dc8ddb
Some minor updates from FreeBSD.
1999-01-10 19:13:15 +00:00
augustss
af7f630631
Some patches from FreeBSD.
1999-01-10 18:42:10 +00:00
augustss
ebd59cb48c
Make sure to check the modifier map for the windows keys.
1999-01-10 18:36:57 +00:00
augustss
c437dc4229
Remove redundant test if the unit numbers is in range.
1999-01-10 18:22:14 +00:00
augustss
d47a7fb7e0
Rename the "windows" keys and add the new keys to the keyboard maps.
1999-01-10 16:56:35 +00:00
augustss
17570494a7
Add back a line that was lost somehow.
1999-01-10 16:38:54 +00:00
drochner
9b1eddc4f1
- Set up the interface watchdog timer on sends. This fixes the hangups
...
reported by Matthias Scheler <tron@lyssa.owl.de> in PR kern/6772.
- After receiving, check whether the receive DMA pointer became 0
what obviously happens if the list runs out of entries. Simply reinit
in this case. This fixes receive lockups after DDB use observed
by myself.
Unstall the receive engine if the ELINK_UPPKTSTATUS indicates that it
was stalled. (Don't know when this might happen. FreeBSD does so.)
1999-01-10 14:19:46 +00:00
augustss
851c51418d
Add definitions for Pause and Print_Screen keys.
...
(Why were these keys missing? Or am I missing something obvious here?)
1999-01-10 13:20:41 +00:00
drochner
a15a03eff2
Since ukbd has an own map, this file is not needed anymore.
1999-01-10 13:20:21 +00:00
augustss
fe099e481b
Add definitions for left and right "Windows" keys and menu key.
1999-01-10 13:14:42 +00:00
augustss
3fb390a04f
Fix buglets in translation to raw scancodes.
1999-01-10 13:11:25 +00:00
augustss
07e0165b97
Update/add URLs to relevant USB specs.
1999-01-10 11:13:36 +00:00
augustss
9e121cf158
Add ukbdmap.c.
1999-01-10 11:09:02 +00:00
augustss
ddb8209b40
XXX Add a disgusting hack to make the CS sound chips work in PnP mode.
...
XXX Read about it in isapnp.c.
1999-01-10 10:23:24 +00:00
augustss
1a68014a66
Move a declaration.
1999-01-10 10:17:54 +00:00
mjacob
ec1a086c80
Make the error condition of neither 0x70 or 0x71 error codes a tad
...
more informative than the lower case 'error code %d'.
1999-01-10 06:26:23 +00:00
mjacob
e618c0c7d7
turn on SBUS bursts
1999-01-10 06:22:12 +00:00
mjacob
9d702f60ed
+ Some basic deadchip detection.
...
+ Enable FIFO bursts, but also detect bogus 1040A with busted FIFO.
+ Use new MEMZERO crossplatform define.
+ Handle RQCS_QUEUE_FULL status case and let upper layer parse SCSI ststus
byte if nonzero (should be 0x28- Queue Full status)
+ Fold ISP_NVRAM_FIFO_THRESHOLD_128 into isp_fifo_threshold tag.
1999-01-10 05:07:53 +00:00
mjacob
f1dfa06e13
bump isp_fifo_threshold tag top 3 bits
1999-01-10 05:04:46 +00:00
mjacob
b503bb5337
cross platform define MEMZERO added
1999-01-10 05:04:18 +00:00
mjacob
4401c8bdd7
oops. Forgot to turn on PCI burst.
1999-01-10 03:41:47 +00:00
augustss
b2acf0b9f2
Change from bcopy/bzero to memxxx. From PR 6778 by
...
Erik Bertelsen <erik@q610.ebe.uni-c.dk>.
1999-01-10 00:28:21 +00:00
augustss
17e4ccc73d
Use a special map for USB key code translation instead of first translating
...
to an XT scancode and then to the wscons code.
XXX The XT translation is still available in "raw" mode.
1999-01-10 00:23:32 +00:00