Commit Graph

75562 Commits

Author SHA1 Message Date
augustss c3aad684bd Interrupt polling was spread very unevenly. Use the same bit reversal
trick as in ohci.c to correct this.
2005-04-27 16:42:26 +00:00
briggs 0e5d90ca36 Correctly match battery types. Old function would end up matching a
zero-length string.  Noted in PR port-macppc/30034 by Magnus Henoch.
Patched as in the PR.
2005-04-27 16:41:54 +00:00
augustss d514cae370 With the interrupt fix in the previous commit low and full speed devices
have a chance to work, so allow them (with a warning).
Make a small change to the transaction translator scheduling to make it
at least hobble along (again from Dan Ellis).
2005-04-27 16:20:26 +00:00
yamt 7f37519f2c uvmfault_anonget: check uvm_reclaimable() where appropriate. 2005-04-27 15:19:17 +00:00
yamt 4c61e81438 uvmexp_print: print swpgavail as well. 2005-04-27 11:02:43 +00:00
martin 0ad90d21c9 Do not rely on strings to which pointers are returned by promlib functions
to persist accross further promlib calls.
This fixes (at least) bootjs.net.
2005-04-27 07:59:47 +00:00
martin 3cde73812d Fix typo, from C. Plasschaert in PR kern/30069. 2005-04-27 07:48:02 +00:00
skrll 5597345e50 KNF and s/a an/an/ 2005-04-27 07:47:25 +00:00
martin 691a804898 As noted by Christophe Plasschaert on tech-kern, g/c never used
idletimeout configuration ioctls.
2005-04-27 07:45:52 +00:00
augustss 6490a3e8e5 Don't null the qh_link point in the interrupt tree after it has been
initialized.  From Dan Ellis in kern/30003.
2005-04-27 02:12:20 +00:00
scw 096fb61b39 Since pmap_page_remove() is called from pmap_page_protect(), don't modify
the current pmap's pm_cstate if we have to flush the TLB, as callers of
pmap_page_protect() are not required to invoke pmap_update() afterwards.

Otherwise we can end up with a pm_cstate which is inconsistent with reality
in the TLB, which can lead to future TLB flushes being erroneously skipped.
2005-04-26 16:03:08 +00:00
atatat 34325254d6 Reverse order of args in hmevpdoff() 2005-04-26 13:02:06 +00:00
augustss 8a3915972b Alphabetize. 2005-04-26 12:13:33 +00:00
blymn 9c99b5674f Don't adjust the size of the hash table on file removes, it breaks things. 2005-04-26 10:45:41 +00:00
scw 08c2f0bab5 In wm_stop():
- Clear the interrupt mask to ensure the device cannot assert its
   interrupt line.
 - Clear sc->sc_icr to ensure wm_intr() makes no attempt to service any
   currently pending or shared interrupt.

This should address the problem reported in both PR/29903 and PR/22493.
(wm(4) is susceptible to crashing in wm_intr() when the interface is downed)
2005-04-26 07:55:17 +00:00
manu cddc307094 Fix build problem after recent NAT-T changes 2005-04-26 05:37:45 +00:00
bad eba3ea5f0c Recognise the Dell OEM version of the ASR-29320B as found in recent
e.g. Dell SC1420 boxen.  This adapter can't be put out of HostRaid mode,
so recognise it in that mode regardless.
2005-04-25 22:50:28 +00:00
bad c5863cc55f Bring in some changes from rev. 1.17 of FreeBSD aic79xx_pci.c:
Fix the *_IROC_* masks so that the correct bits get masked out for the HostRaid
features.
The 29320 and 29320B really are 7902 based, not 7901A based.  Use the approriate
chip setup routine.
Recognise generic 7901 based boards by matching against ID_9005_GENERIC_MASK.
2005-04-25 22:44:47 +00:00
manu 52786ce730 Don't sleep when handling ESP over UDP packets. 2005-04-25 20:37:06 +00:00
drochner 99c093bad3 fix more SSD_RCODE_VALID misuse introduced in cleanup 2005-04-25 17:52:30 +00:00
drochner d918258c4d Revert the part if 1.236 which comprises a functional change.
While I didn't observe a misbehaviour yet, this _must_ be
wrong because SSD_RCODE_VALID is used incorrectly.
2005-04-25 17:35:26 +00:00
drochner 3214fe94f4 revert the only part of rev. 1.177 which made a functional
change -- it broke error reporting because st->asc(q) are
not set
(actually, I believe that SSD_RCODE_VALID is misnamed)
2005-04-25 17:08:46 +00:00
lukem 3fd1802e62 Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.
2005-04-25 15:02:02 +00:00
jmcneill b0665daf43 Enable full-duplex mode by default on drivers that support it if the
underlying audio device was opened read/write. This is consistent with
Linux OSS behaviour and fixes a bug with certain applications (including
Skype) that assume this behaviour.

