Commit Graph

86537 Commits

Author SHA1 Message Date
imp
51ce609fe6 Bump pnpinfo and location size to 128 bytes. Since these are computed
on the fly and read into userland one at a time, this costs very
little total memory.  The pnpinfo sizes of pccard is more than 64
bytes due to the length of the strings that man cards have in their
CIS.
2003-02-17 19:01:33 +00:00
imp
e7ca39a4f3 -v now also prints the pnpinfo and location information for the devices
whose bus' provide this information.
2003-02-17 18:56:54 +00:00
imp
e99e4d0404 Expand length of pnpinfo and length fields since pccard pnpinfo can
easily be longer than 64 characters.
2003-02-17 18:56:00 +00:00
imp
84e496f2d2 Add a bunch of cards that we've added IDs for in the past few months:
+Allied Telesis WR211PCM        Prism?  PCMCIA
+ArTem OnAir    Prism?  PCMCIA
+Bay eMobility 11B      Prism-2.5?      PCMCIA
+Blue Concentric Circle WL-379F Prism-II        CF
+Linksys WCF11  Prism-3 PCMCIA
+YIS TWL-11B    Prism-II        PCMCIA
2003-02-17 18:21:51 +00:00
obrien
5265ee69ea Add libgmp.so.3 from 4.7-RELEASE CDs.
Requested by:	des
2003-02-17 17:26:03 +00:00
davidxu
6a2061cb8b Further fix PS_NEEDSIGCHK 2003-02-17 14:54:57 +00:00
davidxu
0330c19021 Move code for detecting PS_NEEDSIGCHK into thread_schedule_upcall,
I think it is a better place to handle it.
2003-02-17 14:41:22 +00:00
simokawa
4461b7347a * firewire.c
- Don't initiate bus reset even if probe failed for some nodes to prevent
	infinite bus reset loop.

Problem Reported by: Pierre Beyssac <pb@fasterix.frmug.org>

- Protect timeout routine with splfw() for 4-stable.

* sbp.c

- Make sure to release devq when start request.
2003-02-17 14:24:06 +00:00
nectar
9feeb8da9a Add libgmp.so.3 from 4.7-RELEASE CDs.
Requested by:	des
2003-02-17 13:45:13 +00:00
maxim
0e0fc7fd7e o Restore an interrupt priority level before return.
Submitted by:	Roman Kurakin <rik@cronyx.ru>
Reviewed by:	joerg
MFC after:	5 days
2003-02-17 13:41:55 +00:00
maxim
d08c1f6ee1 o Fix ipfw uid rules: socheckuid() returns 0 when uid matches a socket
cr_uid.

Note: we do not have socheckuid() in RELENG_4, ip_fw2.c uses its
own macro for a similar purpose that is why ipfw2 in RELENG_4 processes
uid rules correctly. I will MFC the diff for code consistency.

Reported by:	Oleg Baranov <ol@csa.ru>
Reviewed by:	luigi
MFC after:	1 month
2003-02-17 13:39:57 +00:00
julian
8900ca0cc3 Fix missed patch in last commit 2003-02-17 10:21:32 +00:00
mini
f410bbff9b Deliver signals posted via an upcall to the appropriate thread. 2003-02-17 10:05:18 +00:00
tjr
6ebeaa8ec8 Use the proc lock to protect p_realtimer instead of Giant, and obtain
sched_lock around accesses to p_stats->p_timer[] to avoid a potential
race with hardclock. getitimer(), setitimer() and the realitexpire()
callout are now Giant-free.
2003-02-17 10:03:02 +00:00
jeff
5c29a640b8 - Add a new function, thread_signal_add(), that is called from postsig to
add a signal to a mailbox's pending set.
 - Add a new function, thread_signal_upcall(), this causes the current thread
   to upcall so that we can deliver pending signals.

Reviewed by:	mini
2003-02-17 09:58:11 +00:00
julian
af55753a06 Move a bunch of flags from the KSE to the thread.
I was in two minds as to where to put them in the first case..
I should have listenned to the other mind.

Submitted by:	 parts by davidxu@
Reviewed by:	jeff@ mini@
2003-02-17 09:55:10 +00:00
marcel
653bc68f53 Define _ALIGNBYTES to be 15. This should have been done right away. 2003-02-17 09:53:29 +00:00
marcel
a75d478b87 Print two new processor features:
o  Spontaneous deferral (A feature required by dutch railways :-)
o  16-byte atomic operations (ld, st, cmpxchg)
2003-02-17 08:17:26 +00:00
mini
f7363ae6b5 Call the weak symbol for sigprocmask, so that it can be overridden. 2003-02-17 07:47:13 +00:00
jeff
590a39e29b - Split the struct kse into struct upcall and struct kse. struct kse will
soon be visible only to schedulers.  This greatly simplifies much the
   KSE code.

Submitted by:	davidxu
2003-02-17 05:14:26 +00:00
imp
9ca123a9b5 Move call to pci_print_verbose until after all the variables that it
depends on.

Pointy hat to: imp (anybody know if these things are accepted at Eco-Cycle?)
2003-02-17 04:13:44 +00:00
ache
54d6accf9d Back out "drop first N values" method of removing monotonically increased
seed->first value correlation. It breaks rand_r()... Other possible methods
like shuffling inside aray will breaks rand_r() too, because it assumes
only one word state, i.e. nothing extra can be added after seed assignment
in srand().

