openbsd
14 years agoMark two more DMA accessible malloc(9)s.
matthew [Thu, 22 Jul 2010 05:32:10 +0000 (05:32 +0000)]
Mark two more DMA accessible malloc(9)s.

14 years agoIn st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,
matthew [Thu, 22 Jul 2010 05:26:34 +0000 (05:26 +0000)]
In st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,
set st->media_fileno and st->media_blkno before returning.  Not sure
if this is needed or even really correct, but it's an unintentional
behavior change due to removing scsi_scsi_cmd().

ok dlg@

14 years agoIn scsi_inquire_vpd(), actually just return EJUSTRETURN when dealing
matthew [Thu, 22 Jul 2010 05:21:58 +0000 (05:21 +0000)]
In scsi_inquire_vpd(), actually just return EJUSTRETURN when dealing
with UMASS devices.  Fixes scsi_scsi_cmd() removal regression.

ok dlg@

14 years agostyle(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,
matthew [Thu, 22 Jul 2010 05:21:02 +0000 (05:21 +0000)]
style(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,
which should never happen anyway.  Fixes scsi_scsi_cmd() removal
regression.

ok dlg@

14 years agoIn safte_match(), return 0 on SCSI errors, not an errno value. Fixes
matthew [Thu, 22 Jul 2010 04:59:31 +0000 (04:59 +0000)]
In safte_match(), return 0 on SCSI errors, not an errno value.  Fixes
regression from scsi_scsi_cmd() removal.

ok dlg@

14 years agoAppropriately set SCSI_DATA_IN or SCSI_DATA_OUT depending on type of
matthew [Thu, 22 Jul 2010 04:54:24 +0000 (04:54 +0000)]
Appropriately set SCSI_DATA_IN or SCSI_DATA_OUT depending on type of
dvd_auth command.  Fixes regression from scsi_scsi_cmd() removal.

ok dlg@

14 years agoSCSI HBA drivers are supposed to get their SCSI CDBs from xs->cmd, not
matthew [Thu, 22 Jul 2010 04:40:41 +0000 (04:40 +0000)]
SCSI HBA drivers are supposed to get their SCSI CDBs from xs->cmd, not
xs->cmdstore.

ok krw@ a while back (contingent upon testing), and deraadt@ says this
has been in snapshots for weeks now.

14 years agosync
deraadt [Thu, 22 Jul 2010 00:59:56 +0000 (00:59 +0000)]
sync

14 years agoremove unused variable
deraadt [Thu, 22 Jul 2010 00:41:29 +0000 (00:41 +0000)]
remove unused variable

14 years agoEliminate scsi_scsi_cmd() now that ss(4) is gone and with it the
krw [Thu, 22 Jul 2010 00:31:06 +0000 (00:31 +0000)]
Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it the
last bastardized sync and buf call through scsi_scsi_cmd(). Flatten
code to call scsi_xs_sync() directly for all commands.

Airplane typos shaken out by various.

ok dlg@ matthew@ deraadt@

14 years agoSome ss(4) bits escaped the purge, eliminate them.
nicm [Wed, 21 Jul 2010 23:40:26 +0000 (23:40 +0000)]
Some ss(4) bits escaped the purge, eliminate them.

ok todd krw

14 years agoremove unnecessary ``return 0'' statements,
ratchov [Wed, 21 Jul 2010 23:00:16 +0000 (23:00 +0000)]
remove unnecessary ``return 0'' statements,
from Remco <remco at d-compu.dyndns.org>, thanks!

14 years agoIn the SYNOPSIS, .Nm at the beginning of an input line starts
schwarze [Wed, 21 Jul 2010 21:44:28 +0000 (21:44 +0000)]
In the SYNOPSIS, .Nm at the beginning of an input line starts
an .Nm block, and gets special handling (new line, indentation).
But .Nm in the middle of a line is just a normal in-line element,
so make sure it does NOT get the special handling.
Partly fixes the test(1) SYNOPSIS; indentation after "[" is still
excessive, which is an unrelated and more difficult issue.
Reminded of the problem by jmc@;
OK kristaps@.

14 years agolet mpath build again even though it is disabled
todd [Wed, 21 Jul 2010 21:34:12 +0000 (21:34 +0000)]
let mpath build again even though it is disabled
ok dlg@

14 years agourndis supports the HTC Wildfire just fine. Tested here.
edd [Wed, 21 Jul 2010 21:06:23 +0000 (21:06 +0000)]
urndis supports the HTC Wildfire just fine. Tested here.
OK mk@

14 years agoDisable the heuristics for legacy free systems if pckbc flags are set to 1
miod [Wed, 21 Jul 2010 20:10:14 +0000 (20:10 +0000)]
Disable the heuristics for legacy free systems if pckbc flags are set to 1
in UKC; found the hard way by jakemsr@ on an old Tecra laptop.

14 years agodocument exit values; from daniel dickman
jmc [Wed, 21 Jul 2010 20:02:29 +0000 (20:02 +0000)]
document exit values; from daniel dickman

14 years agodocument exit values; from daniel dickman
jmc [Wed, 21 Jul 2010 19:53:45 +0000 (19:53 +0000)]
document exit values; from daniel dickman

14 years agofix the barmy exit returns formatting; from daniel dickman
jmc [Wed, 21 Jul 2010 19:49:55 +0000 (19:49 +0000)]
fix the barmy exit returns formatting; from daniel dickman

14 years agomissing argument to Ex; from daniel dickman
jmc [Wed, 21 Jul 2010 19:47:02 +0000 (19:47 +0000)]
missing argument to Ex; from daniel dickman

14 years agomore HISTORY; from daniel dickman
jmc [Wed, 21 Jul 2010 19:44:47 +0000 (19:44 +0000)]
more HISTORY; from daniel dickman

14 years agomore consistent text for our return values; 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

14 years agoin the acpi GPE handler, late ack level interrupts not edge interrupts.
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.

14 years agospacing and indents that are driving me crazy
deraadt [Wed, 21 Jul 2010 19:35:15 +0000 (19:35 +0000)]
spacing and indents that are driving me crazy

14 years agoptm needs no read/write, just use enodev.
nicm [Wed, 21 Jul 2010 18:48:01 +0000 (18:48 +0000)]
ptm needs no read/write, just use enodev.

ok deraadt

14 years agoNo need for read/write functions, just use enodev like all the other
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

14 years agoSearch filter BER tags use a context-specific class, not an application
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@

14 years agodocument fortran module
steven [Wed, 21 Jul 2010 17:31:51 +0000 (17:31 +0000)]
document fortran module

14 years agoreverse logic in previous
steven [Wed, 21 Jul 2010 17:07:27 +0000 (17:07 +0000)]
reverse logic in previous

14 years agoupdate gcc3 and gcc4 modules with COMPILER_VERSION instead of USE_GCC[34]
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]

14 years agoFix more cdev initializations which were using enodev for poll; ok kettenis
deraadt [Wed, 21 Jul 2010 15:40:04 +0000 (15:40 +0000)]
Fix more cdev initializations which were using enodev for poll; ok kettenis

14 years agoclean up a pile of prototypes and shred some macros which were just covering
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

14 years agoMerge the edge and level gpe handlers into one (now possible since the
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)

14 years agofix NULL-deref, ok martinh@
gilles [Wed, 21 Jul 2010 14:45:59 +0000 (14:45 +0000)]
fix NULL-deref, ok martinh@

14 years agoMake sure that the FPU IPIs shoot down the right FPU context and not the FPU
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.

14 years agoAdd suspend/unsuspend logic.
kettenis [Wed, 21 Jul 2010 14:01:58 +0000 (14:01 +0000)]
Add suspend/unsuspend logic.

ok damien@, deraadt@

14 years agoadd a couple quirks for the E-MU 0202
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.

14 years agoOnly use username if author is NULL. Fixes "ci -wusername" when run
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

14 years agoRepost ATI FireGL M24 using the emulator. This card is seen on some IBM
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).

