kuriyama
741be83f38
Fix typo (s/=/+=/) in previous commit.
2001-06-28 05:18:31 +00:00
jlemon
2d6e619536
Correct comment: so_q -> so_comp, so_q0 -> so_incomp.
...
Submitted by: Adagio Vangogh <adagio_v@pacbell.net>
2001-06-28 04:39:49 +00:00
jhb
822af43e20
- Fix a mntvnode and vnode interlock reversal.
...
- Protect the mnt_vnode list with the mntvnode lock.
- Use queue(9) macros.
2001-06-28 04:12:56 +00:00
jhb
ab91beada7
- Protect the mnt_vnode list with the mntvnode lock.
...
- Use queue(9) macros.
2001-06-28 04:10:07 +00:00
jhb
34fab2d86c
- Fix a mntvnode and vnode interlock reversal.
...
- Protect the mnt_vnode list with the mntvnode lock.
2001-06-28 04:05:54 +00:00
jhb
b3565b0fc9
Get kernel profiling on SMP systems closer to working by replacing the
...
mcount spin mutex with a very simple non-recursive spinlock implemented
using atomic operations.
2001-06-28 04:03:29 +00:00
jhb
0bd9d86c0a
Fix a mntvnode and vnode interlock reversal.
2001-06-28 03:52:04 +00:00
jhb
54c05ef2f2
Protect the mnt_vnode list with the mntvnode lock.
2001-06-28 03:50:17 +00:00
bsd
47d3082050
Provide access to the IA32 hardware debug registers from the ddb
...
kernel debugger. Proper use of these registers allows setting
hardware watchpoints for use in kernel debugging.
MFC after: 2 weeks
2001-06-28 02:08:13 +00:00
brian
7e4cb10f8b
Fairwell dgm
2001-06-27 21:40:28 +00:00
brian
d64eacd87d
Remove dgm
2001-06-27 21:38:43 +00:00
brian
3d5944ae8b
Spell digi right
2001-06-27 21:37:01 +00:00
cg
e47dc3a01a
don't flag the playback hardchan as busy on devices with only one of them.
...
if a device has vchans already but they are all busy, allocate another one
at open() time, up to a maximum of hw.snd.maxvchans.
when creating/destroying vchans, don't make/remove a devnode for the
first/last one as it replaces a hardchan.
2001-06-27 19:59:45 +00:00
cg
c233f2daba
tidy up/simplify dsp_clone()
2001-06-27 19:51:02 +00:00
ume
6c95672334
refresh default router list on nd6_purge(), only if we are an
...
autoconfigured host.
Obtained from: KAME
2001-06-27 17:56:17 +00:00
jhb
a5db0cb683
Catch up to mbuf allocator changes from last September so this compiles
...
again.
2001-06-27 14:57:17 +00:00
jhb
6822406e6b
Make this compile again. Broken since June 1.
2001-06-27 14:46:44 +00:00
ru
61d088ba8d
Fixed the brain-o in rev. 1.10: the logic check was reversed.
...
Reported by: Bernd Fuerwitt <bf@fuerwitt.de>
2001-06-27 14:11:25 +00:00
benno
a9c335b97c
Code for dealing with external interrupts.
...
Obtained from: NetBSD
2001-06-27 12:33:51 +00:00
benno
87e9f9315f
Fix comment breakage.
2001-06-27 12:20:48 +00:00
benno
a304a71cd2
Fix the atomic_*_32 operations. These were written before I had the ability
...
to test them properly and before I had a working knowledge of GCC asm
constraints.
2001-06-27 12:17:23 +00:00
benno
c92b4bbf4f
Bracket this file in the usual #ifndef/#define/#endif stuff to prevent
...
multiple inclusion.
2001-06-27 12:15:58 +00:00
benno
d07d921cce
Garbage collect some debug code.
2001-06-27 12:15:12 +00:00
benno
3c1cfd0376
Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using
...
floating point registers for various optimisation tweaks.
2001-06-27 12:10:25 +00:00
jhb
97220dbd1e
- Add trylock variants of shared and exclusive locks.
...
- The sx assertions don't actually need the internal sx mutex lock, so
don't bother doing so.
- Add a new assertion SX_ASSERT_LOCKED() that asserts that either a
shared or exclusive lock should be held. This assertion should be used
instead of SX_ASSERT_SLOCKED() in almost all cases.
- Adjust some KASSERT()'s to include file and line information.
- Use the new witness_assert() function in the WITNESS case for sx slock
asserts to verify that the current thread actually owns a slock.
2001-06-27 06:39:37 +00:00
jhb
e58c0d25fb
- Add a new witness_assert() to perform arbitrary locking assertions.
...
- Clean up the KTR tracepoints to be slighlty more consistent and useful
- Fix a bug in WITNESS where we would recurse indefinitely and blow the
stack when acquiring Giant after sleeping with a sleepable lock held.
Reported by: tanimura (3)
2001-06-27 06:27:29 +00:00
jhb
f4029cf62b
- Always use the proc lock of the task leader to protect the peers list of
...
processes.
- Don't construct fake call args and then call kill(). psignal is not
anymore complicated and is quicker and not prone to locking problems.
Calling psignal() avoids having to do a pfind() since we already have a
proc pointer and also allows us to keep the task leader locked while we
kill all the peer processes so the list is kept coherent.
- When a kthread exits, do a wakeup() on its proc pointers. This can be
used by kernel modules that have kthreads and want to ensure they have
safely exited before completely the MOD_UNLOAD event.
Connectivity provided by: Usenix wireless
2001-06-27 06:15:44 +00:00
joerg
9a7af27f8e
Implement a new ioctl command for floppies: FD_READID
...
Reads one sector ID field from a given track. Useful for analyzing
floppies.
2001-06-26 22:16:30 +00:00
joerg
ee8f997358
Some more cosmetics: kill another couple of K&R function definitions
...
that survived from old days, fix style of return type in fdcpio(),
kill old Emacs hints that are no longer working that way anyway.
2001-06-26 22:07:25 +00:00
cg
773e160778
add a tunable/sysctl, hw.snd.autovchans. if this is set to a value n where
...
n > 0, n vchans will be assigned to any devices that subsequently register
with a single playback channel.
2001-06-26 21:54:55 +00:00
benno
cbd5efc8f5
Don't initialise ret in atomic_cmpset_32.
...
Add more synchronisation.
2001-06-26 13:54:17 +00:00
onoe
d3cf90f482
The information about how to integrate this driver into BSDs is obsoleted,
...
and no longer needed.
2001-06-26 13:15:14 +00:00
onoe
ab4f0f1d6b
Fix capability information in association request to reflect ESS/IBSS mode.
...
This fix is required to interoperate with Cisco's access point.
Obtained from: NetBSD current
2001-06-26 13:10:30 +00:00
onoe
67840ab392
Fix keyid bit position of encrypted packet to make non-first key usable.
...
Obtained from: NetBSD current
2001-06-26 13:08:44 +00:00
onoe
c1aa1040ff
Fix previous enhancement to add support for new ifconfig interface.
2001-06-26 13:06:12 +00:00
nyan
ce61f5e240
Merged from the following changes.
...
sys/isa/ppc.c revisions from 1.27 to 1.34
sys/isa/ppcreg.h revisions from 1.10 to 1.15
sys/isa/isareg.h revision 1.6
2001-06-26 11:53:12 +00:00
nyan
0f2397a09b
Merged from sys/isa/sio.c revision 1.335.
2001-06-26 11:48:17 +00:00
nyan
0389b45e3b
Merged from sys/i386/isa/isa_dma.c revision 1.7.
2001-06-26 11:47:24 +00:00
nyan
d80add6a08
Merged from sys/isa/syscons_isa.c revision 1.16.
2001-06-26 11:46:42 +00:00
nyan
56c09a5ee8
Merged from sys/dev/syscons/scterm-sc.c revison 1.15.
2001-06-26 11:45:54 +00:00
nyan
5500e9efc4
Merged from sys/dev/syscons/syscons.c revisons 1.358 and 1.360.
2001-06-26 11:45:01 +00:00
nyan
a60425a816
Merged from sys/isa/fd.c revisions 1.198, 1.199, 1.200, 1.202 and 1.204.
2001-06-26 11:44:21 +00:00
nyan
0e5d5b529a
Merged from sys/i386/include/bus_at386.h revision 1.14.
2001-06-26 11:36:45 +00:00
nyan
5dec8ab9a6
Merged from sys/dev/aic/aic_isa.c revision 1.8.
2001-06-26 11:35:46 +00:00
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
kato
7862faed10
Recognize FC-PGA2 Pentium III (Tualatin).
2001-06-26 03:02:30 +00:00
nyan
8451fa99ba
Fixed miss merging from revision 1.102.
2001-06-26 00:47:54 +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