obrien
f2b101f4e8
Finish the deorbital burn of the i386-only a.out toolchain.
2003-09-06 02:18:03 +00:00
davidxu
521fd6195a
Add small piece of code to support pthread_rwlock_timedrdlock and
...
pthread_rwlock_timedrwlock.
2003-09-06 00:07:52 +00:00
sam
546fd338df
"fast swi" taskqueue support. This is a taskqueue that uses spinlocks
...
making it useful for dispatching swi tasks from fast interrupt handlers.
Sponsered by: FreeBSD Foundation
2003-09-05 23:09:22 +00:00
sam
27b68e0947
Print a message at boot for interrupt handlers created with INTR_MPSAFE
...
and/or INTR_FAST. This belongs elsehwere and perhaps under bootverbose;
I'm committing it for now as it's uesful to know which drivers have
been converted and which have not.
2003-09-05 22:51:18 +00:00
marcel
b7c5acb1f2
Fix a place where I forgot to change the code that checks whether
...
we return to kernel or userland. This triggered a panic in a KSE
application when TDF_USTATCLOCK was set in the case userland was
interrupted, but we never called ast() on our way out. As such,
we called ast() at some other time. Unfortunately, TDF_USTATCLOCK
handling assumes running in the interrupt thread. This was not
the case anymore.
To avoid making the same mistake later, interrupt() now returns
to its caller whether we interrupted userland or not. This avoids
that we have to duplicate the check in assembly, where it's bound
to fall off the scope. Now we simply check the return value and
call ast() if appropriate.
Run into this: davidxu
2003-09-05 22:50:10 +00:00
sam
d1c253ce23
change timeout to be MPSAFE
...
Sponsored by: FreeBSD Foundation
2003-09-05 22:37:31 +00:00
sam
617e17d997
change timer to MPSAFE
...
Sponsored by: FreeBSD Foundation
2003-09-05 22:33:44 +00:00
sam
61e32060eb
o add experimental radiotap capture format
...
o add netbsd logic to convert rssi to device-independent values
Obtained from: NetBSD (rssi conversion code)
2003-09-05 22:29:30 +00:00
sam
92be79f871
Add support for the experimental radiotap capture format. With this
...
we no longer need the debugging code to dump packets.
2003-09-05 22:22:49 +00:00
sam
bdc819fefb
Experimental bpf capture format for 802.11 devices. The link layer
...
type belongs in net/bpf.h but we keep it here for the moment.
P:
Submittep by:
Obtained from: David Young <dyoung@pobox.com>
2003-09-05 22:19:32 +00:00
peter
f79f1784c9
Log involuntary context switches correctly.
2003-09-05 22:15:26 +00:00
sam
fb2ef015b9
Add locking. We use a single lock to guard the global vlan list and also
...
to protect the vlan state in each ifnet (e.g. vlan count). The latter is
probably better handled through an ifnet-centric means but since changes
are infrequent shouldn't matter for now.
Sponsored by: FreeBSD Foundation
2003-09-05 20:58:59 +00:00
peter
35682ec271
Oops. sizeof(long) = 8, not 4. Get the fxsave buffer inside mcontext
...
the right size. I'm planning on *possibly* stealing the two 'spare'
variables on either side for botched alignment correction.
2003-09-05 20:47:27 +00:00
kan
3cec797a7b
The caller is expected to set up PIC register corectly before
...
jumping to .cerror. This means .cerror has to be present in the
same module with its consumers, or bad things will happen.
2003-09-05 18:08:19 +00:00
tjr
3bdf2e08b5
#include <runetype.h> directly for the definition of _CACHED_RUNES, needed
...
by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>.
Noticed by: Stefan Farfeleder
2003-09-05 16:05:21 +00:00
roam
8106d775c1
Clarify that the second argument to accept() may be a null pointer if
...
no peer address information is desired.
PR: 56044
Submitted by: Felix Opatz <felix@zotteljedi.de> and
Bernd Luevelsmeyer <bdluevel@heitec.net>
MFC after: 1 month
2003-09-05 15:41:52 +00:00
roam
3a2d1f6823
Change /dev/rsa0 and /dev/rwt0 references to sa0 and wt0.
...
PR: 55925
Submitted by: Michael L. Squires <mikes@siralan.org>
MFC after: 1 month
2003-09-05 15:28:09 +00:00
peter
7901d13419
Mark the isa compat shims for BURN_BRIDGES for 6.0
2003-09-05 14:55:11 +00:00
peter
07af64088b
Clean up some antique stuff. We do not support Weitek FPUs etc, and never
...
did.
2003-09-05 14:54:26 +00:00
roam
62d92111d1
Catch up with the hardware notes: list the supported cards.
...
PR: 55645
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
MFC after: 1 month
2003-09-05 14:27:22 +00:00
roam
e8507da4eb
Catch up with the hardware notes: list the supported cards.
...
PR: 55643
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
MFC after: 1 month
2003-09-05 14:23:22 +00:00
roam
3ea3d2368d
Catch up with the hardware notes: list the supported Compaq controllers.
...
PR: 55641
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
2003-09-05 14:17:33 +00:00
roam
4c11c5adaa
Document the SC_NO_SUSPEND_VTYSWITCH kernel config option.
...
PR: 55562
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
2003-09-05 13:27:57 +00:00
maxim
a2e10c2f7f
o Fix a typo in rev. 1.196: ifconfig 9 -> ifconfig 8.
...
PR: docs/56488
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
2003-09-05 11:43:18 +00:00
phk
af43a08ef8
Remove now unused BOOTP tags related to NFS swap device.
2003-09-05 11:12:55 +00:00
phk
d999957bf0
Put the message about msgbuf cksum mismatch under bootverbose and tell
...
people what the consequence is.
2003-09-05 11:12:00 +00:00
phk
70376abeea
Fix off-by-one error in array bounds check.
2003-09-05 11:09:26 +00:00
phk
2f3a7d1606
Forgotten in previous commit to atapi-cd.c: Add #ifndef BURN_BRIDGES
...
around cloning routines.
2003-09-05 11:08:55 +00:00
phk
9df93ab518
Be less confusing in a comment.
2003-09-05 11:05:41 +00:00
phk
c5dc1fb629
Put the device cloning functions for disk-drivers under #ifndef BURN_BRIDGES.
...
For the floppy driver, use fdcontrol to manipulate density selection.
For the CD drivers, the 'a' and 'c' suffix is without actual effect and
any applications insisting on it can be satisfied with a symlink:
ln -s /dev/cd0 /dev/cd0a
Ongoing discussion may result in these pieces of code being removed before
the 5-stable branch as opposed to after.
2003-09-05 10:40:16 +00:00
jkoshy
5ed65ab40c
Correct troff usage; typo fixes.
2003-09-05 09:40:10 +00:00
jkoshy
0d0d78bb93
Allow the PS version of this paper to be built.
2003-09-05 09:38:54 +00:00
tjr
81063d1dcb
Fix typo: c89, not c88.
2003-09-05 09:03:39 +00:00
tjr
b9a0be968f
Remove an unused and incorrect prototype for _none_init().
2003-09-05 09:01:31 +00:00
imp
e4939ef70d
Whacked out CIS configurations can cause us to not have any child. When
...
such a card is ejected, we'd panic. Instead, just ignore it.
I should also add a sanity check in the FUNCID code as well, but this
isn't wrong since the check is cheap and happens infrequently.
2003-09-05 03:08:08 +00:00
sam
7bc9af7ebb
lock ip fragment queues
...
Submitted by: Robert Watson <rwatson@freebsd.org>
Obtained from: BSD/OS
2003-09-05 00:10:33 +00:00
sam
bca2780311
o add locking
...
o move the global divsrc socket address to a local variable
instead of locking it
Sponsored by: FreeBSD Foundation
2003-09-05 00:00:51 +00:00
sam
e33f414d96
Reduce window during which a race can occur when detaching
...
an interface from each descriptor that references it. This
is just a bandaid; the locking here needs to be redone.
2003-09-04 22:27:45 +00:00
ru
f130294878
Make the creation of the OpenSSL whatis(1) database conditional on
...
NOCRYPT and NO_OPENSSL.
2003-09-04 21:24:18 +00:00
phk
862461d8b4
Make sure to return ENOIOCTL if the ioctl is not handled.
2003-09-04 21:23:46 +00:00
simon
2068a465a8
Move a sentence about the terminating \0 from the RETURN VALUES section
...
(where it didn't really belong), to the DESCRIPTION section.
English advice: ceri
Requested by: das
MFC after: 4 weeks
2003-09-04 20:36:54 +00:00
dds
def341934a
Removed unused macro definition
...
Approved by: schweikh (mentor - blanket)
MFC after: 6 weeks
2003-09-04 20:05:46 +00:00
schweikh
64b0ace867
Style cleanup, mostly
...
Requested by: bde
2003-09-04 18:28:42 +00:00
joe
6b9f535792
This commit was generated by cvs2svn to compensate for changes in r119743,
...
which included commits to RCS files with non-trunk default branches.
2003-09-04 18:06:16 +00:00
joe
3f1ec286a5
This file was missing in the snap, but it ought to be updated in the
...
vendor branch.
2003-09-04 18:06:16 +00:00
njl
657b53c623
Calling KNOTE with locks held may result in recursion when it calls back
...
into targreadfilt(). Unlock around calls to notify_user(). If an application
is sending CCBs while the endpoint is shutting down, this may result in
incomplete disable. A more complete solution will come with a "dying" flag.
Submitted by: simokawa
2003-09-04 16:30:03 +00:00
njl
c54c55a75c
Upon receiving a CCB for a LUN that is not enabled, be sure to unlock the
...
softc on exit.
Submitted by: simokawa
2003-09-04 16:05:41 +00:00
tmm
c8c49c9053
Apply a bandaid to get this working on sparc64 again; the introduction
...
of do_cmd() broke things, because this function assumes that a socklen_t
is large enough to hold a pointer.
A real solution to this problem would be a rewrite of do_cmd() to
treat the optlen parameter consistently and not use it to carry
a pointer or integer dependent on the context.
2003-09-04 15:57:37 +00:00
njl
9c26b457bc
Don't free the buffer if it wasn't actually allocated.
2003-09-04 15:55:41 +00:00
tmm
df4c8d05a8
Use stream bus space accesses to program the ID (station address)
...
registers; otherwise, the byte order of the address is changed on
big-endian machines.
2003-09-04 15:39:44 +00:00