14 years agoremove duplicate AP192K_GPIO_XXX macros,
ratchov [Wed, 21 Jul 2010 07:49:48 +0000 (07:49 +0000)]
remove duplicate AP192K_GPIO_XXX macros,
from Alexandr Shadchin, thanks!

14 years agodisable vscsi until we actually have something that uses it (like iscsid),
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@

14 years agomake ENVY_GPIO_XXX macros card specific, add stub for audiophile 192k
ratchov [Wed, 21 Jul 2010 07:11:55 +0000 (07:11 +0000)]
make ENVY_GPIO_XXX macros card specific, add stub for audiophile 192k

14 years agoAdd a history section saying that ldapd/ldapctl first appeared in 4.8.
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.

14 years ago* check that the bytes per frame the device is reporting isn't a
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.

14 years agomove use_maxpkt out of struct chan, use a local variable in the
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.

14 years agoRemove reference to non-existent behaviour.
lum [Wed, 21 Jul 2010 05:29:57 +0000 (05:29 +0000)]
Remove reference to non-existent behaviour.
ok canacar@

14 years agosome bits for USB 2.0 playback support. I'm not 100% sure about
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.

14 years agodelete #if 0 code we are not going to use; ok marco
deraadt [Wed, 21 Jul 2010 05:03:19 +0000 (05:03 +0000)]
delete #if 0 code we are not going to use; ok marco

