Commit Graph

66979 Commits

Author SHA1 Message Date
jhb
1489a326fa Axe NFS_NOSERVER since it doesn't do anything anymore. Remove NFSSERVER
from your config file instead.
2001-11-15 16:03:24 +00:00
jhb
6ee6076cd3 NFS_NOSERVER doesn't do anything anymore and is about to get axed so don't
use it.  Instead, remove NFSSERVER.  This was already done on i386, but
the alpha still needed the fix.
2001-11-15 15:58:01 +00:00
dd
bbce60529d Deuglify the usage message by putting the program name after the
"usage:" string.  This is how most (all?) other programs in the system
do it.

PR:		31596
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-11-15 15:46:45 +00:00
asmodai
c5e0ef5398 Report ad hoc mode correctly.
Submitted by:	udp <udp@sneakerz.org>
2001-11-15 15:31:51 +00:00
sobomax
00bf4cdf85 Improve recently committed fix for -t bug.
Submitted by:	"Andrew L. Neporada" <andr@dgap.mipt.ru>
MFC after:	3 days
2001-11-15 15:13:24 +00:00
iwasaki
a52673f0bc Fix re-enabling ACPI on wakeup from hibernation. The problem was that
acpi_Disable() cleared all GPE events.
Some old ACPI implementaions still need current re-enabling code.
2001-11-15 15:12:08 +00:00
cy
f2e1c31bea My final rite of FreeBSD is now complete.
Reviewed by:	nectar
Approved by:	nectar
2001-11-15 14:28:03 +00:00
iwasaki
fb3ee113a4 Two minor changes.
- Change _ACx sysctl oid from ten of _AC[0-9] to one _ACx.
 - Better error printing on _TMP evaluation.

Reviewed by:    msmith
2001-11-15 12:00:48 +00:00
iwasaki
62ec3c0b4b Remove "S4B" from sleep_state_names and add "NONE" instead.
Now you can say;
 # sysctl hw.acpi.lid_switch_state=NONE
instead of specifying unsupported _Sx object in the system.

Actually, S4B is going to disappear in ACPICA and we already have
hw.acpi.s4bios to distinguish BIOS hibernation or OS hibernation.
2001-11-15 11:59:25 +00:00
imp
246c6c7de1 MF NetBSD's if_ne_pcmcia.c rev 1.82's list of devices 2001-11-15 08:15:44 +00:00
imp
1f90e6ccf5 More devices. Obtained from NetBSD. 2001-11-15 07:57:38 +00:00
imp
6fdb4db61f Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
imp
3e552735d1 Sync to 1.18 of pccarddevs 2001-11-15 07:50:38 +00:00
imp
e1f7a9c3c0 Add vendor for NDC. 2001-11-15 07:50:09 +00:00
nyan
f8089d0911 Use the vn driver on a stable system. 2001-11-15 07:27:25 +00:00
matusita
9713287dca Typo fix (my test version doesn't have this...) 2001-11-15 07:09:00 +00:00
matusita
e4cf28f044 Run "make cleandir" if NO_MODULES are set, or there is no sys/modules
directory.  Previous commit breaks buildkernel if NO_MODULES was set.
Sorry...

Noticed by: mike
2001-11-15 07:04:23 +00:00
imp
34917066d6 Minor style problem I introduced recently 2001-11-15 06:44:43 +00:00
imp
686e52b5ce Hoist the Card/Card2 macros that I invented for the wi driver into
pccard layer and rename them PCMCIA_CARD and PCMCIA_CARD2 respectively
(note, this is being done with an eye towards NetBSD integreation so
it is easier to keep lists of cards between us and them in sync).

Use this in the an and wi drivers.
2001-11-15 06:37:13 +00:00
imp
9777457eaf Add PC4500 and 350 for newer cards in this line.
Obtained from: NetBSD's an driver (and FreeBSD's /etc/defaults/pccard.conf)
2001-11-15 06:26:24 +00:00
imp
a6aeea7d87 newcard support for an, from pr 24854 2001-11-15 06:18:58 +00:00
imp
1d69803db3 Add NEWCARD support for aironet stuff.
PR:		24854
Submitted by:	"Sam Habash" <the+xp@llama.com>
(with the mtx fix by Jonathan Chen)
2001-11-15 06:18:06 +00:00
imp
5a1c489cca Fix comments about 'current' state of hardware/software 2001-11-15 06:17:05 +00:00
imp
94c28882db GVC 10Mbps Ethernet Card
PR:		30329
Submitted by:	David Xu <davidx@viasoft.com.cn>
2001-11-15 05:54:25 +00:00
imp
6e0b9119a9 Add Compaq WL110 PC Card to the list.
PR:		31023
Submitted by:	wilko
2001-11-15 05:49:18 +00:00
grog
4827d8d48e Remove accidentally included NZ holidays.
Get floating holidays right.

Add the richness of NT holidays.

Submitted by:	Conrad Parker <conrad@vergenet.net>
2001-11-15 03:53:57 +00:00
grog
ed0f61b4cf Add public holidays in Australia and New Zealand.
Submitted by:	Conrad Parker <conrad@vergenet.net>
2001-11-15 02:35:14 +00:00
pat
34b97e73d9 Follow tradition and add myself
Approved by:	lioux
2001-11-15 02:27:48 +00:00
mike
77077eee7a o Implement imaxabs(), imaxdiv(), llabs(), lldiv().
o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards
  conformance and add additional references.