Fixes PR# 30044.
2005-04-25 13:19:46 +00:00
manu 29ba532e9b After more testing, it turns out that we don't really need to check the
source address to make NAT-T working with multiple clients behind the NAT.
Remove that check for the sake of RFC 2401 conformance.
2005-04-25 08:39:28 +00:00
skrll d1c90589d8 Use the right arg structure for lfs_setattr, i.e. s/getattr/setattr/. 2005-04-25 06:28:51 +00:00
skrll fb87303e67 Add lost RCSId. 2005-04-25 06:27:11 +00:00
hannken dc13562a0c Fix an inconsistency where the last block of the snapshot contains old data.
The last block of the file system is written to the snapshot before the
file system is suspended.  If the last cylinder group is modified after
the file system is suspended the last block of the snapshot may contain
old data.  So update this block again.
2005-04-24 15:49:37 +00:00
blymn d725d86471 Fix possible bad memory reference, add panic on inconsistent state. 2005-04-24 12:58:26 +00:00
abs 5fed39f04c Fix for Portuguese keymap from Rui Paulo 2005-04-24 08:18:47 +00:00
uwe 6bfe2d7005 Correct the comment about lid state bit. 2005-04-24 00:49:54 +00:00
perseant 2f695b5476 Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing.  Tested in both
directions, and everything appears to work happily, but ymmv.
2005-04-23 19:47:51 +00:00
thorpej f14aa82677 netbsd.sgimips -> netbsd.arc 2005-04-23 17:35:53 +00:00
manu 455d55f55b Enhance IPSEC_NAT_T so that it can work with multiple machines behind the
same NAT.
2005-04-23 14:05:28 +00:00
tsutsui 1ca5aaef91 Link ip3xboot as OMAGIC by -N option for ld(1) so that the firmware on O2
can load it again.
2005-04-23 10:47:22 +00:00
blymn 877d9e76c3 Remove bogus DIAGNOSTIC check and panic. 2005-04-23 09:10:47 +00:00
yamt 2fbfb3ac99 fix static/extern mismatch. found by gcc4. 2005-04-22 14:49:49 +00:00
yamt 1ceedf04a2 don't use block scope static function decl. found by gcc4. 2005-04-22 14:47:39 +00:00
yamt 881f664bd1 fix static/extern mismatches. found by gcc4. 2005-04-22 14:46:01 +00:00
yamt df9d0a0359 disable loopback checksum omission for udp6.
i forgot to commit this with:
http://mail-index.NetBSD.org/source-changes/2005/04/18/0023.html
2005-04-22 11:56:33 +00:00
itojun f1fe53f0ac AES counter mode uses 8byte IV, not 16 bytes.
msa@burp.tkv.asdf.org, Juha.Leppilahti@iki.fi
2005-04-22 02:43:39 +00:00
reed b8643619e6 Use ${TOOL_M4} instead of "m4". (I only tested this fix
for sparc but not sparc64 or alpha yet.)

Noticed problem when building NetBSD/sparc from a Linux/i386 host
that didn't have "m4".
2005-04-22 00:22:55 +00:00
christos cf28de227f simplify the mac address retrieval code. 2005-04-21 18:31:51 +00:00
bouyer 8a73c8feef Xen runs only on i686 or newer processors, so remove useless options
MATH_EMULATE. Pointed out by Juan RP on port-xen.
2005-04-21 16:33:29 +00:00
yamt 7301e7ab7b sprinkle __used so that variables referenced from asm code don't get
optimized out.
2005-04-21 14:03:24 +00:00
yamt 5241cb4bbc don't assign to non-lvalue. found by gcc4. 2005-04-21 14:02:02 +00:00
tsutsui fa657c9ce8 Cosmetic changes to reduce diffs from arc. 2005-04-21 13:59:14 +00:00
tsutsui ab74ed35be Whitespace nits. 2005-04-21 13:52:27 +00:00
tsutsui be6229fd96 Check disklabel contents only if it's read from the disk. 2005-04-21 13:34:29 +00:00
christos ff33efda18 PR/30018: Peter Eisch: Sun QFE support in non-sparc hardware 2005-04-21 11:35:01 +00:00