diff options
author | 2007-10-27 03:28:27 +0000 | |
---|---|---|
committer | 2007-10-27 03:28:27 +0000 | |
commit | 231b04425daa907e39274aca01f209ab384a4a7b (patch) | |
tree | 441dbf40e190bb7cbe6764765ab7c330eb3926d7 /sys/dev/audio.c | |
parent | add missing dependency (diff) | |
download | wireguard-openbsd-231b04425daa907e39274aca01f209ab384a4a7b.tar.xz wireguard-openbsd-231b04425daa907e39274aca01f209ab384a4a7b.zip |
the arc fimware can be configured with a password that is used to
restrict changes to its configuration. in our case we want to be
able to disable or enable the alarm. if a password is set though,
the firmware will reject that request with a PASSWORD_REQUIRED
response code. this change lets the kernel return EPERM instead of
EIO in that case.
if you dont have a password set on the firmware you can configure
the alarm just fine.
makes sense claudio@
Diffstat (limited to 'sys/dev/audio.c')
0 files changed, 0 insertions, 0 deletions