openbsd
14 years agoCreate video1 by default. Can be useful e.g. on many laptops with
mglocker [Fri, 23 Jul 2010 14:35:56 +0000 (14:35 +0000)]
Create video1 by default.  Can be useful e.g. on many laptops with
integrated cams where you want to use an external cam.  Suggested by Brad.

OK todd@, jakemsr@

14 years agoMake sure the u area of new processes is zero-filled; this got lost in
miod [Fri, 23 Jul 2010 14:19:02 +0000 (14:19 +0000)]
Make sure the u area of new processes is zero-filled; this got lost in
1.119.

14 years agosupport for playback sync endpoints
jakemsr [Fri, 23 Jul 2010 12:17:48 +0000 (12:17 +0000)]
support for playback sync endpoints

sync endpoints allow for the sample clock on USB audio devices to not
be synchronized to the USB clock.  the sync endpoint gives information
on how much data to send to the data endpoint.  although devices that
require sync endpoints will "work" when the sync endpoint inormation
is ignored, there is a possibility of static, echoing, or any other
type of clock desync error.

requires some small changes to existing code:
* tighten up checks for whether a setting needs/supplies a sync
endpoint.  ignore settings that need a sync endpoint but don't
supply one.  previously all settings that require a sync endpoint
were ignored.
* if a sync endpoint is being used, use the same denominator for
fractional samples as the sync endpoint uses (2**16).

this only implements playback sync endpoints.  recording sync
endpoints are an odd concept: the driver would control the clock
rate of the device.  there may be such devices, but I can't even
imagine how that could be reliably implemented.  I guess you would
sync to the USB clock or the system clock ... but then, what's the
point?

14 years agoANSI/style(9), no binary change
jakemsr [Fri, 23 Jul 2010 11:47:50 +0000 (11:47 +0000)]
ANSI/style(9), no binary change

14 years agomatthew@ noted a possible misuse of the rwlock used to protect vscsi
dlg [Fri, 23 Jul 2010 09:41:16 +0000 (09:41 +0000)]
matthew@ noted a possible misuse of the rwlock used to protect vscsi
from being opened by multiple processes at the same time. then he
pointed out that pool_get can sleep in the middle of scsi_cmd,
during which time the process processing the vscsi requests can go
away.

this uses a state variable to protect vscsi from multiple opens
which is checked by all the process and scsi midlayer entrypoints.
it avoids a potential sleep in the middle of the scsi_cmd handler
by moving to iopools.

lots of tweaks and feedback by matthew@

14 years agoSync with cvs:
ray [Fri, 23 Jul 2010 09:14:58 +0000 (09:14 +0000)]
Sync with cvs:
Clean up struct tm handling. Instead of calling gmtime/localtime
and making copies (among other weird dances), use reentrant versions.

Not being able to tell the time is a fatal error, so die if that
happens.

Diff originally from nicm.

OK nicm xsa

14 years agoClean up struct tm handling. Instead of calling gmtime/localtime
ray [Fri, 23 Jul 2010 09:11:10 +0000 (09:11 +0000)]
Clean up struct tm handling. Instead of calling gmtime/localtime
and making copies (among other weird dances), use reentrant versions.

Not being able to tell the time is a fatal error, so die if that
happens.

Diff originally from nicm.

OK nicm xsa

14 years agoCiphers is documented in ssh_config(5) these days
dtucker [Fri, 23 Jul 2010 08:49:25 +0000 (08:49 +0000)]
Ciphers is documented in ssh_config(5) these days

14 years agoRename a bunch of variables and functions, removing the cvs_/rcs_
ray [Fri, 23 Jul 2010 08:31:19 +0000 (08:31 +0000)]
Rename a bunch of variables and functions, removing the cvs_/rcs_
prefixes to reduce differences between cvs and rcs files.

"yes!" nicm

14 years agoregen
mlarkin [Fri, 23 Jul 2010 08:21:12 +0000 (08:21 +0000)]
regen

