Commit Graph

79764 Commits

Author SHA1 Message Date
lukem b3b4a527b3 remove trigraph 2001-04-30 03:53:19 +00:00
lukem 5de219fbef delint 2001-04-30 03:49:12 +00:00
lukem c83fa97ec8 remove trigraph 2001-04-30 03:48:06 +00:00
lukem 52a1d62934 delint 2001-04-30 03:45:35 +00:00
lukem 786063e4da use #if 0 rather than // or /* to comment out blocks of code 2001-04-30 03:43:09 +00:00
kml fc1ebff2b2 Large values of sb_max would cause an overflow in sbreserve(); cast to
u_quad_t to avoid this.  (from FreeBSD uipc_socket2.c v1.19)
2001-04-30 03:32:56 +00:00
lukem c6a7588b36 delint newline in string 2001-04-30 03:30:45 +00:00
lukem f863105161 remove some lint, including ansifying funcs 2001-04-30 02:55:08 +00:00
jmc 36d8e99d14 Cast args correctly to match format strings. 2001-04-30 02:49:04 +00:00
jmc 5a6772df26 Cast base correctly for format string. 2001-04-30 02:46:20 +00:00
lukem 9d02aae3a9 minor lint 2001-04-30 02:44:53 +00:00
lukem 85772a1cef remove some lint 2001-04-30 02:34:58 +00:00
lukem abf1970c82 delint newline in string 2001-04-30 02:17:55 +00:00
lukem 599ac910c6 this is _C_ not _C++_, and // is NOT valid in _C_ 2001-04-30 01:34:04 +00:00
lukem d2ac513298 remove some lint 2001-04-30 01:19:40 +00:00
lukem b8f8cf0235 remove some lint, including ansifying some inlines 2001-04-30 01:17:30 +00:00
lukem 36079c81c4 remove some lint 2001-04-30 01:13:20 +00:00
fvdl 0979d803f6 For the local case, return serv_uaddr in addrmerge, not the address
by which the client contacted rpcbind.

Also fix a missing \n in a debug printf.

From Martin Blapp, mb@imp.ch
2001-04-30 00:36:07 +00:00
ross 1959d24b79 XXX
For some reason this program wants to open _hundreds_ of temporary files.
Make it setrlimit(RLIMIT_NOFILE, ...), so this rather dubious strategy at
least works well enough to ctag(1) our own kernel.
XXX
2001-04-30 00:25:09 +00:00
lukem 96612eac97 kre notes that "echo -n" is superfluous when creating a zero length file 2001-04-29 23:57:25 +00:00
thorpej 2b27ac7a99 Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
each vm_page structure.  Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM.  These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.

