Commit Graph

61495 Commits

Author SHA1 Message Date
ru
e2738b93f2 Bring in fix from NetBSD's revision 1.16:
Pass the correct destination address for the route-to-gateway case.

PR:		kern/10607
MFC after:	2 weeks
2001-06-26 09:00:50 +00:00
kato
97e329557f Commented out pcm hints.
Pointed out by:	nyan
2001-06-26 08:27:00 +00:00
ru
0a8dcea155 Submitted by: hm 2001-06-26 08:00:43 +00:00
dd
d01b3fe9f9 Back out previous commit; this can't compile with WARNS=2 because
xdr.h isn't warning-free.

Submitted by:	ru
2001-06-26 07:31:00 +00:00
dan
c9b23b0586 Share my DOB with the world! 2001-06-26 05:04:03 +00:00
dwcjr
2c70b1c84e Originally stated wrong birthplace, thought it was current location. 2001-06-26 04:11:19 +00:00
kato
7862faed10 Recognize FC-PGA2 Pentium III (Tualatin). 2001-06-26 03:02:30 +00:00
dd
3c297a6e34 Remove two duplicate tips and correct formatting of an attribution. 2001-06-26 02:36:26 +00:00
dd
b13abb85cf The `file' argument is optional.
Obtained from:	OpenBSD
2001-06-26 02:14:13 +00:00
dd
e8485930a4 Correct usage. 2001-06-26 02:11:48 +00:00
ache
fbe0ca3c4a Convert to nl_langinfo(CODESET) 2001-06-26 01:43:52 +00:00
nyan
8451fa99ba Fixed miss merging from revision 1.102. 2001-06-26 00:47:54 +00:00
ache
17f8638b0e Fix name for de manpages dir 2001-06-26 00:43:28 +00:00
ache
11a813c189 Remove aliases not needed for new man version 2001-06-26 00:41:07 +00:00
brooks
10ed2459c3 Actually implement -a as documented since import (set access point density).
Remove documentation for short-lived usage as "print keys in ASCII."

PR:		bin/21803
MFC after:	1 week
2001-06-26 00:12:58 +00:00
brooks
0de02e9c21 Output the current TX rate when showing status.
PR:	bin/25470
2001-06-26 00:00:58 +00:00
jhb
979d655977 Allow the clock lock to recurse. 2001-06-25 23:56:56 +00:00
jhb
3eb27b376a - Grab the vm lock around all of pmap_emulate_reference() as it manipulates
vm_page_t's.
- Add a KTR_TRAP tracepoint to trap() on the alpha that displays the
  contents of a0, a1, and a2 to make debugging of nested traps that
  panic before displaying any useful output easier.
2001-06-25 23:52:25 +00:00
jhb
b9fab7d0d4 - Move the 'clk' spinlock below other spin locks since KTR trace events
may need the clock lock for nanotime().
- Add KTR trace events for lock list manipulations and other witness
  operations.
- Use a temporary variable instead of setting the lock list head directly
  and then setting up the links to add a new lock list entry to the lock
  list.  This small race could result in witness "forgetting" about all
  the locks held by this process temporarily during an interrupt.
- Close a more fatal race condition when removing a lock from a list.
  Removing a lock from the list entails both decrementing the count of
  items in this bucket as well as shuffling items in the current bucket up
  a notch to replace the gap left by the removed item.  Wrap these
  operations in a critical section.
2001-06-25 23:17:52 +00:00
jhb
46a0597e74 - Replace the unused KTR_IDLELOOP trace class with a new KTR_WITNESS trace
class to trace witness events.
- Make the ktr_cpu field of ktr_entry be a standard field rather than one
  present only in the KTR_EXTEND case.
- Move the default definition of KTR_ENTRIES from sys/ktr.h to
  kern/kern_ktr.c.  It has not been needed in the header file since KTR
  was un-inlined.
- Minor include cleanup in kern/kern_ktr.c.
- Fiddle with the ktr_cpumask in ktr_tracepoint() to disable KTR events
  on the current CPU while we are processing an event.
- Set the current CPU inside of the critical section to ensure we don't
  migrate CPU's after the critical section but before we set the CPU.
2001-06-25 23:09:31 +00:00
brooks
56759fef37 Add support for the Cisco Aironet 350 Series of adaptors. Also, make
a minor ocrrection to the Aironet 340 Series comment.

Approved by:	imp (in principle)
2001-06-25 22:07:19 +00:00
msmith
0cf535a7ac Admit the shameful truth; I'm really from the east coast. But I left
shortly after I was born.  Honest!
2001-06-25 21:37:43 +00:00
dd
0dc5b41655 Silence -Wshadow and -Wmissing-prototypes; set WARNS=2.
Submitted by:	 Mike Barcroft <mike@q9media.com>
2001-06-25 21:25:27 +00:00
dd
f5356e22c2 ANSIize, staticize, and unsignedize; set WARNS=2.
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-25 21:12:52 +00:00
ache
595bc7e7f9 Rewrite locale handling using nl_langinfo(CODESET), so aliases not needed here
now
2001-06-25 21:11:43 +00:00
dd
e214cd8873 Constify and set WARNS=2.
Submitted by:	Mike Barcroft <mike@q9media.com
Reviewed by:	md5(1)
2001-06-25 21:06:15 +00:00
brian
e15e739f2d What to do when :w tells you you haven't got permission. 2001-06-25 21:05:55 +00:00
ache
13343a93d7 Return "" if reallocf() fails 2001-06-25 20:56:59 +00:00
ache
23e42f0be0 Describe success return value 2001-06-25 20:50:06 +00:00
brian
6563c00713 Mention that sh supports command line editing 2001-06-25 20:45:52 +00:00
brian
30d1d05643 Mention that vi supports split-screen mode. 2001-06-25 20:44:03 +00:00
brian
a422dc99b4 Suggest using .login/.profile to set environment variables, not
.cshrc/.bashrc/.zshrc/.shrc
2001-06-25 20:41:42 +00:00
nik
bd6ce90734 Automatically exec bash at startup if it exists^U Turn on the display of
tips from the freebsd-tips database at login time.
2001-06-25 20:40:02 +00:00
greid
bf604b8765 Add an acceleration option to moused
PR:		28369
Submitted by:	Daniel O'Connor <darius@dons.net.au>
manpage reviewed by:	ru
MFC after:	10 days
2001-06-25 20:15:34 +00:00
jhb
832e922fdf - Sort includes.
- Count the context switches during shutdown when we give ithreads a chance
  to run as volutary context switches.

Submitted by:	bde (2)
2001-06-25 18:30:42 +00:00
jhb
2660b97507 Count the context switch when blocking on a mutex as a voluntary context
switch.  Count the context switch when preempting the current thread to let
a higher priority thread blocked on a mutex we just released run as an
involuntary context switch.

Reported by:	bde
2001-06-25 18:29:32 +00:00
jhb
fdfd5d01a7 Count the switch when an ithread goes idle as a voluntary context switch.
Submitted by:	bde
2001-06-25 18:27:33 +00:00
jhb
5a93a436f6 We don't need the vm lock to perform a few simple calculations on the
md device's softc.
2001-06-25 18:24:52 +00:00
jhb
8e79a43405 Fix cut-n-paste brain-o.
Pointy-hat to:	me
2001-06-25 16:38:09 +00:00
dfr
c5db765727 Add code to detect Transmeta Crusoe cpus. 2001-06-25 15:11:33 +00:00
ru
672e483c4a Submitted by: andreas 2001-06-25 09:11:45 +00:00
ache
a5cf671bf7 Add transition period hack allowing old locale names return proper codeset too 2001-06-25 09:03:10 +00:00
ru
548ffba853 Only checksum stdin if nothing has been checksummed yet.
PR:		bin/28386
2001-06-25 08:52:57 +00:00
dd
3dc2f99bef Previous commit broke dd(1)'s I/O summary when it's terminated by a
signal.  Fix it by adding an explicit call to summary() in terminate()
(it was previously called implicitly by exit() because summary() was
registered with atexit()).  summary() is supposed to be signal-safe--
it handles SIGINFO almost exclusively--so this should be safe.

Submitted by:	bde
2001-06-25 06:17:02 +00:00
msmith
eb1ff0cc22 Driver modifications consistent with my other drivers to facilitate
the use of a single set of sources across 4.x and 5.x branches.

No significant code changes.
2001-06-25 04:32:31 +00:00
imp
9c03640f81 Work around a bug in the current interrupt system by explicitly
rejecting INTR_FAST interrupts.  Since they can't be shared anyway,
this just short circuits a failure case that should work but is panic
fodder now.

This bug is that if the interrut condiation is active when you activate
the interrupt, then the interrupt routine will be called.  jhb had
a patch that may or may not work to fix it, but I've lost it.

This may be due to the sio probe doing something odd too.
2001-06-25 04:13:54 +00:00
gad
a89ca1efdc Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows
one to see what files would be removed *if* an 'lpc clean' is done.  'tclean'
will remove no files, and is therefore not a privileged command.  Also, both
'lpc clean' and 'lpc tclean' will now look for 'core' files in spool directories
(but not remove them).  They also print out an extra line of info when a
datafile to be removed is a symlink (from 'lpr -s'), saying what file it is
a symlink to.

The 'lpc clean' commands also now print out a summary line saying how many
queues were checked, how many files were removed (or "would be" removed, for
tclean), and how much disk space is involved.  For the benefit of those who
have many print queues, 'lpc clean all' will only print out the names of print
queues where some "interesting" files were found, instead of printing out a
header-line for every queue in your printcap file.

Reviewed by:	freebsd-print@bostonradio.org  freebsd-audit@FreeBSD.org
MFC after:	2 weeks
2001-06-25 02:05:03 +00:00
gad
e066fac19f Add two new options for lpd: -c will log all connection-errors to syslog,
while -w allows connection from non-reserved ports.  Also improves the
helpfulness of various connection-error messages.

The changes for IPv6 added back in the reserved-port check which was mistakenly
dropped from lpd in 1997 (copying a change from openbsd).  It is best to have
that check in place, but the check breaks lpr's from some implementations of
lpr/lpd for Windows.  The -w option is for those admins who need to accept
jobs from non-reserved ports, the -c option is for admins who would like a
print-server machine to log all failed connection-attempts to syslog.

Reviewed by:	freebsd-audit@FreeBSD.org  freebsd-print@bostonradio.org
MFC after:	2 weeks
2001-06-25 01:45:25 +00:00
dd
22109f70bf Add RETURN VALUES and ERRORS sections. 2001-06-25 01:25:01 +00:00
dd
183ca6329f Minor cleanup: sort includes, fix name. 2001-06-25 01:21:13 +00:00