14 years agoSIS 86C202 is not a VGA device, it's an AGP bridge. Use a better
mlarkin [Fri, 23 Jul 2010 08:19:52 +0000 (08:19 +0000)]
SIS 86C202 is not a VGA device, it's an AGP bridge. Use a better
description for this device.

ok kettenis@

14 years agoManuel Bouyer rescinded clauses 3 and 4 of his license text.
jsg [Fri, 23 Jul 2010 07:47:12 +0000 (07:47 +0000)]
Manuel Bouyer rescinded clauses 3 and 4 of his license text.

14 years agoOmit more IPI code from non-MP kernels. Found using --gc-sections.
matthew [Fri, 23 Jul 2010 07:21:02 +0000 (07:21 +0000)]
Omit more IPI code from non-MP kernels.  Found using --gc-sections.

ok deraadt@

14 years agoAdd suspend/resume logic.
phessler [Fri, 23 Jul 2010 06:43:00 +0000 (06:43 +0000)]
Add suspend/resume logic.

based heavily on the wpi change by kettenis@

OK deraadt@, kettenis@, damien@

14 years agoPermit a few more syscalls for named to run.
ray [Fri, 23 Jul 2010 03:13:51 +0000 (03:13 +0000)]
Permit a few more syscalls for named to run.

OK deraadt

14 years agoFor suspend/reume, ATI IXP chips (might) need 0x40-0x56 saved.. but
deraadt [Fri, 23 Jul 2010 02:50:04 +0000 (02:50 +0000)]
For suspend/reume, ATI IXP chips (might) need 0x40-0x56 saved.. but
these the 6 registers already saved

14 years agoansi. no binary change
jsg [Thu, 22 Jul 2010 21:52:17 +0000 (21:52 +0000)]
ansi. no binary change

14 years agoGive the drive a little bit more time to complete the STANDBY IMMED command.
kettenis [Thu, 22 Jul 2010 21:40:46 +0000 (21:40 +0000)]
Give the drive a little bit more time to complete the STANDBY IMMED command.
The ATA spec seems to suggest it may take up to 30s.  This seems a little bit
long.  To quote Theo: "by that time some drives have probably parked their own
heads in boredom".  But it shouldn't hurt unless your drive is seriously
broken.  Makes some laptops suspend much better.

ok deraadt@

14 years agoFix a crash: if remain-on-exit is set and the pane has exited, the
nicm [Thu, 22 Jul 2010 21:10:51 +0000 (21:10 +0000)]
Fix a crash: if remain-on-exit is set and the pane has exited, the
buffers may not be valid, so do not try to disable/enable them when
switching to copy mode.

14 years agogetopt_long.c replaced getopt.c 6+ years ago; we can retire
blambert [Thu, 22 Jul 2010 19:31:53 +0000 (19:31 +0000)]
getopt_long.c replaced getopt.c 6+ years ago; we can retire
the REPLACE_GETOPT macro, at long last

ok millert@

14 years agoWhen suspending, save & restore as many registers as we can from the
deraadt [Thu, 22 Jul 2010 18:11:16 +0000 (18:11 +0000)]
When suspending, save & restore as many registers as we can from the
pciide front-ends chips.  More registers will have to added here, chip
by chip (warning messages about unknown chipsets, on resume, mean that
you should talk to me).  Also call the wdc back-end (our child) to have
it reset the controller properly on resume.  This makes all pciide that
we've tested unsuspend.
ok kettenis mlarkin

14 years agoFirst part of better pciide resume. Wake the channel by performing two
mlarkin [Thu, 22 Jul 2010 18:10:37 +0000 (18:10 +0000)]
First part of better pciide resume. Wake the channel by performing two
resets separated by a small delay (a delay intended to offend jsg who will
definitely want to fix it by checking for RDY instead)

Tested on a variety of amd and i386 hardware by myself and deraadt@

ok deraadt

