Commit Graph

133783 Commits

Author SHA1 Message Date
jkunz 3c88ecfad5 Add two more revisions that use the pagezero info. 2005-01-28 17:38:49 +00:00
jkunz a4d6ea5ca9 Implement powerd(8) interface via sysmon(9) for power switch, controllable by sysctl(8). 2005-01-28 17:38:49 +00:00
jkunz 58332f0318 Enable sti(4) wscons(4) for all machines. 2005-01-28 17:32:15 +00:00
wiz e3b661b128 Fix dot placement. Bump date for pci_conf_{capture,restore} documentation. 2005-01-28 13:02:33 +00:00
wiz b2d185782d Use In instead of Fd; use \*[Am]\*[Lt]\*[Gt] for html output. Uppercase FREENIX. 2005-01-28 11:04:52 +00:00
is 7fa7b64071 Don't expose spl functions to non-kernel. 2005-01-28 10:19:57 +00:00
yamt 12ee5f9c3a nfs_namei: return EACCES for empty filenames as rfc1813 says. 2005-01-28 10:12:23 +00:00
yamt 2520660990 nfs_clearcommit: don't attempt to clear commit info (n_pushlo, etc)
unless the vnode is of VREG.  union members used to keep commit info
are used for other purposes in the case of !VREG.
2005-01-28 10:11:31 +00:00
rumble de81c2c878 Sprinkle options UFS_DIRHASH on GENERIC kernels. It's presently
commented out and labeled experimental pending further review and
testing.
2005-01-28 03:19:49 +00:00
itojun cc1dea55c3 title was backwards. djm@openbsd 2005-01-28 01:36:17 +00:00
mycroft 47759e6333 Several changes based on comparison with NS:
1) dupseg_fix_=true from NS: do not count a segment with completely duplicate
data as a duplicate ack.  This can occur due to duplicate packets in the
network, or due to fast retransmit from the other side.

2) dupack_reset_=false from NS: do not reset the duplicate ack counter or exit
fast recovery if we happen to get data or a window update along with a
duplicate ack.

3) In the "very old ack" case that itojun added, send an ACK before dropping
the segment, to try to update the other side's send sequence number.

4) Check the ssthresh crossover point with >= rather than >.  Otherwise we
start to do "exponential" growth immediately following recovery, where we
should be doing "linear".  This is what NS does.
2005-01-28 00:18:22 +00:00
jdolecek f9b584bd58 match nForce2 Ultra 400 audio 2005-01-27 21:49:29 +00:00
jdolecek 7f0a422006 regen: add id for nForce2 Ultra 400 audio 2005-01-27 21:48:37 +00:00
jdolecek 0716a9ca67 add id for nForce2 Ultra 400 audio 2005-01-27 21:48:15 +00:00
hubertf aa98afa3a9 Update description so "man -k wireless" finds this useful too.
Hinted at by Kefren on #NetBSD (IRCnet).
2005-01-27 21:01:18 +00:00
mycroft e236dc1c36 Whoops. Exit fast recovery when handling a timeout. 2005-01-27 18:45:41 +00:00
wiz e914608b88 Put dot at end of sentence instead of in the middle; sort option descriptions. 2005-01-27 18:43:51 +00:00
wiz bc22bce866 Bump date for previous. 2005-01-27 18:38:20 +00:00
mycroft d2ca156552 Add a small note about the use of shift keys. 2005-01-27 18:35:41 +00:00
mycroft 7ecc7a3071 Make awaitkey() poll once even if the timeout is 0. This also fixes a problem
where a keypress within the last polling interval would not be noticed.
Add a new function, conisshift(), which is used to detect whether a shift key
is pressed.  Use this via awaitkey() to allow interrupting the boot by holding
down shift (similar to LILO).

