Commit Graph

43563 Commits

Author SHA1 Message Date
cjs
59a47ce7be Remove tracking of file size by how many characters were output.
This succumbs to a race condition where data are written to the
file while the sleep is occurring. If a stat is done immediately
after, lastsize is updated but the file pointer wasn't pointing at
the end of the file, so the number of bytes between the current
pointer and the end of the file is added to the lastsize when
lastsize already points to the end of the file.
1998-09-18 01:42:54 +00:00
mjacob
8fdc5aee4b Make changes as required for new return values from dma setup routine
for isp. Unable to test in running kernel because they're not buildable today,
but should be okay.
1998-09-18 00:26:11 +00:00
mjacob
6d8a22890e dma setup now returns CMD_QUEUED or CMD_COMPLETE. Clarify a ternary
operation that needed some parentheses.
1998-09-17 23:10:20 +00:00
mjacob
1dac5b5291 Several changes, including some stub fibre target mode stuff. Establish
a slightly different fibre startup (print ALPA now too). Change
the way that return values from dma setup is done. Make debug messages
out of some queue overflow situations. Turn PORT LOGGED OUT into
Selection Timeout equivlaent. On isp_restart actions don't blow off
the commands with HBA_BOTCH (XS_DRIVER_STUFFUP) - set them with HBA_BUSRESET
(which is defined as XS_DRIVER_STUFFUP until someone decides whether
the suggested change to the midlayer NetBSD is worthy of inclusion).
1998-09-17 23:05:46 +00:00
mjacob
a0a31568e8 cleanup header to be just NetBSD, roll rev, change QDEPTH to QAVAIL macro 1998-09-17 22:52:54 +00:00
mjacob
0e0010df41 cleanup header to be just NetBSD 1998-09-17 22:52:14 +00:00
mjacob
cb787c768d add some target mode definitions 1998-09-17 22:51:54 +00:00
mjacob
24717f3c3a cleanup header to be just NetBSD 1998-09-17 22:50:53 +00:00
drochner
7f72e0eea5 LK201/LK401 support for wscons (only decoding for now). 1998-09-17 20:01:57 +00:00
drochner
af9cabdaaa Add definition for highest legal LK201 keycode. 1998-09-17 19:59:30 +00:00
drochner
6f1bc2944f Adapt to keymap table format change. 1998-09-17 18:31:43 +00:00
drochner
ffa2207ec9 wskbd map for LK201/LK401 1998-09-17 18:29:54 +00:00
drochner
ad6d798d6a Move keyboard map from <dev/wscons/wskbdmap_mfii.h> into a _source_ file. 1998-09-17 18:21:04 +00:00
drochner
1eda36523a Add option bit which covers the delta between LK201 and LK401. 1998-09-17 18:16:39 +00:00
drochner
fdfd53e5af Add end mark to list of keymaps.
XXX This file will be removed, it is only left until the USB driver
XXX got an own keymap.
1998-09-17 18:14:06 +00:00
drochner
ec9b2072bb Reorganize the list of keyboard maps: no explicite length counter, use
an end mark instead. This allows to keep keymaps separate from the drivers
referring to them.
1998-09-17 18:10:53 +00:00
drochner
1a9e20e98c Define a new keyboard eveny type "all keys up". This allows to reduce
the amount of statekeeping in drivers for LK201-like keyboards, and it
might be useful to resync after resets or overflows.
(reused the unused WSCONS_EVENT_KEY_OTHER event ID)
Implement the necessary decoding bits.
1998-09-17 18:05:43 +00:00
phil
51fbe5aee3 Fix class c netmask. 1998-09-17 16:45:36 +00:00
agc
1159a11534 Document REQ_FILE and MESSAGE_FILE definitions. 1998-09-17 16:04:06 +00:00
agc
247891ee59 Document INSTALL_FILE and DEINSTALL_FILE definitions, to be set to the
names of any INSTALL or DEINSTALL scripts, respectively.
Also bring explanation of LIB_DEPENDS up to date.
Document USE_LIBTOOL.
1998-09-17 14:14:17 +00:00
hwr
f781823236 Main is int. From Soren S. Jorvang <soren@t.dk>. 1998-09-17 07:41:11 +00:00
phil
5807dd11b1 Comments added/modified to clarify how txtwalk works. 1998-09-17 05:57:28 +00:00
thorpej
0a25ae0343 Make this build again. 1998-09-17 05:15:11 +00:00
thorpej
b9a131261c Define the new sigcontext structure. 1998-09-17 04:54:51 +00:00
thorpej
2eb8e8729b Make the signal code look a bit more like the 32-bit SPARC port's. 1998-09-17 04:52:17 +00:00
thorpej
a7e5b3bcce For _LP64, sigcontext must contain longs! 1998-09-17 04:51:29 +00:00
thorpej
5e8f492923 SYS_sigreturn -> SYS___sigreturn14. 1998-09-17 04:41:06 +00:00
phil
3330188abd 1.3 has long since come and gone, update some entries, add a couple. 1998-09-17 04:11:54 +00:00
thorpej
dcb541531a Minor cosmetic change. 1998-09-17 02:33:06 +00:00
thorpej
c006c7c0da Sync w/ sendsig(). 1998-09-17 02:30:02 +00:00
thorpej
e5ea525b9f Slight brain'o in last. 1998-09-17 02:26:26 +00:00
thorpej
5bc9dafaee Minor cosmetic change to sendsig(). 1998-09-17 02:24:56 +00:00
thorpej
cc485c1a08 Catch up with changes to signal delivery. 1998-09-17 02:01:59 +00:00
thorpej
7083b63277 Back out previous; I'm punting PowerPC to tsubai or sakamoto. 1998-09-16 23:51:27 +00:00
thorpej
ef3f4d39df Need 103 longs for jmp_buf now (128-bit signal mask, at the front of the
jump buffer).
1998-09-16 23:33:18 +00:00
thorpej
3d4e54f11f Need 87 longs for a jmp_buf now (we use sigcontext, which grew). 1998-09-16 23:15:08 +00:00
thorpej
7b32475079 Define the new sigcontext structure. 1998-09-16 23:14:15 +00:00
thorpej
6385066c76 Need 13 longs for jmp_buf now; 128-bit signal mask. 1998-09-16 23:13:57 +00:00
is
95807e512a Garbage collect unused 3rd parameter to comprobe1(). 1998-09-16 21:30:58 +00:00
pk
59e5588098 Map the per-CPU counter registers into each cpu info area. 1998-09-16 13:39:48 +00:00
pk
49b5114713 Make all cpu info structures accessible through an array `cpus[_MAXNCPUS]'. 1998-09-16 13:36:23 +00:00
mycroft
54bbb69ea1 Word the comments about `async' a bit more strongly. 1998-09-16 09:27:36 +00:00
scottr
7aa4d4483e Revert the last change: returning COMPLETE is clearly the wrong thing to do
if we weren't polling to begin with.
1998-09-16 05:36:35 +00:00
scottr
4963603d0f Found a race in scsipi_execute_xs(): if an asynchronous transfer completes
(probably due to an interrupt) between the time it is scheduled and the
time we get around to setting the SCSI_ASYNCREQ flag, we can lose the xs.

Fix this by checking to see if the transfer has already completed after
the scsi_cmd function returns SUCCESSFULLY_QUEUED, and just return to the
caller if so.
1998-09-16 05:35:50 +00:00
thorpej
43f5b65e23 Define the new sigcontext structure. 1998-09-15 23:14:40 +00:00
thorpej
a034a22862 Need 21 longs for jmp_buf now, due to 128-bit signal mask (and use
of the sigcontext structure in the jmp_buf).
1998-09-15 23:06:41 +00:00
matthias
393c344918 Take a deep breath and switch over NetBSD/pc532 to use egcs by default. 1998-09-15 20:26:50 +00:00
pk
cf10308f5f bootpath check needs to keep checking for two formats. 1998-09-15 20:26:25 +00:00
pk
543070847c Can't afford a 1K buffer in the data segment. 1998-09-15 20:03:50 +00:00
matt
e7be3f3601 Fix a problem where txput could "lose" dmamaps if it couldn't actually
place the packet into the ring for some reason.
1998-09-15 17:26:46 +00:00