14 years agoFix the "no changes" detection when a file has RCS keywords.
millert [Thu, 22 Jul 2010 17:49:18 +0000 (17:49 +0000)]
Fix the "no changes" detection when a file has RCS keywords.
This is consistent with GNU RCS.  Also g/c an unused variable.
OK xsa@ nicm@

14 years agoRemove the VM_KMPAGESFREE sysctl. After the pmemrange
thib [Thu, 22 Jul 2010 17:31:39 +0000 (17:31 +0000)]
Remove the VM_KMPAGESFREE sysctl. After the pmemrange
changes it was returing a constant 0, changing to cope
with those changes makes less sense then just removing
as it provides the user with no usefull information.

sthen@ grepped the port's tree for me and found not hits,
thanks!

OK deraadt@, matthew@

14 years agoDon't deref a NULL pointer if tap or tag are not specified in the
jsg [Thu, 22 Jul 2010 17:16:45 +0000 (17:16 +0000)]
Don't deref a NULL pointer if tap or tag are not specified in the
config file.

14 years agoClean the macros from puc(4). Now with correct logic.
pirofti [Thu, 22 Jul 2010 17:16:10 +0000 (17:16 +0000)]
Clean the macros from puc(4). Now with correct logic.

Tested and okay sthen@.

14 years agoFix a few more scsi_scsi_cmd() removal regressions, caught by
matthew [Thu, 22 Jul 2010 15:59:46 +0000 (15:59 +0000)]
Fix a few more scsi_scsi_cmd() removal regressions, caught by
-Wuninitialized.

Silly typo in my first diff noticed by oga@ and krw@; ok krw@

14 years agoAdd suspend/resume logic. As discussed with phessler@, incorporating
kettenis [Thu, 22 Jul 2010 14:42:43 +0000 (14:42 +0000)]
Add suspend/resume logic.  As discussed with phessler@, incorporating
suggestions by damien@.

14 years agoInstead of trying to biowait on a buf that has errored, do the
thib [Thu, 22 Jul 2010 14:34:06 +0000 (14:34 +0000)]
Instead of trying to biowait on a buf that has errored, do the
right thing, throw it away by marking it as B_INVAL and setting
the B_ERROR flag and b_error to the errno that was returned.

B_RAW doesn't matter there.

Issue report my mlarkin@, this diff tested and confirmed to
fix the issue by mlarkin also, thanks!

OK krw@, beck@, deraadt@

14 years agoReset the keyboard controller on resume, and also alert the children
deraadt [Thu, 22 Jul 2010 14:27:44 +0000 (14:27 +0000)]
Reset the keyboard controller on resume, and also alert the children
(pckbd and pms) to do their part
started by mlarkin, cleaned up by me
ok miod

14 years agoDon't do anything on suspend/resume for now (there is a diff brewing,
deraadt [Thu, 22 Jul 2010 14:26:38 +0000 (14:26 +0000)]
Don't do anything on suspend/resume for now (there is a diff brewing,
but it has some problems still..)

14 years agoToggle the mouse through the disabled and enabled states when suspending
deraadt [Thu, 22 Jul 2010 14:25:41 +0000 (14:25 +0000)]
Toggle the mouse through the disabled and enabled states when suspending
and restoring.  Fixes most mice.

14 years agopretty large cleanup of SMALL_KERNEL
deraadt [Thu, 22 Jul 2010 14:19:47 +0000 (14:19 +0000)]
pretty large cleanup of SMALL_KERNEL

14 years agoRemove unused function prototypes
jordan [Thu, 22 Jul 2010 13:46:42 +0000 (13:46 +0000)]
Remove unused function prototypes
Add flags and type codes for AML resources

14 years ago- Fix wrong ioctl structure documentation for VIDIOC_QUERYBUF, VIDIOC_QBUF,
mglocker [Thu, 22 Jul 2010 13:32:24 +0000 (13:32 +0000)]
- Fix wrong ioctl structure documentation for VIDIOC_QUERYBUF, VIDIOC_QBUF,
and VIDIOC_DQBUF.
- Also document the VIDIOC_QUERYBUF part for the MMAP interface.

