Brian Somers
343427d174
Remove this file as it's mostly out of date. Up-to-date info such as
...
the program's origin is already in the man page.
Update requested by: Xavier Venient & Jason McIntyre
2005-09-12 11:20:07 +00:00
Robert Watson
6dd84b0bdc
Only poll the fifo for read events if the fifo is attached to a readable
...
file descriptor. Otherwise, the read end of a fifo might return that it
is writable (which it isn't).
Only poll the fifo for write events if the fifo attached to a writable
file descriptor. Otherwise, the write end of a fifo might return that
it is readable (which it isn't).
In the event that a file is FREAD|FWRITE (which is allowed by POSIX, but
has undefined behavior), we poll for both.
MFC after: 3 days
2005-09-12 10:16:18 +00:00
Robert Watson
845e8e827b
After going to some trouble to identify only the write-related events
...
to poll the write socket for, the fifo polling code proceeded to poll
for the complete set of events. Use 'levents' instead of 'events' as
the argument to poll, and only poll the write socket if there is
interest in write events.
MFC after: 3 days
2005-09-12 10:13:15 +00:00
Robert Watson
ab5182012a
When a writer opens a fifo, wake up the read socket for read, not the
...
write socket.
MFC after: 3 days
2005-09-12 10:07:21 +00:00
Robert Watson
a1b9943657
Add an assertion that fifo_open() doesn't race against other threads
...
while sleeping to allocate fifo state: due to using the vnode lock to
serialize access to a fifo during open, it shouldn't happen (tm).
MFC after: 3 days
2005-09-12 10:06:38 +00:00
Robert Watson
ba9eeb43fe
Rather than reaching into the internals of the UNIX domain socket code
...
by calling uipc_connect2() to connect two socket endpoints to create a
fifo, call soconnect2().
MFC after: 3 days
2005-09-12 10:05:08 +00:00
Robert Watson
baabf9536d
Add fifo_io, a regression test for I/O operations on POSIX fifos. We
...
currently can't pass this regression test due to broken poll() and
select() support for fifos, but past the basic I/O operation tests.
2005-09-12 09:42:29 +00:00
Poul-Henning Kamp
2883ba6668
Introduce vfs_read_dirent() which can help VOP_READDIR() implementations
...
by handling all the cookie stuff.
2005-09-12 08:46:07 +00:00
Poul-Henning Kamp
21806f30bc
Clean up prototypes.
2005-09-12 08:03:15 +00:00
Gleb Smirnoff
fb3eb9dace
Remove ng_callout_init_mtx() macro. Mutexed callouts are incompatible
...
with netgraph(4).
2005-09-12 07:41:31 +00:00
Warner Losh
5c4f7048b8
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
Warner Losh
d78baf42dc
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
David E. O'Brien
09c666c10e
MFamd64: use register_t's.
2005-09-12 03:34:05 +00:00
David E. O'Brien
c679d15b66
Note that Keyspan is also InnoSys Inc.
2005-09-12 03:32:46 +00:00
Tor Egge
6ff5e2db45
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
Tor Egge
2f0ffabcf4
Giant is no longer needed here.
2005-09-12 01:21:42 +00:00
Stefan Farfeleder
f5365e2a65
Add a couple of missing MLINKS.
2005-09-11 20:59:52 +00:00
Alan Cox
ac31d065a6
Eliminate unused definitions.
2005-09-11 20:51:15 +00:00
Matt Jacob
519d7f81e4
Restore the 929X support that got nuked in merge
2005-09-11 19:58:19 +00:00
David E. O'Brien
2a191126de
Canonize the include of acpi.h.
2005-09-11 18:39:03 +00:00
Alexander Leidinger
05be5cd773
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
David E. O'Brien
1aa7b020d7
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
Robert Watson
544cf87d83
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
Alexander Leidinger
df54be7080
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
Stefan Farfeleder
4af29928b4
The arguments for time2posix() and posix2time() are time_t values, not
...
pointers.
2005-09-11 17:09:50 +00:00
Craig Rodrigues
6a3d26b2b7
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
Craig Rodrigues
7b7a19f3c8
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
Craig Rodrigues
b575132598
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
Craig Rodrigues
2a3e0acc5d
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 Konovalov
17793b6ae5
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
Alexander Leidinger
5ad14b759d
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
Alexander Leidinger
70001ecea2
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
Alexander Leidinger
3159d831fc
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
Robert Watson
9c40729fdf
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
Colin Percival
e2d583aca4
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
Poul-Henning Kamp
9fbea3e365
Do not destroy the queue mutex until the thread is done with it.
2005-09-11 12:35:32 +00:00
Max Laier
922e338183
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
Alexander Leidinger
6643b656bb
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
Alexander Leidinger
caad740808
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
Don Lewis
908b3deb2b
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
David E. O'Brien
5385446ad3
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 Moolenaar
dc78598a0f
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 Moolenaar
78af1d5d26
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 Moolenaar
af08e55700
Unwind across intrframes as well.
...
MFC after: 1 week
2005-09-11 05:36:30 +00:00
Warner Losh
6c996a0055
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
David E. O'Brien
d85986ec1c
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
Warner Losh
6de560ab92
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
David E. O'Brien
7014a50853
Don't pollute the entire kernel build with -I$S/contrib/ipfilter.
2005-09-11 02:27:34 +00:00
David E. O'Brien
b186613e42
Don't pollute the entire kernel build with -I$S/contrib/pf.
2005-09-11 02:04:04 +00:00
David E. O'Brien
94caedfbd3
Don't pollute the entire kernel build with -I$S/contrib/ngatm.
2005-09-11 01:28:05 +00:00