Commit Graph

88077 Commits

Author SHA1 Message Date
christos 344a5bd80c regen. 2007-06-13 14:31:30 +00:00
christos 76af51a354 Add futex. 2007-06-13 14:31:07 +00:00
he 9eec18f5a5 Revert last commit to this file, and re-introduce the _60 variants
of the cache ops macros which are common between 040 and 060, as
per discussion with tsutsui@.
2007-06-13 13:13:29 +00:00
yamt b1cae5b7e6 exit_lwps: fix a deadlock. 2007-06-13 12:14:10 +00:00
he 1aa0117a81 Fix the 060 variants to not have conflicting definitions for the
cache ops common to 060 and 040.  Also remove the now-redundant
definitions for the 060 variant which simply pointed to the 040
variants.
This fixes the build of the mvme68k VME172 kernel.
2007-06-13 07:00:33 +00:00
dyoung cb3da2abc3 Remove unnecessary __UNCONST(). 2007-06-13 05:08:02 +00:00
dyoung 3cfc66e506 Persuasive programming: check M_UNWRITABLE(m, len) instead of
m->m_len<len before pulling up, because that helps make it clear
that we m_pullup() in order to guarantee that the contiguous region
is *writable*.
2007-06-13 05:03:19 +00:00
dyoung 46bc24d79c Use LIST_FOREACH(). 2007-06-13 04:55:25 +00:00
christos 564f9b3b2f cleanup some bitrot; from Matthew Orgass 2007-06-13 02:11:40 +00:00
uebayasi 7ae95bbb8f Teach I-O DATA USB-RSAQ5. 2007-06-13 00:31:21 +00:00
uebayasi d140af6f40 Regen. 2007-06-13 00:30:54 +00:00
uebayasi 43bf2305f9 Add I-O DATA USB-RSAQ5.
http://www.iodata.jp/news/2007/05/usb-rsaq5.htm
2007-06-13 00:30:11 +00:00
dyoung 779264d3a2 Complete removal of radix_node knowledge. 2007-06-12 22:55:44 +00:00
bouyer e0e73c4e83 Make it build again when IPMI is used (caddr_t issue ?) 2007-06-12 18:55:50 +00:00
bouyer e4f18e1082 IOCTL_PRIVCMD_MMAP: properly map entries from 0 to (mcmd->num - 1), instead
of mapping mcmd->num times entry 0. xentools < 3.1 probably didn't use this
with more than one entry at a time ...
2007-06-12 18:53:52 +00:00
xtraeme d06693ebcd Fix a typo in voodoofb_drm_unmap(), requested by garbled.
cvs: ----------------------------------------------------------------------
2007-06-12 18:16:54 +00:00
tsutsui 7be9269791 Fix one more bug I introduced in rev 1.21:
Clear sc->sc_rx_consumed before allocating RX mbufs by vge_newbuf()
in vge_intr() otherwise vge_newbuf() might get KASSERT() failure
on DIAGNOSTIC kernel when the interface is reinitialized during RX.
2007-06-12 14:32:36 +00:00
yamt 7508122896 nfs_write:
- IO_SYNC: don't bother to flush dirty pages before copying data from
  user buffer.
- IO_APPEND: don't invalidate pages blindly.  PR/28472 from Brian Marcotte.
2007-06-12 09:42:27 +00:00
yamt f1ce35c9f6 nfs_inactive: don't clear NTRUNCDELAYED erroneously.
(fix cache consistency problems like NUL bytes near EOF.)
2007-06-12 09:33:25 +00:00
yamt ac63eb98da - nfssvc_nfsd: clear nfsd_slp when exiting.
(fix an assertion failure in rev.1.112.)

- nfsrv_init: add assertions.
2007-06-12 09:30:49 +00:00
kiyohara afb9a4457b Oops.
It mistook to commit.
  uath(4) not inport yet.
2007-06-12 07:06:48 +00:00
mhitch d2eac2f631 Pass a frame pointer to trap() rather than the 'entire frame' trick. Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc).  Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise.  Fixes the getcwd regression
test on most m68k ports.
2007-06-12 03:34:28 +00:00
nisimura 35eebf7b08 - fix errors in register number and bit field definitions.
- put a bit better comment about how LEGIRQ bit works.
2007-06-11 16:25:58 +00:00
kiyohara 1b20b9d6d5 zyd was known to not work on big endian systems. 2007-06-11 13:39:22 +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 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
ad 3f8edbdfd7 G/C dead code. 2007-06-10 00:52:29 +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
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 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
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
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
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