14 years agosync
deraadt [Wed, 21 Jul 2010 04:49:25 +0000 (04:49 +0000)]
sync

14 years agocurrently we use the endpoint's maximum packet size for recording,
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.

14 years agoremove gratuitous carriage return that snuck in
todd [Wed, 21 Jul 2010 02:17:15 +0000 (02:17 +0000)]
remove gratuitous carriage return that snuck in
ok dlg@

14 years agosync timingsafe_bcmp() with the one dempsky@ committed to sys/lib/libkern
djm [Wed, 21 Jul 2010 02:10:58 +0000 (02:10 +0000)]
sync timingsafe_bcmp() with the one dempsky@ committed to sys/lib/libkern

14 years agoGarbage collect ata_bio's badsect field.
matthew [Wed, 21 Jul 2010 02:04:41 +0000 (02:04 +0000)]
Garbage collect ata_bio's badsect field.

ok deraadt@

14 years agosupport 24-bit encodings. simplify the way supported encodings are
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

14 years agomake the mask code for acpi_enable_onegpe() match other similar code
deraadt [Tue, 20 Jul 2010 21:37:33 +0000 (21:37 +0000)]
make the mask code for acpi_enable_onegpe() match other similar code

14 years agoopration -> operation
miod [Tue, 20 Jul 2010 20:47:13 +0000 (20:47 +0000)]
opration -> operation

14 years agoUse an SLIST rather than a TAILQ for the ccb free list.
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

14 years agoMake this compile again (was broken in rev 1.24 as far as I can tell),
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

14 years agoprint the temperature readings that make us go down; ok kettenis
deraadt [Tue, 20 Jul 2010 20:21:02 +0000 (20:21 +0000)]
print the temperature readings that make us go down; ok kettenis

14 years agoRemove setresguid since it is no longer needed.
lum [Tue, 20 Jul 2010 19:43:19 +0000 (19:43 +0000)]
Remove setresguid since it is no longer needed.
ok matthew@ millert@ deraadt@

14 years agodisconnect groff_man(7) from the build and install man(7) instead;
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

14 years agodo not timeout when stopping DMA channels.
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

14 years agotwo iterators should be u_int; ok jsg
deraadt [Tue, 20 Jul 2010 16:28:22 +0000 (16:28 +0000)]
two iterators should be u_int; ok jsg

14 years agoSwitch some obvious network stack MAC comparisons from bcmp() to
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.

14 years agoAdd OpenSSH's timingsafe_bcmp() to libkern.
matthew [Tue, 20 Jul 2010 15:28:43 +0000 (15:28 +0000)]
Add OpenSSH's timingsafe_bcmp() to libkern.

ok djm@, deraadt@