Reviewed by:	bde, wollman
2001-11-15 02:05:03 +00:00
sobomax
98952b6123 Add support for entering the Ukrainian letter GHE with upturn and for Russian
YO (`e' with two dots).

PR:		28573
Submitted by:	Alexey Klimov <klim@unique.kiev.ua>
MFC after:	2 weeks
2001-11-14 21:28:10 +00:00
sobomax
1aabd43aaa Style: don't mix decimal and hex values in the same file (convert all to
decimal).

MFC after:	2 weeks
2001-11-14 21:14:39 +00:00
phantom
1685c3726a fix ukrainian translation of 'Norwegian' word
PR:		misc/28605
Submitted by:	Alexey Klimov <klim@unique.kiev.ua>
2001-11-14 18:52:43 +00:00
jhb
866e8e774b Remove ifnet.if_mpsafe for now. If this is needed, it won't be needed
until much later when the network stack locking is farther along.

Approved by:	jlemon
2001-11-14 18:36:37 +00:00
rwatson
08704afd44 o Modify nfslockdans() to accept a thread reference instead of a proc
reference: with td->td_ucred, it will be desirable to authorize
  based on td->td_ucred, rather than p->p_ucred.
o Since the same variable 'p' was later used with pfind() on the target
  process for the wakeup, introduce a new local variable 'targetp'
  to use instead.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-11-14 18:20:45 +00:00
jhb
39806e442b The new libedit from a while back depends on ncurses, so put -ledit before
-lncurses so the fixit crunch binary links.

Tested on:	alpha
2001-11-14 17:48:55 +00:00
obrien
baad1b4d27 Fix the type of the NULL arg to execl(). 2001-11-14 17:00:58 +00:00
matusita
1b1306776b "make cleandir" before building a kernel and modules.
This will hopefully fix the recent 'I cannot compile linux module with
buildworld' problem.  MFC will come shortly.

Submitted by:		imura@ryu16.org
2001-11-14 16:48:47 +00:00
murray
54ff7ae91a Cross-reference the fdopen and fileno manpages.
PR:		docs/31866
Submitted by:	W. Campbell <wcampbel@botbay.net>
2001-11-14 16:24:51 +00:00
iedowse
61d89377de Oops, when trying the dirhash sequential-access optimisation,
compare the slot offset against the predicted offset, not a boolean
flag. This typo effectively disabled the sequential optimisation,
but was otherwise harmless.

Not surprisingly, fixing this improves performance in the sequential
access case. I am seeing a 7% speedup on one machine here; using
dirhash when sequentially looking up directory entries is now about
5% faster instead of 2% slower than the non-dirhash case.

Submitted by:	KOIE Hidetaka <koie@suri.co.jp>
MFC after:	1 week
2001-11-14 15:08:07 +00:00
cjc
05f295d22b After further discussion on -CURRENT, some people (jhb) do not like
the idea of not masking passwords on comments in case the
administrator comments out an entry without clearing the
password. Instead completely ignore comments (since they have no
security impact) when doing the diff of the old and new passwd file.

Suggested by:	rwatson
2001-11-14 09:30:01 +00:00
ps
b88e604b92 If the mask length is zero, there is no need to convert it to a
netmask.

PR:		31947
Submitted by:	Aaron Scarisbrick <aaronsca@hotmail.com>
MFC after:	1 week
2001-11-14 09:20:24 +00:00
sheldonh
fa34986a65 Avoid unnecessary calls to expr(1) by using standard shell arithmetic
expansion instead.
2001-11-14 06:35:43 +00:00
dillon
e3b965f7d5 remove holdfp()
Replace uses of holdfp() with fget*() or fgetvp*() calls as appropriate

introduce fget(), fget_read(), fget_write() - these functions will take
a thread and file descriptor and return a file pointer with its ref
count bumped.

introduce fgetvp(), fgetvp_read(), fgetvp_write() - these functions will
take a thread and file descriptor and return a vref()'d vnode.

*_read() requires that the file pointer be FREAD, *_write that it be
FWRITE.

This continues the cleanup of struct filedesc and struct file access
routines which, when are all through with it, will allow us to then
make the API calls MP safe and be able to move Giant down into the fo_*
functions.
2001-11-14 06:30:36 +00:00
yar
06b00a671b Rework the utmp(5) page:
o Fix a number of wrong statements
o Clarify the structure of the files and the C structures theirselves
o Add cross-references to login(3), logout(3), logwtmp(3)

MFC after:	1 month
2001-11-14 05:03:37 +00:00
jhb
3e963ab7ce The interrupt nesting level is per-thread not per-CPU on FreeBSD. 2001-11-14 01:00:40 +00:00
jhb
7ebdd7daa2 Fix a typo in rev 1.30 that broke the release: s/-dlint/-Dlint/ 2001-11-14 00:12:27 +00:00
dillon
27124b4079 Create a mutex pool API for short term leaf mutexes.
Replace the manual mutex pool in kern_lock.c (lockmgr locks) with the new API.
Replace the mutexes embedded in sxlocks with the new API.
2001-11-13 21:55:13 +00:00
keramida
a8103b3515 Replace use of "0" constraints in inline asm with "+" constraints,
when an operand is used both for input and output.

Reviewed by:	jhb
2001-11-13 19:55:20 +00:00
matusita
212eddcc65 sysinstall complains about creating acd0t* devices while all dists are
extracted and recreating device files.

Without this, you'll see following messages when 'MAKEDEV all':
	[:  : out of range
	[:  : out of range
	acd0t is invalid -- can't have more than 32 devices or 169 tracks

Reported by: David Syphers <dsyphers@uchicago.edu> (at current@FreeBSD.org)
2001-11-13 18:07:14 +00:00
arr
32b75878ad - Modify to make the generated device driver code work with current.
- Use M_ZERO instead of another call to bzero().

Inspired by: misc/31905
2001-11-13 17:58:14 +00:00