14 years agoFixes for AES CTR mode from mikeb:
thib [Thu, 22 Jul 2010 12:47:40 +0000 (12:47 +0000)]
Fixes for AES CTR mode from mikeb:

o Fix up counter increment for buffers larger then 64 bytes, by
  calling the increment routine before loading the IV into the
  encryption routine input register.

o In aesni_encdec() regenerate the IV for every new request.

Also use nice defines instead of magic constants for the size
of ses_iv.

14 years agoLet systat -N states resolve network addresses
giovanni [Thu, 22 Jul 2010 12:33:29 +0000 (12:33 +0000)]
Let systat -N states resolve network addresses
help and ok sthen@ lum@
ok canacar@

14 years agoReplace strncat() with strlcat().
mglocker [Thu, 22 Jul 2010 11:58:03 +0000 (11:58 +0000)]
Replace strncat() with strlcat().

14 years agoChange include ordering.
mglocker [Thu, 22 Jul 2010 11:55:26 +0000 (11:55 +0000)]
Change include ordering.

14 years agoInitial regression test program for video(4).
mglocker [Thu, 22 Jul 2010 11:53:24 +0000 (11:53 +0000)]
Initial regression test program for video(4).

14 years agoAdd a comment about MODPY_BUILDDEP and NO_BUILD in the python section.
ajacoutot [Thu, 22 Jul 2010 10:42:37 +0000 (10:42 +0000)]
Add a comment about MODPY_BUILDDEP and NO_BUILD in the python section.

14 years agoAs per OpenCVS, general usage in coversation and apparently newer
jsg [Thu, 22 Jul 2010 10:31:10 +0000 (10:31 +0000)]
As per OpenCVS, general usage in coversation and apparently newer
upstream versions of this code, add blame as an alias for annotate.

ok henning@ fgsch@ deraadt@ thib@ krw@

14 years agoPrevent a process from entering wpi_ioctl while another process is
kettenis [Thu, 22 Jul 2010 10:22:37 +0000 (10:22 +0000)]
Prevent a process from entering wpi_ioctl while another process is
tsleep'ing (for example waiting for the firmware to become alive)
in iwn_init.

ok damien@

14 years agovarious macro cleanup;
jmc [Thu, 22 Jul 2010 10:21:52 +0000 (10:21 +0000)]
various macro cleanup;

14 years agoWhen suspending, only call athn_stop() when IFF_RUNNING is set.
kettenis [Thu, 22 Jul 2010 10:19:37 +0000 (10:19 +0000)]
When suspending, only call athn_stop() when IFF_RUNNING is set.

ok damien@

14 years agoremove some groff \s escapes, which we do not support;
jmc [Thu, 22 Jul 2010 08:30:29 +0000 (08:30 +0000)]
remove some groff \s escapes, which we do not support;

14 years agomove exit returns blurb out of DIAGNOSTICS; from daniel dickman
jmc [Thu, 22 Jul 2010 08:09:29 +0000 (08:09 +0000)]
move exit returns blurb out of DIAGNOSTICS; from daniel dickman

14 years agoukc xr should be boot_config;
jmc [Thu, 22 Jul 2010 07:41:59 +0000 (07:41 +0000)]
ukc xr should be boot_config;

14 years agokeep our lists consistent for the exit values blurb; from daniel dickman
jmc [Thu, 22 Jul 2010 07:40:14 +0000 (07:40 +0000)]
keep our lists consistent for the exit values blurb; from daniel dickman

14 years agodocument exit returns; from daniel dickman
jmc [Thu, 22 Jul 2010 07:38:56 +0000 (07:38 +0000)]
document exit returns; from daniel dickman

14 years agoWe have this nice KMEMSTATS option to control when we use kmemstats,
matthew [Thu, 22 Jul 2010 06:30:13 +0000 (06:30 +0000)]
We have this nice KMEMSTATS option to control when we use kmemstats,
so no point in reserving space for kmemstats unless it's enabled.

ok thib@, deraadt@

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