This allows setting the timeout to 0 and still being able to use the boot
program.
2005-01-27 18:20:45 +00:00
drochner 9f230230dc There is no point in passing "/netbsd" as namelist to kvm_open.
libkvm knows better.
2005-01-27 18:12:47 +00:00
mycroft 746d109a3c There is no reason to adjust ts_recent_age for ts_timebase; it's strictly an
internal variable.
2005-01-27 17:14:04 +00:00
mycroft 470f2d0705 Do the other TCP_PAWS_IDLE check unsigned as well. It doesn't do us any harm,
and it could detect even older time stamps.  (Really, to be 100% correct, there
should be a timer that clears these out -- but it probably doesn't matter in
the real world.)
2005-01-27 17:10:07 +00:00
mycroft 42655f2a87 Also check whether an echoed RTT is very large -- this *could* cause the
smoothing function to overflow.  I use TCP_PAWS_IDLE (24 days) for this.
2005-01-27 16:56:06 +00:00
kent 1c66af82f6 note support of nForce4 in viaide(4) and auich(4) 2005-01-27 13:41:41 +00:00
kent 51e95477c7 support for nForce4.
bump date.
2005-01-27 13:39:47 +00:00
kent 0e68407cf6 support nForce 4 2005-01-27 13:35:05 +00:00
kent 75432eafa2 support for nForce 4 PATA and SATA 2005-01-27 13:34:32 +00:00
kent 44200be30d regenerate for nForce 4 devices 2005-01-27 13:33:36 +00:00
kent ab57a51809 add some nForce 4 devices 2005-01-27 13:31:45 +00:00
is d781105e1d We don't need aout2bb any longer. 2005-01-27 12:54:05 +00:00
yamt f1661c75d1 - simplify nfs_bio.c rev.1.126
- add an assertion.

no functional changes.
2005-01-27 12:46:42 +00:00
simonb 90d5b03202 Fix a typo in a printf string. 2005-01-27 12:35:53 +00:00
scw 1464f79e43 In vr_start(), don't forget to free the new mbuf if the second
bus_dmamap_load_mbuf() fails.
2005-01-27 11:58:01 +00:00
yamt cf56f2b873 keep directory eof cache when inactivating vnode
because there's no reason to throw it away.
(fix an unintended side effect of nfs_subs.c rev.1.144.)
2005-01-27 11:33:26 +00:00
yamt 407a63dc34 nfs_bioread:
- if a buffer is still empty after successful nfs_doio, it implies EOF.
- don't cache blocks beyond EOF.
2005-01-27 11:29:25 +00:00
is 97eadfd5d7 NTOHL() is not the same as ntohl()... 2005-01-27 11:00:46 +00:00
martin c7b31c04d6 Remove orphaned extern declaration. 2005-01-27 08:50:27 +00:00
itojun 3d34ee60f0 fix CERT VU#938617 (vulnerable to denial of service in validator code)
ftp://ftp.isc.org/isc/bind/9.3.0/9.3.0-patch1
2005-01-27 03:56:23 +00:00
mycroft 7215a0b3f1 Introduce a new state variable, t_partialacks. It has 3 states:
* t_partialacks<0 means we are not in fast recovery.
* t_partialacks==0 means we are in fast recovery, but we have not received
  any partial acks yet.
* t_partialacks>0 means we are in fast recovery, and we have received
  partial acks.

This is used to implement 2 changes in RFC 3782:
* We keep the notion that we are in fast recovery separate from t_dupacks, so
  it is not reset due to out-of-order acks.  (This affects both the Reno and
  NewReno cases.)
* We only reset the retransmit timer on the first partial ack -- preventing us
  from possibly taking one RTO per segment once fast recovery is initiated.

As before, it is hard to measure any difference between Reno and NewReno in the
real-world cases that I've tested.
2005-01-27 03:39:36 +00:00
jmcneill 0a95a06218 Fix synaptics touchpad resume, from Kentaro A. Kurahone. 2005-01-27 03:04:31 +00:00
jmcneill fac3e15af3 Fix typo. 2005-01-27 03:03:33 +00:00
jmcneill 7f3681fe2b Don't restore PCI configuration state if the chip isn't in D0, from
Kentaro A. Kurahone.
2005-01-27 02:58:52 +00:00
jmcneill 27d1abf7f8 Capture PCI configuration state on suspend and restore it on resume, from
Kentaro A. Kurahone.
2005-01-27 02:44:59 +00:00
jmcneill 73f985e393 Add agp_i810 powerhook, from Kentaro A. Kurahone 2005-01-27 02:43:42 +00:00
jmcneill 41a62b176d Add rtk_pci powerhook, from Kentaro A. Kurahone 2005-01-27 02:42:35 +00:00
wrstuden 442d792d00 Fix pasto in previous. We only perform the DIOCCACHESYNC call if
FSYNC_CACHE is set, not if FSYNC_WAIT is set.
2005-01-27 02:16:42 +00:00
jmcneill 439b200f99 Document pci_conf_capture(9), pci_conf_restore(9) as well as
struct pci_conf_state.
2005-01-27 01:49:53 +00:00
jmcneill 6a3e1ea6a4 Missed a break in the powerhook (shouldn't matter functionally, but
fix anyway for correctness).
2005-01-26 22:15:26 +00:00
jmcneill f9fc6336b1 Add pci_conf_{capture,restore} to auich(4) powerhook 2005-01-26 21:53:42 +00:00