Commit Graph

125909 Commits

Author SHA1 Message Date
tv 89349d303e Give the MobilePro 800 and MobilePro 880 correct keymaps: fix the
positioning of the cursor keys to match the keycaps, and make the cmdmap
work correctly.
2004-04-06 15:48:17 +00:00
simonb ad2144406e Bump NMBCLUSTERS to something a little more modern - 2048 for the
normal case and 4096 for the "options GATEWAY" case.
2004-04-06 14:56:13 +00:00
keihan fef14e4cd8 s/netbsd.org/NetBSD.org/g 2004-04-06 08:48:55 +00:00
agc 1915cbb83e Fix signature verification after pkg_add and friends were changed to use
fexec() - trying to exec "gpg --verify %s" won't work with fexec, so split
up the command into separate words.
2004-04-06 05:56:07 +00:00
matt 949694f7d9 When seeing if the FP or VEC unit has been stolen by another process, check
PSL_{FP|VEC} instead of PCB_{FP|VEC}.  The former will only be set if the
process owned the {FP,VEC} unit when it trapped into the kernel.  The latter
would be set if the lwp ever used the {FP,VEC} unit.
2004-04-06 02:25:22 +00:00
bsh 6141a1e035 enable PS/2 mouse support.
Thanks to Ben Harris' pckbport, pms driver now attaches to sackbc
very cleanly.
2004-04-06 01:45:03 +00:00
bsh 34d29162ae fake that the PS/2 kbd/mouse controller of SA-1111 has two slots.
This is necessary to attach a pms driver to sackbc.
2004-04-06 01:32:17 +00:00
bsh 9a78d53bf0 whitespace nits. 2004-04-06 01:16:34 +00:00
christos 2a1bd4a323 - more void casts
- knf nits
- check for fdopen failure
2004-04-05 23:11:34 +00:00
enami 786727e51f Fix race condition introduced in rev 1.189; after the change, if there is
THRE interrupt occurs between the LSR read and IIR read, we won't see the
LSR_TXRDY bit when testing it in the variable `lsr' and we don't interrupted
again (as the corresponding bit in the IIR is cleared by reading, except
for some broken device).

Tested by Matthias Scheler and me, reviewed by Allen Briggs.
Closes PR#25010.
2004-04-05 22:33:08 +00:00
christos 99d2bc9467 PR/22551: Invoking tcpcb's get erroneously free'd resulting in to_ticks <= 0
assertion. Approved by he.
2004-04-05 21:49:21 +00:00
christos 5a95d1e200 PR/25065: Arne H Juul: Typo in debugging output. 2004-04-05 21:17:27 +00:00
veego 3ee69bb240 Remove duplicated include of <sys/types.h>
Fixes bin/25062.
2004-04-05 19:27:01 +00:00
hubertf 0c58031127 Add mmapw - mmapr is already there. Discovered while trying to build 2.0. 2004-04-05 17:52:16 +00:00
tsutsui 646b733fd4 Tidy up total/avail memory message as well as other ports.
As per discussion on port-sgimips.
2004-04-05 16:01:43 +00:00
mrg 12448037ad apply the changes in PR#22489.
2003-07-10  Kazu Hirata	 <kazu@cs.umass.edu>

	PR c/11449
	* fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
	of HOST_WIDE_INT.
	(fold_single_bit_test): If sign_bit_p() fails, assume that the
	bit being tested is not a sign bit.

2003-07-04  Jeff Law  <law@redhat.com>

	PR c/11428
	* expr.c (do_store_flag): Pass in the correct result type
	when calling fold_single_bit_test.
	* fold-const.c (fold_single_bit_test): Use result_type for the
	result when folding a sign bit test.

2003-07-02  Jeff Law  <law@redhat.com>

	* expr.c (do_store_flag): Remove special case folding for
	single bit tests.  Instead call back into the commonized folder
	routine.
	* fold-const.c (fold_single_bit_test): New function, mostly
	extracted from do_store_flag, with an additional case extracted
	from fold.
	(fold): Call fold_single_bit_test appropriately.
	* tree.h (fold_single_bit_test): Prototype.
2004-04-05 14:32:56 +00:00
nakayama 083eb7818c Use _LP64 to indicate 64-bit platform, per suggestion on source-changes@. 2004-04-05 13:06:23 +00:00
mrg 9a6b10ea6b mirror change in Imakefiles: provide DEFAULTVT=vt05 for amd64 as well. 2004-04-05 12:21:04 +00:00
lukem f6c0266f4d Add -I${X11SRCDIR.xc}/lib/xtrans, -I${X11SRCDIR.xc}/lib/GL/glx, (etc)
as appropriate.
Based on fix from Hubert Feyrer, cross-checked with the native Imakefiles.
2004-04-05 12:03:25 +00:00
lukem 18923ab6c1 Add -DUSE_X86_ASM -I${X11SRCDIR.xc}/extras/Mesa/src/X86
to the global CPPFLAGS when building on i386.  Fix from Hubert Feyrer.
2004-04-05 12:01:42 +00:00
yamt d1a0f61a77 nfs_readdirplusrpc: fix a deadlock problem.
don't wait for vnode lock to load attributes.
otherwise, because READDIRPLUS returns DOTDOT entry as well,
we violate locking order.
2004-04-05 10:44:09 +00:00
yamt a3a3d45be7 nfsm_mtofh: handle the case that filehandle is exist but fattr is not. 2004-04-05 10:41:45 +00:00
yamt 9ec3dce770 don't issue VOP_GETATTR blindly in nfs_nget().
in many cases, GETATTR RPCs here is redundant because the caller has
postop_attr.  instead, make sure the resulted vnode have a valid
attribute in nfs_lookup().
2004-04-05 10:40:56 +00:00
yamt 04e9fcc377 nfs_readdirplusrpc: purge existing namecache entry before entering a new one.
otherwise we'll get duplicated entries.
2004-04-05 10:36:32 +00:00
yamt 757220a432 when entering a namecache entry for nfs, ensure to update the appropriate
timestamp in the nfsnode so that we don't get namecache-miss when
looking up the node we just created.
2004-04-05 10:35:12 +00:00
yamt 0f33822b0b nfsm_wcc_data: update n_ctime and n_nctime if no one other than us
changed the file in the meantime so that we won't invalidate caches
unnecessarily due to our own activities.
2004-04-05 10:28:23 +00:00
yamt f2fb72c33f avoid unnecessary namecache purges in some places. 2004-04-05 10:27:11 +00:00
wiz 136d7943d4 When adding an IPv4 host, one can not leave the IPv4-address field if
one has entered invalid data (like an incomplete IP).
Their was no feedback about this, though.
Apply a patch from Peter Postma that gives feedback in this case.
Closes problem noted when re-testing PR 16937.
2004-04-05 10:25:12 +00:00
yamt 0441200d07 bump to 2.0C for the cache_purge change. 2004-04-05 10:22:30 +00:00
wiz 3f41daaf5b Add patch to handle tabs correctly, from Peter Postma.
Closes my PR 16936.
2004-04-05 10:21:23 +00:00
yamt 4972de4cca make cache_purge more controlable.
namely, allow following operations.
	- purge only an entry specified by a component name.
	- purge only child entries.
	- purge only parent entries.
no objections on tech-kern@.
2004-04-05 10:20:52 +00:00
yamt 9aa8d354bd add assertions related to file descriptor allocation. 2004-04-05 10:10:29 +00:00
wiz 8f3ccb909a Fix typo in previous, and change which(1)
entry to:
Replaced by a C program that only checks the path. [christos 20040401]
2004-04-05 09:38:30 +00:00
aymeric 263ab3f13d bump version: failed recovery doesn't prevent edition anymore 2004-04-05 07:22:39 +00:00
aymeric 14069c4665 Don't fail if asked to recover a file for which there is no recovery file.
Just continue. This matches the man page, the POSIX standard, and even the
comment above that code!
From OpenBSD, via jmc@openbsd, via wiz@netbsd.
POSIX part confirmed by kleink@netbsd
:-)
2004-04-05 07:19:08 +00:00
aymeric 1bc3c9fb86 fix copying and freeing of options, patch from yamt@ in PR bin/25050. Thanks! 2004-04-05 06:59:15 +00:00
simonb 3ce5632009 Fix tyop. 2004-04-05 04:53:01 +00:00
matt 4cb4fcf23d Note PowerPC FP exception processing. 2004-04-05 03:59:37 +00:00
mrg 1739cf2504 - fix i386_intel_brand[]: it was missing a empty reserved entry at 0xD
causing Mobile Pentium 4 to be shown as a Mobile Celeron.
- fix intel_family6_name() for brand=0xB && signature >= 0xF13
- fix a potential out-of-bounds array reference
2004-04-05 02:09:41 +00:00
simonb 19f85c9cf1 Fix a tyop. 2004-04-05 01:39:07 +00:00
wiz 2569049f22 Add comma after "i.e.". 2004-04-04 23:41:23 +00:00
matt 15fc41dbb0 When trying to figure out which code to return, use the exception enable
bits to mask out the undesired exceptions.  (Thanks to Todd Whitesel for
the idea).
2004-04-04 22:20:44 +00:00
matt e5795ee03a Add libraries needed for configure 2004-04-04 20:17:27 +00:00
matt 6aeab1d37b Update FPSCR_FX consistently per the Programming Environment Manual. So
if any sticky bit is set, FPSCR_FX should be set.  If no sticky bits are
set, then FPSCR_FX should be clear.
2004-04-04 19:54:05 +00:00
matt 6da9a37235 Deal with the way FP_X_INV works. That maps to FPSCR_VX. However FPSCR_VX
is not a sticky, it's actually an inclusive OR of 9 stick bits.  So when
FP_X_INV is cleared, we need to clear all of those bits.  When FP_X_INV is
set, we set all of them.
2004-04-04 19:31:19 +00:00
matt 47e6b704bb Lint cleanup. s/u_int64_t/uint64_t 2004-04-04 19:28:13 +00:00
matt fb0f2fdab6 Supress a few lint warnings. s/u_int64_t/uint64_t/ 2004-04-04 19:27:19 +00:00
matt acdea83164 Suppress a lint warning. 2004-04-04 19:26:21 +00:00
matt e7c76e51e6 Add SIGFPE handling code. Report the proper SIGINFO ksi_code when a SIGFPE
happens.  When a SIGFPE occurs, disable the exception enables in the FPSCR.
2004-04-04 19:21:36 +00:00
pk 12d5178857 For now, disable Hypersparc instruction cache on MP machines. 2004-04-04 18:54:01 +00:00