Commit Graph

80909 Commits

Author SHA1 Message Date
christos 4fce6523d7 make the -DSMALL option work again. 2001-05-26 00:37:45 +00:00
wiz 015eb3a354 Add in{,4,6}_cksum(9). 2001-05-26 00:37:04 +00:00
kristerw 13aabc248d Make sure that we don't free() through an uninitialized pointer in error
handling code.
2001-05-26 00:35:20 +00:00
kristerw 7e4c882a7c Free the correct buffer in error handling.
Handle that malloc may return NULL.
2001-05-26 00:22:22 +00:00
christos 6e87bd852f fix the rest of the ! lossage. 2001-05-26 00:10:06 +00:00
tsutsui 2a70c2afdd Fix pte_size values changed by my misunderstanding in the previous. 2001-05-25 23:57:06 +00:00
kristerw 1571b4e91f Initialize a pointer needed when expanding the %C "display file escape
sequence".
2001-05-25 23:40:25 +00:00
sommerfeld e2a08caf68 Replicate pte unmap change from i386 pmap.c
(fix kern/12554 workaround).
2001-05-25 23:34:44 +00:00
mjacob c9de53f96e Create a kernel thread for Fibre Channel cards. This is the new
way of doing business- modulo some startup spasms and peculiarities
of the way kthreads are started (*after* configuration, weird) and
some strangeness with the freeze/thaw code, what now happens is
that any of Loop Down, LIP, Loop Reset or Port Datbase or Name
Server Database Changed ASYNC events cause the queues to freeze
for this channel.  The arrival of a Loop UP is not relevant.

What *is* relevant is that the Port Datbase or Name Server Changed
async event indicate that it's okay to go and (re)evaluate the
state of the FC link and (re)probe local loop and fabric membership.
We have a kthread do this because it's *sooooo* much nicer to be
able to sleep while doing the 130-250 mailbox commands it'll take
to re-evaluate things.

When the state is well known again, we can unfreeze the channel
queues.  Then, as commands start arriving, we simply can start them
or bounce them with XS_SELTIMEOUT (if the device in question has
gone away).  Previously, we did lazy evaluation, which meant that
if a change occurred, we would wait until the very *next* command
to go rebuild stuff.

The reason this is not sensible is:

 a) Even with sleeping, you can hang up your system because you might be
 making some poor stat(2) call pay the price of re-evaluating the whole
 fabric.

 b) If we ever really want to get to dynamic attachment/detachment, we
 should find out sooner, rather than later, where things get to.

Split off ispminphys_1020 from ispminphys- a 1020 has a 24 bit limit-
not anything newer.

Re-enable LIPs and Loop Resets as async events- this allows the outer
layer to set policy about them.

Roll platform major && minor. Remove bogus waitq (no longer used).
Remove callout entry in softc (no longer used). Define some shorthands
for channels. Clean up a variety of cruft left over from the
thorpej_scsipi changeover.
2001-05-25 21:45:55 +00:00
tshiozak 5b51f5ebe2 fix forgotten/malformed initialization of some variables.
(pointed out by Krister Walfridsson.)
2001-05-25 19:33:36 +00:00
christos af5257fca4 Don't run crunchgen 3 times, extra crunchiness is only good in chocolate. 2001-05-25 17:12:41 +00:00
blymn d0d87c13ff * Fix forward word and backward word driver commands. 2001-05-25 13:46:15 +00:00
tsubai bfc2a06464 Correct input and output of asm. 2001-05-25 12:28:12 +00:00
simonb 937389b6ee Handle soft-float case, code from David Querbach of Real-Time Systems Inc. 2001-05-25 12:17:45 +00:00
simonb 42102f1084 Handle soft-float case, from the arm flt_rounds.c. 2001-05-25 12:14:05 +00:00
simonb 3f04a27329 Softfloat support files for PowerPC. 2001-05-25 11:38:57 +00:00
hannken 339a9c8de2 Fix two typos in the BYTE_ORDER != LITTLE_ENDIAN case. 2001-05-25 08:54:40 +00:00
mbw 7f085e921a Describe how to install onto a drive that will also be used by MacOS (such
as most of the post-1998 models).