14 years agodaniel dickman has folded the relevant bits of the files being removed
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

14 years agoalso use bufq_quiesce() when suspending, and bufq_restart() when resuming,
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

14 years agoremoved an unused proto
deraadt [Tue, 20 Jul 2010 12:15:24 +0000 (12:15 +0000)]
removed an unused proto

14 years agoHandle the acpi interrupt controller with proper edge/level handling,
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.

14 years agotsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum
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

14 years agoIn acpiec_wait() we want to tsleep on an un-known channel, so that
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

14 years agoMark a DMA accessible malloc for later correction. This is
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().

14 years agosync
deraadt [Tue, 20 Jul 2010 05:57:29 +0000 (05:57 +0000)]
sync

14 years agoremove prototypes for functions that do not exist; ok jordan
deraadt [Tue, 20 Jul 2010 05:49:53 +0000 (05:49 +0000)]
remove prototypes for functions that do not exist; ok jordan

14 years agoInstead of checking for the *etcXX.tgz filename, check whether the
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@

14 years agoAnother hand rolled offsetof(), replace with mask2prefixlen from kroute.c
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@

14 years agoVGA repost for ATI Radeon X1250IGP (as found on Gateway netbooks and
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.

14 years agoWhen we're preparing to go to sleep, only call bufq_restart() if other
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@

14 years agoexp2() is a function in libm, so rename the csh one..
deraadt [Tue, 20 Jul 2010 02:13:10 +0000 (02:13 +0000)]
exp2() is a function in libm, so rename the csh one..

14 years agodelete unused variable
deraadt [Tue, 20 Jul 2010 02:08:15 +0000 (02:08 +0000)]
delete unused variable

14 years agodo not use gcc -W options which you do not understand
deraadt [Tue, 20 Jul 2010 02:05:15 +0000 (02:05 +0000)]
do not use gcc -W options which you do not understand

14 years agoDo not put a data buffer on the stack. It will be dma'd to. Use
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

14 years agotypo; martin.pelikan@gmail.com
deraadt [Tue, 20 Jul 2010 00:16:39 +0000 (00:16 +0000)]
typo; martin.pelikan@gmail.com

14 years agosub-function needs const, too
deraadt [Tue, 20 Jul 2010 00:15:20 +0000 (00:15 +0000)]
sub-function needs const, too

14 years agojust use a buffer and make onewire_crc16() operate like onewire_crc()
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)

14 years agomerge from bsd.lv (minor improvements by kristaps@)
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

14 years agoRollback the allproclk and fileheadlk addition. When grabbing an
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@

14 years ago* briefly mention the HISTORY of the man(7) language
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@

14 years agodocument new. hints from jmc@
espie [Mon, 19 Jul 2010 21:43:17 +0000 (21:43 +0000)]
document new. hints from jmc@

14 years agoAvoid interleaving of mutexes that would leave is with the wrong spl after
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@

14 years agoJ. C. Roberts noted that Kristaps' man.7 is already better than the
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

14 years agoNot enough OK's, and from the wrong people. You should know how to do
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

14 years agoDon't return if in the current window since we may want to report a bell
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.

14 years agoReplace XXXLOCKING comments by me (replacing simple_locks that are the
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.

14 years agostore the WCID in the rt2860_node structure at association time
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.

14 years agoCorrect $OpenBSD$ stuff
espie [Mon, 19 Jul 2010 19:46:43 +0000 (19:46 +0000)]
Correct $OpenBSD$ stuff

14 years agotwo small changes:
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} ...

14 years agoimplement the ic_ampdu_rx_{start,stop} callbacks (not used yet).
damien [Mon, 19 Jul 2010 19:22:46 +0000 (19:22 +0000)]
implement the ic_ampdu_rx_{start,stop} callbacks (not used yet).

14 years agoin hostap mode, when a STA leaves the BSS, clear its entry in the
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.

14 years agoAdd prototype and remove unnecessary includes.
lum [Mon, 19 Jul 2010 18:57:32 +0000 (18:57 +0000)]
Add prototype and remove unnecessary includes.
ok canacar@