Commit Graph

159556 Commits

Author SHA1 Message Date
joerg bae7e889e2 Add an entry that OSS emulation is now faster. 2007-06-11 13:13:19 +00:00
joerg 5ccf1c578a Add a new ioctl AUDIO_GETBUFINFO. It works like AUDIO_GETINFO, but
doesn't obtain the ports, gain and balance related parameters.
Those generally require reading from the hardware and therefore are much
more expensive to obtain. Modify OSS emulation to use the new ioctl
where possible.

This reduces CPU usage of mplayer during mp3 playback with my Thinkpad
from 20% to < 1% and from 50% to 20% during Xvid playback.

Review and comments from jmcneill@
2007-06-11 13:05:46 +00:00
tsutsui ed180c85a3 Note sn(4) on mac68k switched to MI SONIC driver. 2007-06-11 11:46:09 +00:00
pooka 18e8d526ea print a specific warning if /dev/puffs cannot be opened in init 2007-06-11 06:13:34 +00:00
dyoung e62dac44ae Produce more useful error messages. 2007-06-11 04:22:00 +00:00
bouyer 2b8da1169c Move Xen timecouter entrie which has been pulled up to netbsd-4 2007-06-10 21:00:45 +00:00
christos b7c1cbea43 PR/36468: Andreas Wrede: ftpd(8) always logs hostnames. Add -n option to display
addresses.
2007-06-10 20:24:31 +00:00
christos 07186f02e2 Fix tab/space confusion; from Stefan Farfeleder 2007-06-10 20:20:28 +00:00
tsutsui aa9fb9663f Switch mac68k's sn(4) Ethernet to MI SONIC driver.
Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.
2007-06-10 05:59:42 +00:00
dogcow 9cd5005f13 mi says license, the filename itself says licence; make mi confom. 2007-06-10 01:33:47 +00:00
christos cc32d5a569 Note ZFS returning the number of entries instead of the size of the directory. 2007-06-10 01:21:53 +00:00
ad 3f8edbdfd7 G/C dead code. 2007-06-10 00:52:29 +00:00
ad 54630771e7 Nuke most of 2000-2006, but keep 1 year worth of changes. 2007-06-10 00:45:08 +00:00
christos 7a5ce90a9f PR/36464: scandir(3) corrupts heap when run on ZFS directories because ZFS
returns the number of entries as the directory size.
Use a new, more conservative entries estimator.
2007-06-09 23:57:25 +00:00
mlelstv a9ded62922 Do not check link state before starting transmitter. Otherwise
mbufs will just pile up in the interface queue.
2007-06-09 21:42:33 +00:00
ad c741f88d56 Acquire proclist_mutex before sending signals. XXX irix emul needs a bit
of work.
2007-06-09 21:25:49 +00:00
christos 6f5be32dbf print millis too. 2007-06-09 19:52:36 +00:00
christos a9df04f00d bring in many changes from FreeBSD 2007-06-09 18:51:19 +00:00
christos 1b15aa2347 put back readline. I think I fixed the libedit issue. If I did not, then
we should fix libedit further to be compatible with readline.
2007-06-09 17:33:26 +00:00
christos 419556ce9d Instead of printing the priority, print the time before each message which
is more useful.
2007-06-09 17:10:59 +00:00
mhitch 0e58b18eb5 Add amiga/amiga/pmap_bootstrap.c. Amiga can now use either the amiga pmap.c
or the m68k common pmap_motorola.c.  Add comment-out entry for
m68k/m68k/pmap_motorola.c.  Currently still uses amiga pmap, but switching
to m68k common pmap_motorola is done easily for testing.
2007-06-09 16:31:08 +00:00
mhitch 5099e47d5c Move pmap_bootstrap() into a separate file. Amiga can now use either the
amiga pmap.c or the m68k common pmap_motorola.c.
2007-06-09 16:28:15 +00:00
mhitch 1357ef0f79 Separate pmap_bootstrap() into its own file; needed for common m68k
pmap_motorola.c.
2007-06-09 16:27:16 +00:00
tsutsui c2ff4f910e Fix pasto in previous. 2007-06-09 14:40:19 +00:00
kiyohara 7bfb0e94c3 Add zyd(4). 2007-06-09 12:28:25 +00:00
kiyohara 83e06e734e Use usb_callout. 2007-06-09 12:13:12 +00:00
kiyohara 8f6cd34a62 Add zyd(4). 2007-06-09 11:34:01 +00:00
kiyohara bbec0bb7bf Added OpenBSD's zyd(4) driver.
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
kiyohara 6a47d5a6c8 Regen. 2007-06-09 11:18:45 +00:00
kiyohara 5f6e202881 Add ZyDAS ZD1211 devs. 2007-06-09 11:17:02 +00:00
wiz cb7051a0fc Move puffs and refuse definitions to local override file. 2007-06-09 10:19:43 +00:00
wiz cd4aa9ff37 Make Nm match Dt. This makes it easier to guess what the man page is
called when you find it with man -k.
2007-06-09 10:16:25 +00:00
tsutsui 417b81e63f Call simple_lock_init(9) with proper zs_chanstate otherwise
LOCKDEBUG kernel fails during console zstty attachment.
2007-06-09 04:37:02 +00:00
dyoung ab5517c0d4 Convert from rn_walktree() to rt_walktree(). While I am here,
de-__P().
2007-06-09 03:25:32 +00:00
dyoung 95edb940c2 Get rid of radix_node_head.rnh_walktree, because it is only ever
set to rn_walktree.