BTW, for old formulae seed->first value correlation is not so monotonically
increased as with other Linear Congruential Generators of this type only
becase arithmetic overflow happens. But overflow affects distribution
and lower bits very badly, as many articles says, such type of overflow
not improves PRNG.

So, monotonically increased seed->first value correlation problem remains...
2003-02-17 03:52:35 +00:00
tjr
eadbecd88b Second attempt at removing machdep.h and using ALIGN from <sys/param.h>.
The problem with the previous attempt, as noticed by Marcel, was that
stacknxt was being aligned to a pointer boundary instead of an
ALIGNBYTES + 1 boundary, which broke sparc64.
2003-02-17 03:51:44 +00:00
jeff
aa384c931f - Move ke_sticks, ke_iticks, ke_uticks, ke_uu, ke_su, and ke_iu back into
the proc.  These counters are only examined through calcru.

Submitted by:	davidxu
Tested on:	x86, alpha, UP/SMP
2003-02-17 02:19:58 +00:00
trhodes
d6241fff35 Correct the BSD/OS macro. 2003-02-16 22:30:00 +00:00
bmah
4d5a074607 New release notes: FILE 3.40, IPFilter 3.4.31.
MFC noted:  OpenSSL 0.9.7.
2003-02-16 21:30:30 +00:00
mtm
ca2c24db40 We stopped reloading rc.conf for each script a long time ago. Things
shouldn't depend on that any more.

PR:		conf/48332
Approved by:	markm (mentor)(implicit)
2003-02-16 20:46:08 +00:00
gallatin
523e67fb9e zero the end of the memory cluster we're disposing of. Otherwise teh
vm page startup code finds a 20GB cluster on this wacky alphaserver I'm
working on..

MFC After: 7 days
2003-02-16 19:25:04 +00:00
phk
5d80f8f84b Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDB
will not have a dev_t.
2003-02-16 19:22:21 +00:00
schweikh
a787a2ce23 Correct typos.
Submitted by:	Seth Hieronymus <sethh@principia.edu>
X-MFC after:	4.8 is out the door
2003-02-16 18:38:12 +00:00
mtm
b7e8fa9ad7 Update copyright. 2003-02-16 18:06:04 +00:00
imp
8cf11dcc75 Whatever dumbass wrote sio_pci.c didn't include a detach method.
Wearing said pointy hat, correct the oversight and hope nobody
notices.

# this should make xircom modems happier to detach once other bugs with
# the cardbus layer are fixed.

Noticed by: scottl
Conical Hat to: imp
2003-02-16 18:05:54 +00:00
mtm
b252bec075 Condense the output to one line per removed user. For user's who
want the more verbose version, there's a -v option.

Approved by:	markm (mentor)
2003-02-16 18:04:06 +00:00
imp
8f7d255929 No need to wrap siodetach() with sio_pccard_detach. 2003-02-16 18:03:15 +00:00
gallatin
df97827e5e When trimming memory to fit Maxmem, and we discard an entire cluster,
make certain to subtract its pages from physmem.  Otherwise we end up
running phys_avail_cnt negative, and bad stuff happens.

MFC After: 1 week
2003-02-16 17:30:49 +00:00
nectar
832e8b7f9a Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).
Only warnings that could be fixed without changing the generated object
code and without restructuring the source code have been handled.

Reviewed by:	/sbin/md5
2003-02-16 17:29:11 +00:00
alfred
81da3fbe2a Fix logic in loop so it actually executes.
Pointed out by: fjoe
2003-02-16 16:12:10 +00:00
phk
9948f76f41 Add #include <sys/resource.h>
My apologies for missing these #includes, I must have confused the
dependencies with a wrong timestamp or something.
2003-02-16 16:01:52 +00:00
phk
69de4d8f37 Add #include <sys/resource.h> 2003-02-16 15:46:25 +00:00
phk
921ab8f512 Add #include <sys/resource.h> 2003-02-16 15:31:26 +00:00
phk
b13e5a7950 Add #include <sys/resource.h> 2003-02-16 15:21:26 +00:00
mjacob
93ee38dcbd Pointy hat- bad commit. 2003-02-16 14:26:23 +00:00
phk
a86e2bda59 This file is now empty and should no longer be used anywhere.
Put a #warning here to alert people to the fact.
2003-02-16 14:15:03 +00:00
phk
4bfb37f22e Remove #include <sys/dkstat.h> 2003-02-16 14:13:23 +00:00
phk
016baafb55 Remove <sys/dkstat.h> #include 2003-02-16 14:09:16 +00:00
phk
6076eca6f2 Remove include of <sys/dkstat.h> 2003-02-16 14:08:52 +00:00
phk
21b8ebdbd4 Move cp_time[CPUSTATES] and related #defines to <sys/resource.h> 2003-02-16 13:30:29 +00:00
phk
4f3d0c80f3 Premptively include <sys/resource.h> to get the cp_time[CPUSTATES]. 2003-02-16 13:29:28 +00:00
phk
1107381e50 Declare tty related counters in a tty related .h file. 2003-02-16 13:23:29 +00:00
phk
811b1cae1c Move the tty related statistics counters to live with the tty code. 2003-02-16 13:22:15 +00:00