Also reminder about reversed MAC address on early models (macppc/install).
2001-05-25 08:04:13 +00:00
oki 0cc97f1b55 Fixed panic on the cpu made by unknown vendor,
such as Transmeta Crusoe.
2001-05-25 04:39:33 +00:00
chs 3845302904 remove trailing whitespace. 2001-05-25 04:06:11 +00:00
wiz a75a1efd23 Whitespace nits, and re-sort SEE ALSO according to mdoc.samples(7). 2001-05-24 23:54:11 +00:00
kleink b861a00b77 Need <string.h> for mem*() prototype declarations. 2001-05-24 21:04:47 +00:00
christos 21d58e7713 Provide compatibility for the NetBSD-1.5 branch. Note that I used
__NetBSD_Version__ instead of checking if the macro was not already
defined.
2001-05-24 17:42:48 +00:00
christos cb12da02ff Don't include <uvm/uvm_param.h>. It does not appear to be needed by anything.
<uvm/uvm_param.h> does not exist under 1.5.  Tested on i386 and sparc.
Anyway, if it is indeed needed by other platforms then we'll put it back,
but I don't see how since it does not define any types.
2001-05-24 17:41:42 +00:00
sommerfeld 4b6c6f444a Clarify specification of in4_cksum; add description of in_cksum and
in6_cksum as well as makefile goo to install links.
2001-05-24 14:04:41 +00:00
lukem 905f1ba6a0 support // comments if -g is given 2001-05-24 12:10:39 +00:00
lukem 2179a14315 oops! delint previous 2001-05-24 12:05:28 +00:00
lukem c33b2caa30 allow trailing , in enum if -g 2001-05-24 11:58:09 +00:00
lukem 67252d9cad minor whitespace/knf 2001-05-24 11:56:36 +00:00
lukem 18dddf4476 allow trailing , in enum if -g 2001-05-24 11:56:03 +00:00
kristerw 7ae7504033 Added a 'break' on the last line in a switch statement, since the ISO
C standard do not permit labels at the end of compound statements.
2001-05-24 10:49:31 +00:00
kristerw 76475ad726 Removed an incorrect use of __CONCAT when formatting panic messages.
The ISO C standard says in 6.10.3.3 that if the result of using the
'##' operator "is not a valid preprocessing token, the behaviour is
undefined." Gcc 3.0 warns about this.
2001-05-24 10:33:08 +00:00
itojun fc644273cd print more diag message on in6_addmulti() failures. 2001-05-24 08:17:22 +00:00
itojun 6229248ec0 minor style 2001-05-24 08:12:28 +00:00
itojun 85efd7edb1 correct multicast filter handling. without this, we cannot run IPv6 on an*. 2001-05-24 08:06:04 +00:00
itojun a7596d1912 call icmp6_mtudisc_update(foo, 0) even if ICMPv6 messages are very short.
let icmp6 layer decide whether we take PMTUD routes or not.
2001-05-24 07:22:27 +00:00
lukem c9b9613b3e for FIOGETOWN, only change the sign of *data if fo_ioctl returned without error 2001-05-24 06:52:43 +00:00
lukem 0fd012d03b regen for whitespace cleanup 2001-05-24 06:44:30 +00:00
chris 7dd0515e15 Use ffs asm routine in arm32 context switch code. 2001-05-23 21:49:57 +00:00
chris f220cad8dd Use ffs like routine in the footbridge irq handling. It is now very similair to the iomd irq handler.
Note that I've kept the existing quirk of still passing the irq to the next handler even if the irq handler returned 1.  I need to investigate why we do this.
2001-05-23 21:23:54 +00:00
chris cbf8e0eb95 Add a files.footbridge for inclusion by cats and netwinder. This is to make moving of the footbridge dir easier (when it eventually moves from arm32)
Also remove EBSA285 defopt from the netwinder file as the netwinder isn't an eval board.
2001-05-23 21:21:42 +00:00
fredette 1e6d1f7076 sunndd has been renamed ndbootd. 2001-05-23 20:29:14 +00:00
chris 8901caf8ff Create an asm based version of in4_cksum based on the sparc version.
Also don't compute psuedo header for nxt == 0
2001-05-23 19:33:48 +00:00
wiz b50a4f2bbb Minor fixes (whitespace, Nm -> Fn, punctuation, sort SEE ALSO). 2001-05-23 18:49:59 +00:00
petrov 9d59ae231c adjust fas register fields names 2001-05-23 18:32:26 +00:00
toshii 34691495bb Add some PCMCIA devices. 2001-05-23 16:52:34 +00:00
sommerfeld 8c436a8524 Add in4_cksum 2001-05-23 15:59:58 +00:00
sommerfeld 876730ad99 preliminary man page with rough spec for what this function should do.
(XXX should also include in_cksum, in6_cksum).
2001-05-23 15:58:41 +00:00
sommerfeld e171bbe08e Correct handling of nxt==0 (skip pseudoheader) case.
(It helps a lot if registers contain the expected values)
While we're in here, also correct parameter names in the lint goo.
2001-05-23 15:56:51 +00:00
bouyer 3ab3c1bb26 Add a note about scsipi_channel_thaw() and command ordering. 2001-05-23 15:56:48 +00:00