Introduce rt_walktree(), which applies a subroutine to every route
in a particular address family.  Use it instead of rn_walktree()
virtually everywhere.  This helps to hide the routing table
implementation.
2007-06-09 03:07:21 +00:00
dyoung a8fef725ac There is only one radix trie walker, and it is rn_walktree(), so
use that instead of the indirect function call through rnh,
rnh->rnh_walktree.
2007-06-09 02:33:41 +00:00
dyoung 99964897cf Cosmetic: de-__P() et cetera. 2007-06-09 02:32:34 +00:00
dyoung f6eded5ef7 Fix two bugs:
1 In dkopen(), do not leave dk_rawopens > 0 if the open ultimately
  failed for some reason.

2 Add a dkdump() implementation by Martin Husemann for writing
  system dumps to wedges.  Tiny modifications by me.  Lightly tested
  on an evbmips box.
2007-06-09 02:26:27 +00:00
dyoung 48beaaeef0 Reduce code duplication in validate_label(). Extract some lengthy
code to give it 8 more columns of horizontal space, creating
addwedges() in this way.
2007-06-09 02:10:30 +00:00
dyoung d44c1c6985 Remove redundant TAGS rule and variable assignments. 2007-06-09 01:34:05 +00:00
dyoung 6683efbb1f Make the 'tags' target work. 2007-06-08 22:59:51 +00:00
pavel 511b2e988c Remove the remaining sendmail config files (including everything in
/usr/share/sendmail) from the obsolete list. Instead, remove them in the
"sendmail" postinstall item, which is disabled by default, to prevent
losing sendmail configuration on upgrade. Fixes the rest of
PR install/36180.
2007-06-08 22:24:07 +00:00
jld fc7a27a9ee Add needed locking in xenevt_fpoll; this fixes at least a lost-wakeup bug.
OK'ed by bouyer@.
2007-06-08 22:06:18 +00:00
sborrill 9dd4b8a256 wiconfig should exit with status 1 if used on an interface which does
not exist or is not wireless. The previous commit broke this, so add
explicit check before any other task. Approved by dyoung@
2007-06-08 21:47:20 +00:00
wiz cce3a1d216 Improve description of EXIT CODES. Based on the following OpenBSD commit,
forwarded by jmc@openbsd:
----------------------------
revision 1.14
date: 2007/05/20 23:15:57;  author: jmc;  state: Exp;  lines: +19 -18
rewrite DIAGNOSTICS to avoid confusion about which application returns
what, and when;

started by Jeffrey 'jf' Lim, with some correction from Ingo Schwarze;
ok otto
----------------------------
2007-06-08 18:20:42 +00:00
wiz b4c4f977e0 Regen (with more GUS). 2007-06-08 17:57:34 +00:00
wiz da455afa9a Add three IDs for GUS PnP.
From Zbigniew Baniewski in PR 36425.
2007-06-08 17:56:21 +00:00
christos 7754b3471a remove an unneeded cast and merge one more switch case. 2007-06-08 17:51:41 +00:00
christos 19a2c6c6d2 - only unlock if were dealing with a process.
- use the right mutex.
2007-06-08 17:49:13 +00:00
tsutsui d851aeff1e Set DCR_TFT[01] and DCR_RFT[01] bits of DCR register for TX/RX thresholds
in each MD attachment since optimized values could be machine dependent.
2007-06-08 17:08:46 +00:00