Cameron Grant
f00f162a5f
add defines and ifdefs so this code will compile on 4.x
...
add spls so this code will work on 4.x
2001-06-23 17:36:51 +00:00
Ruslan Ermilov
8c8e8f8013
Three people known to be born on December 18!
...
Submitted by: cwt
2001-06-23 17:34:26 +00:00
Cameron Grant
79bb7d52b3
move a private struct definition from ac97.h to ac97.c
...
add proper handling of cards which take eapd=1 to mean 'produce sound'
instead of 'external amplifier power down'
2001-06-23 17:32:40 +00:00
Ruslan Ermilov
c73d99b567
Add netstat(1) knob to reset net.inet.{ip|icmp|tcp|udp|igmp}.stats.
...
For example, ``netstat -s -p ip -z'' will show and reset IP stats.
PR: bin/17338
2001-06-23 17:17:59 +00:00
Cameron Grant
6fe615f6bb
add sndstat.c so module users have /dev/sndstat again
2001-06-23 17:09:38 +00:00
Bosko Milekic
f70f5dd367
- Fix space allocation for mbstat structure
...
- Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) to
get number of CPUs.
2001-06-23 17:04:17 +00:00
Bosko Milekic
4edec6b79a
Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) when
...
getting number of CPUs.
2001-06-23 17:03:27 +00:00
Maxim Sobolev
ab962c79ec
By default link statically (like we did in the port) - it provides 8-10%
...
faster comperssion, which in the bzip2's case could be a big win.
2001-06-23 12:29:14 +00:00
Mitsuru IWASAKI
4eb77744b5
Add sysctl interface (Read-only) for temprature, AC-line and Battery.
...
Patches for acpi_cmbat.c submitted by Munehiro Matsuda.
2001-06-23 10:38:25 +00:00
Ruslan Ermilov
aafccd6d93
Honor -s -s (don't show zero stats) with -r, untangle SYNOPSIS further.
...
(usage() still is not synchronized with SYNOPSIS, intentionally.)
2001-06-23 09:18:57 +00:00
Ralf S. Engelschall
c39435223d
Add myself.
2001-06-23 09:16:29 +00:00
Ruslan Ermilov
5548840306
Fixed DPADD.
...
Submitted by: bde
2001-06-23 09:10:48 +00:00
Ruslan Ermilov
10ae6ece36
Document "normalizing" behavior of mktime(3).
...
PR: bin/28313
Reviewed by: bde, wollman
MFC after: 1 week
2001-06-23 08:57:40 +00:00
KATO Takenori
b7494481a0
Merged from sys/i386/isa/npx.c revision 1.102.
2001-06-23 08:39:13 +00:00
Ruslan Ermilov
7b7a4c0417
Average age is 28 years and 11 months.
...
Submitted by: hrs, marko
2001-06-23 08:36:11 +00:00
KATO Takenori
a655f750be
Merged from sys/i386/i386/machdep.c revisions 1.456 and 1.457.
2001-06-23 08:30:13 +00:00
KATO Takenori
4f2114cb40
Removed pcm and sbc devices.
2001-06-23 08:18:55 +00:00
KATO Takenori
7bc0575ab0
Merged from sys/conf/files.i386 revisions 1.362 and 1.363.
2001-06-23 08:10:50 +00:00
KATO Takenori
b6da22604e
Merged from sys/boot/i386/btx/btx/btx.s revision 1.25.
2001-06-23 08:04:14 +00:00
Brian Feldman
668650045e
Make sure the average age keeps on decreasing down that slippery slope.
2001-06-23 07:24:18 +00:00
Dima Dorfman
7a95e9f2e1
Remove duplicate word.
2001-06-23 07:02:33 +00:00
Jonathan Lemon
4dd2af159e
Bring in fix from rev 1.32 that got lost during the conversion to kqueue.
...
This prevents an indefinte timeout in case the kevent call is interrupted
for some reason.
PR: 26665
MFC in: 2 weeks
2001-06-23 06:54:28 +00:00
Nicolas Souchu
3ae3f8b0be
Convert inb/outb to bus_space.
...
Submitted by: jcm@FreeBSD-uk.eu.org
2001-06-23 06:52:54 +00:00
Nicolas Souchu
334a17f09a
Translate various ppbus sequences into microsequences to limit
...
overhead of abstraction layers.
Submitted by: jcm@FreeBSD-uk.eu.org
2001-06-23 06:51:52 +00:00
Andrey A. Chernov
cd01c79119
Make the similar changes as in our keyinfo, i.e. allow user to get his own
...
sequence and allow root to get everybody's one. Before this change user
can't get his own sequence, root required.
2001-06-23 04:48:59 +00:00
Julian Elischer
2137f0edf5
give up and join the party (along with thomas Moestl (same bday))
...
but maybe this file shouldn't be so widly distributed :-)
2001-06-23 04:37:31 +00:00
Mike Silbersack
08517d530e
Eliminate the allocation of a tcp template structure for each
...
connection. The information contained in a tcptemp can be
reconstructed from a tcpcb when needed.
Previously, tcp templates required the allocation of one
mbuf per connection. On large systems, this change should
free up a large number of mbufs.
Reviewed by: bmilekic, jlemon, ru
MFC after: 2 weeks
2001-06-23 03:21:46 +00:00
Brooks Davis
1d3771386f
Fix a number of bugs in the implementation of the WEP related status
...
functions in ifconfig. "ifconfig an0" should output the correct
status now. Also, make the read and write functions both more
robust and more consistant. This should stop most of the incorrect
size complaints and eliminate the possiability of panics from firmware
that increases resource sizes.
PR: kern/27826
Reviewed by: imp, jlemon
Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>
David Wolfskill <dhw@whistle.com>
2001-06-22 23:35:24 +00:00
John Baldwin
1df95969b5
- Lock CURSIG() with the proc lock to close the signal race with psignal.
...
- Grab Giant around ktrace points.
- Clean up KTR_PROC tracepoints to not display the value of
sched_lock.mtx_lock as it isn't really needed anymore and just obfuscates
the messages.
- Add a few if conditions to replace gotos.
- Ensure that every msleep KTR event ends up with a matching msleep resume
KTR event (this was broken when we didn't do a mi_switch()).
- Only note via ktrace that we resumed from a switch once rather than twice
in several places in msleep().
- Remove spl's rom asleep and await as the proc lock and sched_lock provide
all the needed locking.
- In mawait() add in a needed ktrace point for noting that we are about to
switch out.
2001-06-22 23:11:26 +00:00
John Baldwin
87f9ffb805
- Lock CURSIG with the proc lock and don't release the proc lock until
...
after grabbing the sched lock to close a race.
- Lock ktrace points with Giant.
2001-06-22 23:06:38 +00:00
John Baldwin
06c836bbca
- Grab the proc lock around CURSIG and postsig(). Don't release the proc
...
lock until after grabbing the sched_lock to avoid CURSIG racing with
psignal.
- Don't grab Giant for addupc_task() as it isn't needed.
Reported by: tegge (signal race), bde (addupc_task a while back)
2001-06-22 23:05:11 +00:00
John Baldwin
2ad7d3049a
- Change CURSIG() and postsig() to require that the proc lock is held
...
rather than grabbing it and releasing it themselves. This allows callers
of these functions to get the lock to close race conditions.
- Grab Giant around ktrace in postsig.
- Count the switches performed on SIGSTOP's as involuntary context switches
in the resource usage stats.
Reported by: tegge (signal race), bde (missing csw stats)
2001-06-22 23:02:37 +00:00
Seigo Tanimura
4841abec28
Now how many files would a new committer have to commit?
2001-06-22 22:53:22 +00:00
Wes Peters
3236ec583b
Join in the fun.
2001-06-22 22:47:22 +00:00
David E. O'Brien
73325acbbc
People wanted this bumped for the Bzip2 import.
2001-06-22 22:38:12 +00:00
Peter Wemm
1a6d55cecd
Make the hw.physmem and hw.usermem variables unsigned so that they dont
...
come up as negative on machines with >2GB ram.
2001-06-22 22:07:01 +00:00
Dima Dorfman
3676cbfbf4
Increase the buffer sizes for the build deps, run deps, and the line
...
itself verbatim from INDEX. This fixes seg. faults with newer INDEX
files which have some gnome ports with outrageously long run deps.
Approved by: jkh
2001-06-22 21:47:55 +00:00
David E. O'Brien
b0b7095861
Quiet compiler warnings by making `WARNS 2' clean.
...
Submitted by: Mike Barcroft <mike@q9media.com>
Set maintainer to myself. This needs to stay in sync with what Buntils
does, and it would be best to pass functionality changes thru me to make
sure future plans are taken into account.
2001-06-22 21:43:51 +00:00
Bruce A. Mah
22e22d2765
MFS: Add tx(4) section to hardware list.
2001-06-22 21:43:14 +00:00
Dima Dorfman
982f5d88ff
WARNS= -> WARNS?=
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
John Baldwin
49f886f5d3
Be conservative and always perform an mb after an atomic_cmpset operation.
2001-06-22 21:13:20 +00:00
John Baldwin
6d541bf1ae
- Protect all accesses to nsw_[rw]count{,_{,a}sync} with the pbuf mutex.
...
- Don't drop the vm mutex while grabbing the pbuf mutex to manipulate
said variables.
2001-06-22 21:12:19 +00:00
Matt Jacob
2f7f966cb8
int -> size_t fix
2001-06-22 19:54:38 +00:00
Matt Jacob
d4d79f279c
Make hostid an unsigned long (matches kern_mib.c change)
...
PR: kern/21132
MFC after: 1 month
2001-06-22 19:51:45 +00:00
Bruce A. Mah
57f2d14907
Take sbuf(9) item out of the release notes. It doesn't have as much
...
relevance to the average user as I thought it did originally.
2001-06-22 17:28:42 +00:00
Bruce A. Mah
f1aafe2646
Note that ed(4) supports the DE305.
2001-06-22 17:26:02 +00:00
Bruce A. Mah
279288f01a
New/updated release notes: gensetdefs(8) removed, mbuf allocator SMP-friendly
...
changes, TCP_RESTRICT_RST removed, getprogname(3), setprogname(3).
MFCs noted: dump(8) -T argument processing fixed, ee(1) 1.4.2.
2001-06-22 16:56:26 +00:00
Matt Jacob
8f5a1742c2
Temporary fix at least- define NCPU_PRESENT which will be mp_npcus for
...
SMP kernels, one (1) for non-SMP.
2001-06-22 16:03:23 +00:00
Jim Pirzyk
f83ae79fbe
changed hostid from long to unsigned long to be able to store values > 2GB
...
on i386 platforms. Also changed SYSCTL type from INT to ULONG and removed
comment about it.
PR: kern/21132
MFC after: 1 month
2001-06-22 16:03:14 +00:00
Bruce A. Mah
cc8294cc08
MFS: Fix minor grammatical problem in orm(4) item.
2001-06-22 15:59:25 +00:00