jmc [Wed, 21 Jul 2010 19:49:55 +0000 (19:49 +0000)]
fix the barmy exit returns formatting; from daniel dickman
jmc [Wed, 21 Jul 2010 19:47:02 +0000 (19:47 +0000)]
missing argument to Ex; from daniel dickman
jmc [Wed, 21 Jul 2010 19:44:47 +0000 (19:44 +0000)]
more HISTORY; from daniel dickman
jmc [Wed, 21 Jul 2010 19:42:20 +0000 (19:42 +0000)]
more consistent text for our return values; from daniel dickman
deraadt [Wed, 21 Jul 2010 19:42:05 +0000 (19:42 +0000)]
in the acpi GPE handler, late ack level interrupts not edge interrupts.
Duh.
deraadt [Wed, 21 Jul 2010 19:35:15 +0000 (19:35 +0000)]
spacing and indents that are driving me crazy
nicm [Wed, 21 Jul 2010 18:48:01 +0000 (18:48 +0000)]
ptm needs no read/write, just use enodev.
ok deraadt
deraadt [Wed, 21 Jul 2010 18:43:59 +0000 (18:43 +0000)]
No need for read/write functions, just use enodev like all the other
things things do
ok nicm
martinh [Wed, 21 Jul 2010 17:32:12 +0000 (17:32 +0000)]
Search filter BER tags use a context-specific class, not an application
class. This allows ypldap to talk to ldapd, which otherwise refuses the
search filter.
ok gilles@
steven [Wed, 21 Jul 2010 17:31:51 +0000 (17:31 +0000)]
document fortran module
steven [Wed, 21 Jul 2010 17:07:27 +0000 (17:07 +0000)]
reverse logic in previous
steven [Wed, 21 Jul 2010 17:01:17 +0000 (17:01 +0000)]
update gcc3 and gcc4 modules with COMPILER_VERSION instead of USE_GCC[34]
deraadt [Wed, 21 Jul 2010 15:40:04 +0000 (15:40 +0000)]
Fix more cdev initializations which were using enodev for poll; ok kettenis
deraadt [Wed, 21 Jul 2010 15:07:40 +0000 (15:07 +0000)]
clean up a pile of prototypes and shred some macros which were just covering
for ones everyone knows better
deraadt [Wed, 21 Jul 2010 15:01:52 +0000 (15:01 +0000)]
Merge the edge and level gpe handlers into one (now possible since the
gpe structure tells us whether the gpe is edge or level)
gilles [Wed, 21 Jul 2010 14:45:59 +0000 (14:45 +0000)]
fix NULL-deref, ok martinh@
kettenis [Wed, 21 Jul 2010 14:08:09 +0000 (14:08 +0000)]
Make sure that the FPU IPIs shoot down the right FPU context and not the FPU
context of some random process that happened to be switched onto the FPU
after the decision was made to send the IPI.
kettenis [Wed, 21 Jul 2010 14:01:58 +0000 (14:01 +0000)]
Add suspend/unsuspend logic.
ok damien@, deraadt@
jakemsr [Wed, 21 Jul 2010 10:16:07 +0000 (10:16 +0000)]
add a couple quirks for the E-MU 0202
* the clock rate is configured through the audio interface, instead
of on the endpoint.
* since the clock rate is set on the interface, both play and
record must use the same sample rate. this means the playback
and recording parameters are not independent, which is what uaudio
assumes.
ray [Wed, 21 Jul 2010 09:22:17 +0000 (09:22 +0000)]
Only use username if author is NULL. Fixes "ci -wusername" when run
as root.
OK nicm
mlarkin [Wed, 21 Jul 2010 07:50:20 +0000 (07:50 +0000)]
Repost ATI FireGL M24 using the emulator. This card is seen on some IBM
Thinkpad T43p models (and likely others).
ratchov [Wed, 21 Jul 2010 07:49:48 +0000 (07:49 +0000)]
remove duplicate AP192K_GPIO_XXX macros,
from Alexandr Shadchin, thanks!
dlg [Wed, 21 Jul 2010 07:13:06 +0000 (07:13 +0000)]
disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.
suggested by deraadt@
ratchov [Wed, 21 Jul 2010 07:11:55 +0000 (07:11 +0000)]
make ENVY_GPIO_XXX macros card specific, add stub for audiophile 192k
martinh [Wed, 21 Jul 2010 06:32:14 +0000 (06:32 +0000)]
Add a history section saying that ldapd/ldapctl first appeared in 4.8.
jakemsr [Wed, 21 Jul 2010 05:57:19 +0000 (05:57 +0000)]
* check that the bytes per frame the device is reporting isn't a
ridiculous value.
* encoding expansion factor is always 1.
jakemsr [Wed, 21 Jul 2010 05:54:42 +0000 (05:54 +0000)]
move use_maxpkt out of struct chan, use a local variable in the
only function that was using it.
lum [Wed, 21 Jul 2010 05:29:57 +0000 (05:29 +0000)]
Remove reference to non-existent behaviour.
ok canacar@
jakemsr [Wed, 21 Jul 2010 05:04:57 +0000 (05:04 +0000)]
some bits for USB 2.0 playback support. I'm not 100% sure about
scaling the frame rate to the polling interval, but it works on
the E-MU 0202 and it generally makes a lot of sense, especially
considering that this often brings the frames rate back to 1 kHz,
which is the frame rate of USB 1.x, which was the most current
USB spec when USB audio 1.0 spec was written.
deraadt [Wed, 21 Jul 2010 05:03:19 +0000 (05:03 +0000)]
delete #if 0 code we are not going to use; ok marco
deraadt [Wed, 21 Jul 2010 04:49:25 +0000 (04:49 +0000)]
sync
jakemsr [Wed, 21 Jul 2010 03:06:35 +0000 (03:06 +0000)]
currently we use the endpoint's maximum packet size for recording,
and for playback, we use a packet size that is at least one audio
frame smaller.
in most usb audio devices, the sample clock is synced to the usb
clock. this means that for sample rates that aren't multiples of
1000, we'll occasionally need to add a frame to adjust the overall
rate. that's why we use the smaller packet size.
also, the usb audio spec defines a way for devices to request
to always use the maximum packet size.
so,
* add a max_bytes_per_frame, which is the largest packet size
the channel will use. use that instead of calculating what
the maximum we will use is in a couple places. generally makes
things easier to understand.
* respect a device's request to always use maximum packet size.
todd [Wed, 21 Jul 2010 02:17:15 +0000 (02:17 +0000)]
remove gratuitous carriage return that snuck in
ok dlg@
djm [Wed, 21 Jul 2010 02:10:58 +0000 (02:10 +0000)]
sync timingsafe_bcmp() with the one dempsky@ committed to sys/lib/libkern
matthew [Wed, 21 Jul 2010 02:04:41 +0000 (02:04 +0000)]
Garbage collect ata_bio's badsect field.
ok deraadt@
jakemsr [Tue, 20 Jul 2010 23:46:11 +0000 (23:46 +0000)]
support 24-bit encodings. simplify the way supported encodings are
handled by storing an array of supported encodings.
NOTE: this also removes all conversions from this driver. in
particular, uaudio no longer supports 16-bit big endian encodings,
because the USB audio specification only supports little endian
encodings.
ok ratchov
deraadt [Tue, 20 Jul 2010 21:37:33 +0000 (21:37 +0000)]
make the mask code for acpi_enable_onegpe() match other similar code
miod [Tue, 20 Jul 2010 20:47:13 +0000 (20:47 +0000)]
opration -> operation
mk [Tue, 20 Jul 2010 20:46:18 +0000 (20:46 +0000)]
Use an SLIST rather than a TAILQ for the ccb free list.
ok krw
mk [Tue, 20 Jul 2010 20:43:27 +0000 (20:43 +0000)]
Make this compile again (was broken in rev 1.24 as far as I can tell),
even though we don't actually compile it in any configurations.
ok krw
deraadt [Tue, 20 Jul 2010 20:21:02 +0000 (20:21 +0000)]
print the temperature readings that make us go down; ok kettenis
lum [Tue, 20 Jul 2010 19:43:19 +0000 (19:43 +0000)]
Remove setresguid since it is no longer needed.
ok matthew@ millert@ deraadt@
schwarze [Tue, 20 Jul 2010 19:30:18 +0000 (19:30 +0000)]
disconnect groff_man(7) from the build and install man(7) instead;
"fine" jmc@ "no worries" deraadt@ "looks good" J.C. Roberts
damien [Tue, 20 Jul 2010 19:24:31 +0000 (19:24 +0000)]
do not timeout when stopping DMA channels.
from a similar fix to iwlwifi
deraadt [Tue, 20 Jul 2010 16:28:22 +0000 (16:28 +0000)]
two iterators should be u_int; ok jsg
matthew [Tue, 20 Jul 2010 15:36:03 +0000 (15:36 +0000)]
Switch some obvious network stack MAC comparisons from bcmp() to
timingsafe_bcmp().
ok deraadt@; committed over WPA.
matthew [Tue, 20 Jul 2010 15:28:43 +0000 (15:28 +0000)]
Add OpenSSH's timingsafe_bcmp() to libkern.
ok djm@, deraadt@
jmc [Tue, 20 Jul 2010 12:53:43 +0000 (12:53 +0000)]
daniel dickman has folded the relevant bits of the files being removed
into yacc.1 - thanks!
ok millert deraadt
deraadt [Tue, 20 Jul 2010 12:23:00 +0000 (12:23 +0000)]
also use bufq_quiesce() when suspending, and bufq_restart() when resuming,
which will result in more stable filesystems during suspend
ok kettenis
deraadt [Tue, 20 Jul 2010 12:15:24 +0000 (12:15 +0000)]
removed an unused proto
deraadt [Tue, 20 Jul 2010 12:14:10 +0000 (12:14 +0000)]
Handle the acpi interrupt controller with proper edge/level handling,
wrapped in spltty to avoid racing against the interrupt controller.
Repair the gpe bit masking code while there, and do operations in the
right order
ok kettenis mlarkin, help from jordan at figuring out the order of
operations.
deraadt [Tue, 20 Jul 2010 12:12:19 +0000 (12:12 +0000)]
tsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum
delays. tsleep() on an unknown wait channel, to ensure the minimum is
met, and that wakeup()'s don't make the delay get restarted over and
over..
ok kettenis mlarkin
deraadt [Tue, 20 Jul 2010 12:10:51 +0000 (12:10 +0000)]
In acpiec_wait() we want to tsleep on an un-known channel, so that
we don't get woken up early by a wakeup()
ok kettenis; deeply tested on many machines by mlarkin
matthew [Tue, 20 Jul 2010 09:06:38 +0000 (09:06 +0000)]
Mark a DMA accessible malloc for later correction. This is
potentially up to 64KB, so we'll need something fancier than
dma_alloc().
deraadt [Tue, 20 Jul 2010 05:57:29 +0000 (05:57 +0000)]
sync
deraadt [Tue, 20 Jul 2010 05:49:53 +0000 (05:49 +0000)]
remove prototypes for functions that do not exist; ok jordan
ajacoutot [Tue, 20 Jul 2010 05:35:29 +0000 (05:35 +0000)]
Instead of checking for the *etcXX.tgz filename, check whether the
tarball contains ./var/db/sysmerge/etcsum or ./var/db/sysmerge/xetcsum.
First, it's more correct and second it allows people to rename the sets
without sysmerge bailing out.
feature requested and tested by oga@
claudio [Tue, 20 Jul 2010 05:26:06 +0000 (05:26 +0000)]
Another hand rolled offsetof(), replace with mask2prefixlen from kroute.c
which was copied from bgpd. Found by deraadt@
mlarkin [Tue, 20 Jul 2010 05:18:22 +0000 (05:18 +0000)]
VGA repost for ATI Radeon X1250IGP (as found on Gateway netbooks and
others). Repost via emulator or real mode code, either one works. Used the
emulator to keep it consistent with other Radeon devices already listed.
matthew [Tue, 20 Jul 2010 04:04:00 +0000 (04:04 +0000)]
When we're preparing to go to sleep, only call bufq_restart() if other
preparations failed.
ok kettenis@, thib@, deraadt@
deraadt [Tue, 20 Jul 2010 02:13:10 +0000 (02:13 +0000)]
exp2() is a function in libm, so rename the csh one..
deraadt [Tue, 20 Jul 2010 02:08:15 +0000 (02:08 +0000)]
delete unused variable
deraadt [Tue, 20 Jul 2010 02:05:15 +0000 (02:05 +0000)]
do not use gcc -W options which you do not understand
deraadt [Tue, 20 Jul 2010 01:06:54 +0000 (01:06 +0000)]
Do not put a data buffer on the stack. It will be dma'd to. Use
malloc() for now, but mark it is dma reachable, and we will pick it up
on the sweep in a while
ok matthew
deraadt [Tue, 20 Jul 2010 00:16:39 +0000 (00:16 +0000)]
typo; martin.pelikan@gmail.com
deraadt [Tue, 20 Jul 2010 00:15:20 +0000 (00:15 +0000)]
sub-function needs const, too
deraadt [Mon, 19 Jul 2010 23:44:09 +0000 (23:44 +0000)]
just use a buffer and make onewire_crc16() operate like onewire_crc()
from j0@cox.net (author of owctr)
schwarze [Mon, 19 Jul 2010 23:06:29 +0000 (23:06 +0000)]
merge from bsd.lv (minor improvements by kristaps@)
* remove \s documentation, we do not support it and don't plan to
* note that we parse and ignore \m, \M, and \s escapes
* fix two broken instances of \*q
* we do not use empty macro lines before .SH headers
guenther [Mon, 19 Jul 2010 23:00:15 +0000 (23:00 +0000)]
Rollback the allproclk and fileheadlk addition. When grabbing an
rwlock, the thread will release biglock if it sleeps, means that
atomicity from before the rw_enter() to after it is not guaranteed.
The change didn't address those, so pulling it until it does.
"go for it" tedu@
schwarze [Mon, 19 Jul 2010 22:34:29 +0000 (22:34 +0000)]
* briefly mention the HISTORY of the man(7) language
* update the copyright notice
* improve the wording in a few places
* fix a couple of typos
including two suggestions from J.C. Roberts
feedback and ok jmc@, ok sobrado@ and kristaps@
espie [Mon, 19 Jul 2010 21:43:17 +0000 (21:43 +0000)]
document new. hints from jmc@
kettenis [Mon, 19 Jul 2010 21:39:15 +0000 (21:39 +0000)]
Avoid interleaving of mutexes that would leave is with the wrong spl after
calling bufq_quiesce(). Problem spotted by matthew@.
ok matthew@, thib@
schwarze [Mon, 19 Jul 2010 21:29:36 +0000 (21:29 +0000)]
J. C. Roberts noted that Kristaps' man.7 is already better than the
old groff_man.7 we currently install. As a first step, move the new
manual where it belongs, not changing any content except the OpenBSD
marker. The plan is, after some polishing, to install man.7 and not
install groff_man.7 any longer.
jmc@, sobrado@ and kristaps@ agree
deraadt [Mon, 19 Jul 2010 21:13:43 +0000 (21:13 +0000)]
Not enough OK's, and from the wrong people. You should know how to do
collaborative development by now, Owain
nicm [Mon, 19 Jul 2010 21:13:03 +0000 (21:13 +0000)]
Don't return if in the current window since we may want to report a bell
(if bell-action any/current), just clear the flag so the status line
doesn't show the bell.
oga [Mon, 19 Jul 2010 20:58:21 +0000 (20:58 +0000)]
Replace XXXLOCKING comments by me (replacing simple_locks that are the
same thing) with mutexes.
From Gabriel Kihlman (gk AT stacken DOT kth DOT se); thanks!
ok art@ ages ago.
damien [Mon, 19 Jul 2010 19:47:52 +0000 (19:47 +0000)]
store the WCID in the rt2860_node structure at association time
and use this later instead of converting ni_associd into WCID each
time we need it.
espie [Mon, 19 Jul 2010 19:46:43 +0000 (19:46 +0000)]
Correct $OpenBSD$ stuff
espie [Mon, 19 Jul 2010 19:30:37 +0000 (19:30 +0000)]
two small changes:
- allow variables in SysV modifiers, as requested by matthieu@
(since recursive variables are an extension, this just extends the
extension)
- variation on :Q called :QL (quote list), which does quote every character
EXCEPT for whitespace. e.g.,
toto:
@for i in ${VAR:QL} ...
damien [Mon, 19 Jul 2010 19:22:46 +0000 (19:22 +0000)]
implement the ic_ampdu_rx_{start,stop} callbacks (not used yet).
damien [Mon, 19 Jul 2010 19:08:28 +0000 (19:08 +0000)]
in hostap mode, when a STA leaves the BSS, clear its entry in the
hardware RX WCID search table.
otherwise, if the same STA reassociates later with a different id,
we would have two entries for the same MAC in the table, leading
to problems with key lookups etc...
big thanks to Nathanael Rensen who found the issue.
lum [Mon, 19 Jul 2010 18:57:32 +0000 (18:57 +0000)]
Add prototype and remove unnecessary includes.
ok canacar@
damien [Mon, 19 Jul 2010 18:53:52 +0000 (18:53 +0000)]
in hostap mode, notify drivers via a new callback when a STA leaves
the BSS. this is needed by drivers that need to maintain a hardware
table of associated STAs (like ral(4) RT2860).
idea from Nathanael Rensen
nicm [Mon, 19 Jul 2010 18:27:38 +0000 (18:27 +0000)]
Send the \n to stdout with the message, not stderr... doh.
kettenis [Mon, 19 Jul 2010 17:32:18 +0000 (17:32 +0000)]
Fix handling of hidden symbols on hppa. Patch from upstream (Alan Modra).
ok miod@, tested by landry@
deraadt [Mon, 19 Jul 2010 16:58:12 +0000 (16:58 +0000)]
permit compilation with ACPI_DEBUG
deraadt [Mon, 19 Jul 2010 16:57:27 +0000 (16:57 +0000)]
there is no need for a seperate dsdt_softc pointer; dsdt does not have a
softc but is just a part of the single acpi driver.
ok jordan
deraadt [Mon, 19 Jul 2010 16:40:14 +0000 (16:40 +0000)]
acpi_delay() is no longer needed; ok jordan
maja [Mon, 19 Jul 2010 16:03:39 +0000 (16:03 +0000)]
Another name for an already supported device. -moj
maja [Mon, 19 Jul 2010 15:59:11 +0000 (15:59 +0000)]
Lilliput UM-70 uses the newer DL1x5 chipset. -moj
millert [Mon, 19 Jul 2010 12:48:23 +0000 (12:48 +0000)]
Add barebones manual pages for cimag(3), conj(3) and cproj(3)
OK kettenis@ jmc@
jmc [Mon, 19 Jul 2010 10:01:32 +0000 (10:01 +0000)]
remove non-standard section header; from Daniel Dickman
claudio [Mon, 19 Jul 2010 09:16:30 +0000 (09:16 +0000)]
When removing an announced prefix inherit the metric and ext_tag from the
LSA that is currently in the tree. Pruning with default metrics is bad
since the checksum of the LSA is different and therefor an additional
update cycle is needed to convince the other systems.
OK bluhm@, sthen@
djm [Mon, 19 Jul 2010 09:15:12 +0000 (09:15 +0000)]
add a "ControlPersist" option that automatically starts a background
ssh(1) multiplex master when connecting. This connection can stay alive
indefinitely, or can be set to automatically close after a user-specified
duration of inactivity. bz#1330 - patch by dwmw2 AT infradead.org, but
further hacked on by wmertens AT cisco.com, apb AT cequrux.com,
martin-mindrot-bugzilla AT earth.li and myself; "looks ok" markus@
claudio [Mon, 19 Jul 2010 09:11:08 +0000 (09:11 +0000)]
lsa_refresh() was able to resurect dead LSA resulting in zombie anouncements.
Make sure that if the LSA is managed by this router that we force timed-out
LSA to stay timed out which causes them to be pruned in the secound round.
This problem can show up when not exactly the same LSA is pruned because
the checksum is used as tiebreaker resulting in indeterministic selection
of which LSA is considered newer.
OK bluhm@, sthen@
mglocker [Mon, 19 Jul 2010 08:59:38 +0000 (08:59 +0000)]
Document the recently introduced select(2) / poll(2) support for video(4).
jakemsr [Mon, 19 Jul 2010 07:57:36 +0000 (07:57 +0000)]
* don't round blocksize to multiples of 16; can cause problems when
sample size or number of channels is not a power of 2.
* use 'param->bps' instead of 'param->precision / NBBY' for the number
of bytes per sample.
ok ratchov
jmc [Mon, 19 Jul 2010 07:54:12 +0000 (07:54 +0000)]
remove Xr to self; from Daniel Dickman
jakemsr [Mon, 19 Jul 2010 05:50:37 +0000 (05:50 +0000)]
add a quirk to allow attaching devices which claim to have a vendor
defined interface class, but are audio class compliant enough to
be supported by this driver.
the E-MU 0202 USB is such a device. this gets it attaching, but
needs some forthcoming commits to make it usable.
jakemsr [Mon, 19 Jul 2010 05:18:52 +0000 (05:18 +0000)]
sync