phk
4e50b9ebd8
Introduce vfs_read_dirent() which can help VOP_READDIR() implementations
...
by handling all the cookie stuff.
2005-09-12 08:46:07 +00:00
phk
aca041ee53
Clean up prototypes.
2005-09-12 08:03:15 +00:00
glebius
e05f61f30d
Remove ng_callout_init_mtx() macro. Mutexed callouts are incompatible
...
with netgraph(4).
2005-09-12 07:41:31 +00:00
imp
b939d57c24
This appears to be good for some folks, but really bad for others.
...
Until we know why, back out 1.127.
2005-09-12 05:35:11 +00:00
imp
3f6701edb2
Since opti_detect is now only called on !PC98 machines, only declare
...
and define there as well. This should fix the pc98 tinderbox.
2005-09-12 04:12:50 +00:00
obrien
4c95069237
MFamd64: use register_t's.
2005-09-12 03:34:05 +00:00
obrien
4bbda4e49b
Note that Keyspan is also InnoSys Inc.
2005-09-12 03:32:46 +00:00
tegge
0075736656
Don't retry when vget() returns ENOENT in the nonblocking case due to the
...
vnode being doomed. It causes a livelock.
2005-09-12 01:48:57 +00:00
tegge
16d6733e0b
Giant is no longer needed here.
2005-09-12 01:21:42 +00:00
stefanf
6a3ff0e038
Add a couple of missing MLINKS.
2005-09-11 20:59:52 +00:00
alc
4cfa27e2c0
Eliminate unused definitions.
2005-09-11 20:51:15 +00:00
mjacob
5b4694d0bd
Restore the 929X support that got nuked in merge
2005-09-11 19:58:19 +00:00
obrien
5a7994d2cd
Canonize the include of acpi.h.
2005-09-11 18:39:03 +00:00
netchild
0cdc413f23
Add the {get,put}ino man pages for those people which got them in the
...
small window. Add the date to the T/TCP entry.
2005-09-11 18:19:42 +00:00
obrien
2f74466b58
Per a request from Nick Triantos of nVidia, nVidia's legal department asked
...
that we provide their license document beside their nForce MCP object code.
2005-09-11 17:50:20 +00:00
rwatson
42860f374b
After going to some trouble to create a temporary directory in which to run
...
fifo tests, chdir to it.
2005-09-11 17:41:32 +00:00
netchild
cc33905d69
Fix hang at init for MagicMedia 256A[VX] chips. [1]
...
In case this causes trouble for some other chipsets add a comment how to
proceed. If we don't get bugreports, this should be removed after a while
(some releases?).
PR: 56617 [1], 29465, 39260, 40574, 68225
Submitted by: Matthew E. Gove <mgove@comcast.net> [1]
2005-09-11 17:30:27 +00:00
stefanf
2e6261bb2b
The arguments for time2posix() and posix2time() are time_t values, not
...
pointers.
2005-09-11 17:09:50 +00:00
rodrigc
c3a9c8a90b
Forward declare z_errmsg with static linkage since it is defined
...
with static linkage later in the file. Eliminates GCC 4.0 error.
2005-09-11 16:13:02 +00:00
rodrigc
0ccfef16a3
Forward declare atalkdomain with static linkage, not extern, since
...
it is defined with static linkage later in the file. Eliminates
GCC 4.0 error.
2005-09-11 16:04:56 +00:00
rodrigc
97c59ad2c7
Cast bf_sysid to const char * when passing it to strncmp(), because
...
strncmp does not take an unsigned char *. Eliminates warning with GCC 4.0.
2005-09-11 16:02:14 +00:00
rodrigc
aeeba2bf5b
Do not declare M_NTFSMNT with extern linkage here, since
...
it is defined with static linkage in ntfs_vfsops.c.
Fixes compilation with GCC 4.0.
2005-09-11 15:57:07 +00:00
maxim
e6775c1a34
A new version of rev. 1.4: postpone a temporary file creation
...
until we realize if ipfw(4) ever used.
PR: bin/85970
Submitted by: Andre Albsmeier
MFC after: 3 days
2005-09-11 14:29:58 +00:00
netchild
fedf7d75e8
Power up the external amplifiers additionally to powering up the DAC and ADC.
...
PR: 47029
Submitted by: Anish Mistry <mistry.7@osu.edu>
Tested by: David Murphy <dm@dmz.ie>
2005-09-11 14:15:05 +00:00
netchild
f5ccdce26c
Add some ad_wait_init() calls to fix some problems in some configs (e.g.
...
PC98, CS4231A, "pcm0: play interrupt timeout").
PR: 45682
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2005-09-11 13:59:02 +00:00
netchild
e017759312
Allow to record non 8bit-mono formats even in half-duplex configurations.
...
PR: 45679
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2005-09-11 13:49:24 +00:00
rwatson
529f801256
Add fifo_open, a basic regression test for opening fifos, which tests
...
the blocking and non-blocking forms of open based on the POSIX spec for
now O_NONBLOCK should be handled.
2005-09-11 13:03:36 +00:00
cperciva
f00504e5fa
Fix typo: ${PORTDIR} -> ${PORTSDIR}.
...
Apologies to everyone who has run portsnap in 7.0-CURRENT since
Tuesday; if there is a file "/.portsnap.INDEX" on your system, you can
delete it (or even better, move it to /usr/ports/.portsnap.INDEX).
Big pointy hat to: cperciva
Reported that things weren't working properly: Aleksander Fafula
2005-09-11 12:55:07 +00:00
phk
fd5205fdd9
Do not destroy the queue mutex until the thread is done with it.
2005-09-11 12:35:32 +00:00
mlaier
ae191726d9
Stop leaking a lock. This used to cause a propagate_priority() page fault
...
when setting syncdev and syncpeer.
Reported by: Dominic Marks
2005-09-11 11:55:39 +00:00
netchild
3af413ca70
Fix misdetection of the sound chip on PC98 systems. The submitter doesn't
...
believe that there are PC98 systems with an OPTi chip.
I don't know enough about this special PC architecture to be sure about
this, so let's find out by letting people with such a system complain in
case this commit breaks the sound system for them. It's easy to revert
then.
PR: 45673
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2005-09-11 10:07:12 +00:00
netchild
34f358a569
Fix a bug in volume calculation, this sometimes gives a USB audio device an
...
unexpected value (when the volume is high).
Submitted by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>
2005-09-11 09:15:42 +00:00
truckman
cc90fab85a
Relocate witness_levelall(), witness_leveldescendents(), and
...
witness_displaydescendants() so that they are protected by
"#ifdef DDB/#endif" to unbreak kernels not using "option DDB".
MFC after: 3 weeks
2005-09-11 07:57:06 +00:00
obrien
60837e0da9
The kernel-depend target doesn't get any information from "compile-with",
...
so repeat the includes paths for that target.
2005-09-11 07:33:43 +00:00
marcel
95c333b219
Claim frames corresponding to tl(0|1)_intr and tl0_trap as well. I
...
think that's the lot, but it's hard to understand the exception code
by mere glancing at it.
MFC after: 1 week
2005-09-11 06:52:14 +00:00
marcel
afc227eedb
Unwind across intrframes as well. While here, better handle bottom of
...
stack by claiming the frame when the IP is 0. It's a bit of a kluge,
but avoids screens full of bogus frames.
MFC after: 1 week
2005-09-11 05:55:24 +00:00
marcel
5c551253ea
Unwind across intrframes as well.
...
MFC after: 1 week
2005-09-11 05:36:30 +00:00
imp
638a6dba07
Change hw.pci.do_powerstate from a boolean to a range. 0 means the
...
same as today: do no power management. 1 means be conservative about
what you power down (any device class that has caused problems gets
added here). 2 means be agressive about what gets powered down (any
device class that's fundamental to the system is here). 3 means power
them all down, reguardless. The default is 1.
The effect in the default system is to add mass storage devices to the
list that we don't power down. From all the pciconf -l lists that
I've seen for the aac and amr issue, the bad device has been a mass
storage device class.
This is an attempt at a compromise between the very small number of
systems that have extreme issues with powerdown, and the very large
number of systems that gain real benefits from powerdown (I get about
20% more battery life when I attach a minimal set of drivers on my
Sony). Hopefully it will strike the proper balance.
MFC After: 3 days (before next beta)
2005-09-11 04:09:44 +00:00
obrien
312435e933
Don't pollute the entire kernel build with -I$S/contrib/dev/ath and
...
-I$S/contrib/dev/ath/freebsd. "ATH_BUILDING_FROM_SOURCE" can be defined to
globally get back -I$S/contrib/dev/ath.
2005-09-11 03:38:18 +00:00
imp
c6e2bab518
Allow one to access the cached values for CMDREG, CACHELNSZ, MINGNT,
...
MAXLAT and LATTIMER.
Improve error message when a bogus RID type is requested for a bar.
2005-09-11 03:22:03 +00:00
obrien
40b586fe58
Don't pollute the entire kernel build with -I$S/contrib/ipfilter.
2005-09-11 02:27:34 +00:00
obrien
52479142b6
Don't pollute the entire kernel build with -I$S/contrib/pf.
2005-09-11 02:04:04 +00:00
obrien
acd336fc16
Don't pollute the entire kernel build with -I$S/contrib/ngatm.
2005-09-11 01:28:05 +00:00
obrien
ec43c1e2cf
Don't pollute the entire kernel build with -I$S/dev/twa.
2005-09-11 00:52:05 +00:00
marcel
8b1d37e93e
Unwind across trap frames. Handles all entry points, except the EPC
...
syscall. This is an entry from userland anyway.
MFC after: 1 week
2005-09-11 00:47:03 +00:00
obrien
197b328733
For HEAD, install a kernel with debug information if DEBUG is a kernel
...
config option. It is too easy to loose the build directory and not have
symbols for kgdb to read.
2005-09-11 00:22:21 +00:00
marcel
63c6575f86
Unwind across trapframes. All kernel entries are handled.
...
MFC after: 1 week
2005-09-10 23:11:54 +00:00
kientzle
9d88c7f7b7
Style issue: Don't include <wchar.h> where it is not actually needed.
...
(wchar_t is defined in stddef.h, and only two files need more than that.)
Portability: Since the wchar requirements are really quite modest,
it's easy to define basic replacements for wcslen, wcscmp, wcscpy,
etc, for use on systems that lack <wchar.h>. In particular, this allows
libarchive to be used on older OpenBSD systems.
2005-09-10 22:58:06 +00:00
grehan
70f9da6719
Comment out ofw_console 'screen' entry and zs tty entries.
...
The OpenFirmware console isn't used on real systems anymore and
I never get to multi-user mode in psim. There are problems with
zs that need to be resolved before these lines can be enabled.
This eliminates disconcerting warnings on boot.
MFC after: 2 days
2005-09-10 22:46:03 +00:00
marcel
1537de4a54
Unwind across trap frames. This adds most of the meat. The sniffer
...
just needs to be taught about all the other entry points and the
unwinder needs to be taught about the frame variation between them.
MFC after: 1 week
2005-09-10 22:03:09 +00:00