Commit Graph

30059 Commits

Author SHA1 Message Date
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
dfr
bf51da8254 Add symtab parameter to X_db_symbol_values. 1998-07-05 10:11:20 +00:00
dfr
e8f1467736 Support 'g' format for printing 8 byte values. 1998-07-05 10:10:33 +00:00
julian
d0824938d3 There is no such thing any more as "struct bdevsw".
There is only cdevsw (which should be renamed in a later edit to deventry
or something). cdevsw contains the union of what were in both bdevsw an
cdevsw entries.  The bdevsw[] table stiff exists and is a second pointer
to the cdevsw entry of the device. it's major is in d_bmaj rather than
d_maj. some cleanup still to happen (e.g. dsopen now gets two pointers
to the same cdevsw struct instead of one to a bdevsw and one to a cdevsw).

rawread()/rawwrite() went away as part of this though it's not strictly
the same  patch, just that it involves all the same lines in the drivers.

cdroms no longer have write() entries (they did have rawwrite (?)).
tapes no longer have support for bdev operations.

Reviewed by: Eivind Eklund and Mike Smith
	Changes suggested by eivind.
1998-07-04 22:30:26 +00:00
jdp
9c47dae296 Fix spelling error. 1998-07-04 22:10:20 +00:00
brian
e6802dbf0e Don't disable ^D in interactive mode.
Wished for by: pkh
1998-07-04 22:04:12 +00:00
brian
7bbd96e068 Don't require context when there's only one link
for ``open lcp''
1998-07-04 22:03:56 +00:00
julian
5bfbd9138f VOP_STRATEGY grows an (struct vnode *) argument
as the value in b_vp is often not really what you want.
(and needs to be frobbed). more cleanups will follow this.
Reviewed by: Bruce Evans <bde@freebsd.org>
1998-07-04 20:45:42 +00:00
phk
bf8e89cfa4 Hmm, braino in last commit. 1998-07-04 19:29:15 +00:00
phk
5675b3d967 Change the sign on a race-condition, so that instead of ending up several
tens of milliseconds out in the future we end up the right place with
a subweeniesecond error.
1998-07-04 19:12:21 +00:00
steve
8d3a8de604 Remove '???' because it generates an annoying message about
a trigraph being encountered when included.

PR:		7123
Submitted by:	Greg Lehey <grog@lemis.com>
1998-07-04 19:00:47 +00:00
jkh
dffc2c777f MF22: check for null pointer. 1998-07-04 14:13:01 +00:00
brian
70e65d7691 Make things clearer.
Submitted (some time ago) by: Ted Mittelstaedt <tedm@portsoft.com>
1998-07-04 12:07:03 +00:00
brian
c61598e50c Version 2.0-beta becomes 2.0 :-) 1998-07-04 10:24:49 +00:00
semenu
23081a1d38 Fix some strange errors of shutting transmitter up when start
transmition after software reset with no link estabilished yet.
Fix TX DMA stop method (queue last packet to stop).

PR:		i386/6578
1998-07-04 08:02:46 +00:00
brian
f701334eb8 6668/divert -> 8668/divert. IRC uses 6668. 1998-07-04 01:57:15 +00:00
brian
fe5471bbb4 Suggest port 8668 rather than 6668 for natd.
6668 is IRC.
1998-07-04 01:53:54 +00:00
hoek
e215c2fc19 Fix bug from last commit: don't SEGV when reading as part of a pipe. 1998-07-04 01:22:07 +00:00
julian
8240e86f70 Don't use a struct buf (malloc'd) without first initialising all the fields
to some known value!
(probable cause of soft updates exploding with vn devices)
1998-07-04 00:27:48 +00:00
hoek
a0377d88f2 Use '-e' when viewing helpfile. 1998-07-03 23:01:33 +00:00
bde
3a460ab8b6 Restored revs.1.89-1.90 which I somehow clobbered in rev.1.91. 1998-07-03 22:37:43 +00:00
bde
9261cc2cca Sync timestamp changes for inodes of special files to disk as late
as possible (when the inode is reclaimed).  Temporarily only do
this if option UFS_LAZYMOD configured and softupdates aren't enabled.
UFS_LAZYMOD is intentionally left out of /sys/conf/options.

This is mainly to avoid almost useless disk i/o on battery powered
machines.  It's silly to write to disk (on the next sync or when the
inode becomes inactive) just because someone hit a key or something
wrote to the screen or /dev/null.

PR:		5577
Previous version reviewed by:	phk
1998-07-03 22:17:03 +00:00
bde
cdee4d2fbc Centralized in-core inode update. Update the in-core inode directly
in ufs_setattr() so that there is no need to pass timestamps to
UFS_UPDATE() (everything else just needs the current time).  Ignore
the passed-in timestamps in UFS_UPDATE() and always call ufs_itimes()
(was: itimes()) to do the update.  The timestamps are still passed
so that all the callers don't need to be changed yet.
1998-07-03 18:46:52 +00:00
brian
505c39dfb7 Only start checking carrier when the datalink state machine
exceeds DATALINK_READY.  When we go back to READY or less
(eg. ``close lcp''), switch the carrier-checking-timer off again.

This fixes the callback example in ppp.conf.sample.
Noted as broken by: Damian Kuczynski <damian@best.pw.edu.pl>
1998-07-03 17:24:38 +00:00
hoek
78fd5d8a82 Prevent recursive help)elp)elping. 1998-07-03 17:12:10 +00:00
des
1b8e00efbb Not so fast, that was one '0+' too many.
PR:		7124
1998-07-03 15:43:20 +00:00
jkh
d863080c04 Check for missing keyboard.
PR:		7108
Submitted by:	Hellmuth Michaelis <hm@hcs.de>
1998-07-03 14:34:28 +00:00