Commit Graph

30188 Commits

Author SHA1 Message Date
bde
1807ada780 Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it. 1998-07-06 20:09:36 +00:00
rnordier
b30f35c3fb Activate newfs_msdos. 1998-07-06 20:05:41 +00:00
rnordier
118862aa2a This commit was generated by cvs2svn to compensate for changes in r37446,
which included commits to RCS files with non-trunk default branches.
1998-07-06 20:01:34 +00:00
rnordier
1a5b3efab9 Add newfs_msdos: extensive newfs-style support for creating FAT12,
FAT16, and FAT32 file systems in all their various horriblenesses.

Approved-in-concept by: joerg
1998-07-06 20:01:34 +00:00
bde
22e5d736ee ioctl() request args are unsigned longs, so don't attempt to store
them as ints.  Among other bugs, doing so at best caused benign
overflow followed by fatal sign extension on machines with 32-bit
ints and 64-bit longs.
1998-07-06 19:54:39 +00:00
fenner
ef5549b007 Introduce (fairly hacky) workaround for odd TCP behavior with application
writes of size (100,208]+N*MCLBYTES.

The bug:
 sosend() hands each mbuf off to the protocol output routine as soon as it
 has copied it, in the hopes of increasing parallelism (see
  http://www.kohala.com/~rstevens/vanj.88jul20.txt ). This works well for
 TCP as long as the first mbuf handed off is at least the MSS.  However,
 when doing small writes (between MHLEN and MINCLSIZE), the transaction is
 split into 2 small MBUF's and each is individually handed off to TCP.
 TCP assumes that the first small mbuf is the whole transaction, so sends
 a small packet.  When the second small mbuf arrives, Nagle prevents TCP
 from sending it so it must wait for a (potentially delayed) ACK.  This
 sends throughput down the toilet.

The workaround:
 Set the "atomic" flag when we're doing small writes.  The "atomic" flag
 has two meanings:
 1. Copy all of the data into a chain of mbufs before handing off to the
    protocol.
 2. Leave room for a datagram header in said mbuf chain.
 TCP wants the first but doesn't want the second.  However, the second
 simply results in some memory wastage (but is why the workaround is a
 hack and not a fix).

The real fix:
 The real fix for this problem is to introduce something like a "requested
 transfer size" variable in the socket->protocol interface.  sosend()
 would then accumulate an mbuf chain until it exceeded the "requested
 transfer size".  TCP could set it to the TCP MSS (note that the
 current interface causes strange TCP behaviors when the MSS > MCLBYTES;
 nobody notices because MCLBYTES > ethernet's MTU).
1998-07-06 19:27:14 +00:00
bde
f1fc158369 Restored rev.1.11, which I somehow clobbered in rev.1.12. 1998-07-06 19:11:35 +00:00
gibbs
8c82d5ca70 Attempt to load serial eeprom contents in both 93c46 and 93c56/66 mode before
giving up.

PR: 6966
1998-07-06 18:38:57 +00:00
eivind
73102953f2 "vender" -> "vendor"
Requested by:	Aage Røbekk <aagero@aage.priv.no>
1998-07-06 16:10:06 +00:00
eivind
856d7cefd2 Shorten line.
Prodded (long time ago) by:	bde
1998-07-06 16:07:43 +00:00
kato
72e7928abc Sync with sys/i386/isa/fd.c and wd.c revisions 1.115 and 1.170,
respectively.
1998-07-06 10:09:42 +00:00
julian
b02ecef1eb oops ended comment before the comment ended.. 1998-07-06 09:10:56 +00:00
julian
7b64167674 Bring back some slight cleanups from 2.2 1998-07-06 09:06:58 +00:00
charnier
bdb351fc08 Correct use of .Nm. Spelling. Add rcsid and remove unused #includes. 1998-07-06 07:19:27 +00:00
charnier
96ddb24ad3 -Wall. 1998-07-06 07:17:27 +00:00
charnier
c3c12c1c02 Sync usage string and man page. Correct use of .Nm. Spelling. Remove
unused #includes.
1998-07-06 07:15:53 +00:00
charnier
7a0c64683f Correct use of .Nm. 1998-07-06 07:13:31 +00:00
charnier
447193ab4c Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()
strings.
1998-07-06 07:12:38 +00:00
charnier
2d0679377e Add rcsid. Remove unused #includes. Spelling. 1998-07-06 07:09:13 +00:00
charnier
34df42adb0 Add rcsid, remove unused #includes, spelling. 1998-07-06 07:07:41 +00:00
charnier
c1bbc8283c Remove unused #include. Add usage(). 1998-07-06 07:06:15 +00:00
charnier
1a59aba7b6 Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3). 1998-07-06 07:04:50 +00:00
charnier
1baf584b12 Add rcsid. remove unused #includes. Getopt returns -1 not EOF. Add usage().
Cosmetics in err(3) string.
1998-07-06 07:02:26 +00:00
charnier
70f0fb5bf1 Lowercase 1st char. in err(3) strings. 1998-07-06 06:59:52 +00:00
charnier
c4fe940c9a remoce unused #include. 1998-07-06 06:58:32 +00:00
charnier
063ace8c51 Correct .Nm use. Add rcsid. Use min for minutes instead of mn. 1998-07-06 06:56:08 +00:00
charnier
df923a06a6 Update man page to allow adding address_family when -l is used (this is a no op
for now). Correct use of .Nm. Short usage string (see man page for full list).
Spelling.  Use err(3).
1998-07-06 06:53:43 +00:00
charnier
9678b00955 Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused
#includes. Spelling. Use err(3) and add usage().
1998-07-06 06:44:36 +00:00
imp
59a7b60a01 Add the ability to suspend as well as hibernate to the system. This
is the kernel part of my commits, the userlevel stuff will be done in
a separate commit.  Add the ability to suspend as well as hibernate to
syscons.  Create a new virtual key like hibernate for suspend.  Update
apm_bios.h to define more apm bios goodies.
1998-07-06 06:29:07 +00:00
julian
51b5a8766e Don't expect the new code to be used without the right option file being
included.
1998-07-06 05:04:33 +00:00
julian
70afcab3b9 Fix braino in switching to TAILQ macro. 1998-07-06 05:00:53 +00:00
julian
3f5c0bc6c4 Forgot to register the IPFIREWALL_FORWARD option. 1998-07-06 04:55:22 +00:00
jkoshy
7b85db8c1a Document -I' and -R' options to `pkg_info'.
PR: 7155
1998-07-06 04:39:20 +00:00
julian
4483ce4f11 Support for IPFW based transparent forwarding.
Any packet that can be matched by a ipfw rule can be redirected
transparently to another port or machine. Redirection to another port
mostly makes sense with tcp, where a session can be set up
between a proxy and an unsuspecting client. Redirection to another machine
requires that the other machine also be expecting to receive the forwarded
packets, as their headers will not have been modified.

/sbin/ipfw must be recompiled!!!

Reviewed by:	Peter Wemm <peter@freebsd.org>
Submitted by: Chrisy Luke <chrisy@flix.net>
1998-07-06 03:20:19 +00:00
julian
28e9d7db55 DEVFS completely bypasses the cdevsw and bdevsw tables now.
Each devfs node has (and has had fro a while) a pointer directly to
the correct cdefsw entry so just use it instead of doing the lookup.

There are several other places in the kernel that still use the tables
however, so they can't go away yet..
1998-07-05 23:10:22 +00:00
julian
e9e441c6a4 fix braino from yesterdays' megacommit
Not sure of the result of it..
(may or may not effect anything) but it's fixed now.
(found by: comparing what cvsup sent back to me with what I tested..)
1998-07-05 20:33:18 +00:00
dfr
e8dcb49267 Add support for kernel gdb. 1998-07-05 12:24:18 +00:00
dfr
7b1f37ff35 Use byte/word access in badaddr if relevant. 1998-07-05 12:22:56 +00:00
dfr
33f76b57ac Support channel B as well as channel A. 1998-07-05 12:16:55 +00:00
dfr
e9fb8337dd Add basic support for 2117x pci chipsets. Currently only pyxis (21174)
is supported.  Older chipsets will be easy to support later but right now,
I just want to boot my 164LX scratch machine :-).
1998-07-05 12:16:15 +00:00
dfr
ae87a4a8e4 Add macros for byte/word sized load and store instructions. 1998-07-05 12:14:15 +00:00
dfr
80a0d63b89 Add declaration of the NetBSD/alpha bootinfo. 1998-07-05 12:13:18 +00:00
dfr
94c1e44a19 First steps at supporting EB164 (AlphaPC 164, 164LX, 164SX). 1998-07-05 12:10:10 +00:00
dfr
cbe725ead8 Define bio_imask to allow the ncr driver to compile. The idea of passing
mask address around when registering interrupts is wrong IMHO.  We should
use a priority level like IPL_BIO and the lower levels can then translate
it into a mask if they want.
1998-07-05 12:08:59 +00:00
dfr
751b6d6422 Make the prom console work as a real device as well as a console. 1998-07-05 11:59:44 +00:00
dfr
925f2f4375 Make sure hold_count for level 2 maps is maintained properly.
Simplify pmap_mapdev (its still totally wrong for the alpha).
1998-07-05 11:58:35 +00:00
dfr
49f900419b Don't truncate the return value of mmap to sizeof(int). 1998-07-05 11:56:52 +00:00
dfr
e1f7c71dc2 Minor tidying. 1998-07-05 10:14:32 +00:00
dfr
cd8ef41e3e Use u_int32_t in NQFHHASH instead of u_long. 1998-07-05 10:13:22 +00:00
dfr
24f5c23c74 Remove the two single step breakpoints in the reverse order of setting to
ensure that single stepping a branch to the next instruction works.
1998-07-05 10:12:18 +00:00