This deprecates struct pmap_physseg.  As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.

Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now).  Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00
matt a403ed4939 Fix printing of stack traceback (last argument was always wrong). Use
%#x so that 0s are 0 and not 0x0
2001-04-29 22:17:24 +00:00
christos afdcbf7e55 Correct formatting. Put the port and the ethernet address in their own
line.
XXX: it is stupid that pcmcia_io_map() prints " port 0xNNN[-0xMMM]". This
makes the printing code confusing.
2001-04-29 20:12:01 +00:00
christos 3ae161c702 don't put a trailing comma in pcmcia_devinfo. All the drivers use
printf("%s\n", devinfo) and it looks stupid.
2001-04-29 20:10:24 +00:00
jhawk 3e0f915127 Remove refernece to nonexistant vfs_shutdown(9), per
kern/4901
2001-04-29 19:18:20 +00:00
jhawk 2387d49806 Remove nonexistant references to ifattach(9) and *_ifattach(9),
per PR kern/4901.
2001-04-29 19:17:22 +00:00
jhawk 6a342ecfe5 Remove reference to nonexistant boot(9). ADdresses PR
kern/4901.
2001-04-29 19:14:09 +00:00
jhawk 6de3c7fef6 Comment out references to hz(9) and hardclock(9). It'd be nice
if someone wrote them, but let's not reference them until they are
written. Addresses PR kern/4901.
2001-04-29 19:12:20 +00:00
wiz 1a71a68bae Cleanup; improve formatting and descriptions; and some minor fixes here
and there.
2001-04-29 19:07:06 +00:00
wiz 20e5a32c06 Add note explaining what 'P file' means in cvs update output.
Closes bin/12785.
2001-04-29 18:08:11 +00:00
sommerfeld a80b986278 Correct microtime() to use the microsecond part of the base timestamp. 2001-04-29 17:04:41 +00:00
fvdl 0dc0aa727e Use x_mount and x_umount. 2001-04-29 15:20:55 +00:00
fvdl 6bb58cf2c0 Use x_mount and x_umount. Remove mount_ext2fs, since there's no ext2fs
support in INSTALL_TINY.
2001-04-29 15:20:33 +00:00
fvdl b7025ec37b Make it possible to override TCP_NDEBUG. The default value of 100
wastes quite a bit of space (0xfa00).
2001-04-29 15:18:01 +00:00
bjh21 45eb40e8d3 Minimal implementation of cpu_sysctl(). 2001-04-29 15:13:45 +00:00
fvdl 9554615dfb Set NMBCLUSTERS to the old value of 256 here, as the new default
will only be a waste of space for this configuration.
2001-04-29 12:48:12 +00:00
ragge c3736bf111 Use ubmemalloc() for data structures. Remove unused vars. KNF. 2001-04-29 12:32:18 +00:00
lukem b1e062a80e s/refferd/referred/ 2001-04-29 12:02:45 +00:00
martin a1ff386294 Add an example for PPPoE configuration. 2001-04-29 11:41:02 +00:00
tsutsui b83fe1a852 Correct register address map for 53c710. 2001-04-29 11:20:44 +00:00
wiz 2052c729cd Note change of location of X, XConsortium, XStandards and Xsecurity
man pages.
2001-04-29 11:05:59 +00:00
wiz b0cdcfe61b Add RCS Id, formatting improvements, and typo fixes. 2001-04-29 10:46:02 +00:00
martin d53224619c Use this to configure pppoe interfaces as well.
This feed more oil to itojun's suggestion to move some of this into
ifconfig and deal more generically with others.
2001-04-29 10:30:41 +00:00
martin fa10c3107d Make tcpdump work with the current pppoe code.
Will be revisited when a generic PPP sheme is implemented.
2001-04-29 10:27:03 +00:00
martin c155aeac5f Adapt to (temporary) DLT_PPP_ETHER useage by the pppoe code in tree
now. This needs to be fixed when a generic PPP sheme is implemented.
2001-04-29 10:25:50 +00:00
martin b5b75a7d19 Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation,
based on the existing net/if_spppsubr.c stuff.

While there are completely userland (bpf based) implementations available,
those have a vastly larger per packet overhead thus causing major CPU
overhead and higher latency. On an i386 base router, running a 486DX at 50MHz
my line (768kBit/s downstream) was limited to something (varying) between 10
and 20 kByte/s effective download rate. With this implementation I get full
bandwidth (~85kByte/s).

This is client side only. Arguably the right way to add full PPPoE support
(including server side) would be a variation of the ppp line discipline and
appropriate modifications to pppd. I promise every help I can give to anyone
doing that - but I needed this realy fast. Besids, on low memory NAT boxes
with typically a single PPPoE connection, this implementation is more
lightweight than a pppd based one, which nicely fits my needs.
2001-04-29 09:50:36 +00:00
jmc a2d52d0ed4 Add #define for 1394 ROM signature 2001-04-29 08:37:04 +00:00
scw 81be7c00b7 Compute PAGER_MAP_SIZE at runtime to avoid needlessly crippling large-
memory models for the benefit of small-memory models.

Uses a heuristic of min(onboard_ram_size/2, 16MB).
2001-04-29 07:53:56 +00:00
scw 89e9fc44d5 Do the same as mac68k/pmap.c:1.70 to prevent wired pages being
removed by pmap_collect().
2001-04-29 07:41:58 +00:00
thorpej f38e77afea Add glue for page zero'ing in the idle loop. 2001-04-29 06:54:03 +00:00