Age | Commit message (Collapse) | Author |
|
zinovik@cs.karelia.ru. Thanks!
|
|
|
|
arch only. okay kettenis@
|
|
|
|
"selector" and "front", so instead create the items that it actually
needs.
This unbreaks the mute button in wscons, and allows setting the volume
in programs like xmms and xine. This is for STAC9200 only - similiar
fixes for other codecs coming soon.
Tested and ok krw@
|
|
valid step, and keep them in sync. This lets audio(4) set exact gain
levels based on the mixer delta, and unbreaks volume up/down buttons
in wscons. This also avoids a divide by zero that could occur if the
generic mixer init found an amplifier with zero steps.
Problem noticed and tested by jmc@, similar diff tested by krw@
|
|
unless the last packet has been processed by the device. Protect RX
routine with splnet(). This changes let me scp with ~575KB/s in 11b for
now.
|
|
|
|
|
|
|
|
|
|
from the interface name, this allows constructs like:
ifconfig vlan15 vlandev smth0
ok reyk@, ``makes sense'' henning@
|
|
|
|
- Use strtonum instead of atoi.
- Improve strtol error checking.
- Change strchr calls to strcspn and eliminating some unused
variables as a result.
OK moritz
|
|
the blocksize matters for the poll() cases because we pass the poll
when reading from the device when there is any data in the record buffer.
since data is transfered into the buffer in blocksize chunks, if there
was no and now is some data in the buffer, there is probably about
blocksize bytes of data in the buffer. if in non-blocking mode, which
is common when using poll(), and we try to read() more bytes than are in
the record buffer, we will receive an EAGAIN. if we read() in
blocksize chunks, we will never try to read more than is available.
a more eloquent version of the above description should be in audio(4).
|
|
$ OPTS="-e 1 -r 22050 -c 1 -b 1024" DO_AUTEST=1 make
|
|
this interface to mixer functionality is very limited, and is only
used for recording. it only recognizes 'mic', 'cd', and 'line' as
valid recording inputs. many devices have other inputs. because of
the way AUDIO_INITINFO works, it is impossible to expand this API to
include all devices.
this fixes another common cause of audioctl(1) problems. AUDIO_GETINFO
returns 0 for record.port when the recording port is something other
than 'mic', 'cd', or 'line', and the subsequent AUDIO_SETINFO would
fail on this.
|
|
and target are identical. When -f is specified, don't delete source.
OK sobrado, feedback from paesco, kettenis, and tedu.
|
|
|
|
a trick to correct the wrong generated rates-element-id in the FW association
mgmt packet. Makes it possible to associate to more AP's.
|
|
|
|
kernel builds locally this doesnt change much but over NFS this
cuts about 12% of the build time on my setup (i386).
OK miod@, deraadt@.
|
|
|
|
ok henning, mbalmer.
|
|
|
|
ok henning@
|
|
needs to be allowed to export that information too. Thus, adjust
sadb_exts_allowed_out[] accordingly.
This fixes isakmpd not being able to get the in-kernel last-used-counters
of SAs, which are needed for DPD.
ok ho@
|
|
Since we don't really know how to change Var_Subst and dependent functions,
we cheat, and copy the string to a buffer instead.
Clean-up the parser a bit: reorganize the include files lookup function:
introduce a resolve_include_filename function that figures out the full name
of the file, introduce a handle_include_file that does all the include file
handling, and rename the functions into handle_xxx_include, so that we
can remove most comments.
Rename ParseIsCond into handle_bsd_command, cut most of its code into
constituent functions.
Semantic changes:
- follow the rules that, if an optional construct does not parse correctly,
then it's not a real extension, and give the normal parser a chance to figure
it out. If the syntax checks out, semantic errors ARE real errors.
- allow variables to not be defined in include file names, no reason not to.
okay miod@
|
|
VAR_GLOBAL context, so make it the common case: rename the basic functions
to Var_Set_with_ctxt/Var_Append_with_ctxt, define Var_Set and Var_Append
as macros that specify VAR_GLOBAL, and use these.
okay miod@
|
|
okay miod@
|
|
Var_Parse and Var_ParseSkip (the code that figures out the variable name
up to eventual modifiers).
okay miod@
|
|
- remove globals curdir and objdir, stuff them into a structure, and pass
it around to the relevant functions.
- cut up most of main code into functions:
figure_out_MACHINE/ARCH, figure_out_CURDIR, setup_CURDIR_OBJDIR, setup_VPATH,
no_fd_limits, read_makefile_list, read_all_make_rules...
- simplify the code used to figure out curdir/objdir.
No semantic changes.
okay miod@
|
|
okay miod@
|
|
state and using it, leading to a simpler loop and less code.
okay miod@
|
|
|
|
|
|
|
|
|
|
|
|
too, so we can make these constants.
|
|
|
|
in addition to paths like /pci@1f,0/ide@d,0/disk@0,0 for machines rooting
off wd(4). This makes the Ultrabook 170/200 find its root disk.
tested by krw@
|
|
from thos that are exclusively accessed using virtual addresses and add
padding between them to make sure they don't share a cache line. Fixes
random crashes on at least PA-8700 and PA-7200 based machines. Without this,
the PA-7200 based C110 wouldn't stay up long enough to do an install.
ok miod@
|
|
ok jmc@
|
|
|
|
ok matthieu
|
|
|
|
ok miod@
|
|
|
|
|