Commit Graph

153533 Commits

Author SHA1 Message Date
yamt
ec585a4e4d protect bt_poolcache by splvm because it's shared among all arenas
including ones which can be used in interrupt context.
PR/35042 from Manuel Bouyer.
2006-11-12 22:28:17 +00:00
plunky
57c0199dcf Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
2006-11-12 19:00:42 +00:00
he
f50e36b715 Move settings of CLEANFILES and LDFLAGS outside the conditional, so that
the dummy libssp_nonshared.a file will be cleaned under clean/cleandir.
2006-11-12 15:18:29 +00:00
tsutsui
d990bcf038 Replace RTK_ETHER_ALIGN with RE_ETHER_ALIGN, which I missed.
Pointed out by dieter roelants in PR kern/35041.
2006-11-12 15:12:02 +00:00
tsutsui
26a4066f11 Remove an extra semicolon. 2006-11-12 12:02:19 +00:00
bjh21
867c8b45a3 Add GWS. 2006-11-12 11:29:51 +00:00
jmmv
d4e479987d Regen. Per bernd@'s instructions. 2006-11-12 09:14:32 +00:00
itohy
96de608110 Oops, I didn't notice the file had been updated and overwrote
the changes in 1.93....
Rescue the changes in 1.93 (IPv4 checksum fix).
2006-11-12 07:16:14 +00:00
itohy
3b284b614d - In some rare cases, both Tx Complete and Dn Complete bits are set.
I'm not sure what it exactly means, but at least, the packet in question
  is reloaded in ex_txstat() and should not handle the Dn Complete event
  at the moment ---  it should be served on later interrupt.

- Reload packet on collision, too.
2006-11-12 07:07:39 +00:00
christos
5b239d0be1 PR/35039: jklowden: Fix example to include -i or -p for ipf or pf. 2006-11-12 06:24:08 +00:00
tsutsui
0d397b62fe - merge re_encap() into re_start() so that we can handle each error case
more flexible
- account a number of free txq and use it to see if packets are queued or sent
- assume free TX descriptors are not owned by the chip in re_start() and
  panic if there is any inconsistency on them #ifdef DIAGNOSTIC case.
- replace a magic number (reserved TX descs?) with macro
2006-11-12 03:09:37 +00:00
christos
92bb57d7f6 put back phones, used by tip 2006-11-12 03:02:50 +00:00
tsutsui
cad156cdf4 Add a workaround for a hardware ip4csum-tx bug which would sometimes put
wrong IPv4 checksum on sending 21 or 22 byte IP packets.

See discussion on tech-kern and tech-net for details:
http://mail-index.netbsd.org/tech-kern/2006/11/04/0004.html
2006-11-12 02:49:46 +00:00
christos
1bb72362cf more uucp removal. 2006-11-12 02:44:51 +00:00
christos
ab6d6d1244 more uucp removal 2006-11-12 02:43:39 +00:00
dogcow
873dd89778 missed UUCP obsolete 2006-11-12 02:29:44 +00:00
christos
eef8c97c9c Don't disable the tests, otherwise 'make obj', 'make clean', or 'make cleandir'
will create the archive.
2006-11-12 01:41:46 +00:00
christos
15de3f2f5d remove uucp, add ssp 2006-11-12 01:31:41 +00:00
christos
bc2479d202 no more rmail. 2006-11-12 01:27:29 +00:00
christos
733988be60 goodbye uucp 2006-11-12 01:24:51 +00:00
christos
64f067eaa0 sprinke -Wno-stack-protector 2006-11-12 01:24:44 +00:00
christos
3353f7d077 goodbye uucp 2006-11-12 01:20:00 +00:00
he
cb4c2207ba Add a netbsd-sd0 kernel, so that the corresponding gzimg can be built. 2006-11-11 23:50:54 +00:00
he
6c94afac43 Disable the libssp regression tests for alpha, mips and hppa. These
architectures do not have -fstack-protector support in gcc (yet).
2006-11-11 23:37:18 +00:00
jld
bd403112d6 Under Xen2, timestamp updates should happen every 10ms, and a timer
event should be raised every 10ms if we're runnable.  Unfortunately,
there seems to be an intermittent bug in the hypervisor such that,
for about 1<<32 ns (~4.3s) after it manifests, every running domain
continues to run but not get its timer events and new timestamps (nor
is it preempted in favor of other domains on that CPU).  This can cause
strange behavior from our timekeeping; for example, hardclock() is never
called during this interval.

So here's a workaround: if timestamp is allegedly up to date but is more
than 40ms old (this is semi-arbitrary), the domain sets its timer to a
time in the past, which causes it to become immediately pending, and also
results in the publication of a new timestamp.
2006-11-11 23:33:12 +00:00
christos
36534cb271 move USE_SSP=no one level up. 2006-11-11 22:38:38 +00:00
macallan
3f9bd18e6d add 1024x768 @ 89Hz for the Apple eMac
from Marco Trillo
2006-11-11 22:14:44 +00:00
dsl
29479294dd If the last 3 bytes of the debug filename supplied with -DFxxxx are .%d then
replace the %d with getpid().
Allows the trace files for different make process is a big recursive make
to be written to different files - and have a slight chance of being useful.
2006-11-11 22:07:37 +00:00
apb
e81d0de4e0 Fix a bug that caused 0.0.0.0/0 to be treated like 0.0.0.0/32.
foo << 32 is undefined per section 6.5.7 of the C99 standard
if foo is (or is promoted to) a 32-bit type.
2006-11-11 21:50:19 +00:00
christos
31b7f8ae5f Don't build lkms with SSP for now. 2006-11-11 21:35:45 +00:00
dsl
d2c6b9d3fe Return the non-zero value that caused the Lst_ForEach[From] call to
terminate early to the caller.
2006-11-11 21:23:36 +00:00
dsl
e2455acf6d Point a few diagnostic printfs (the ones that got away) to debug_file
instead of stdout.
2006-11-11 21:21:17 +00:00
christos
21b2d7e28c on non-x86 execl*.c needs alloca. 2006-11-11 21:16:00 +00:00
bouyer
a897b56088 Simplify XEN3 domU kernel config by including the XEN2 domU configs and
adding only XEN3 specific options/devices.
2006-11-11 20:00:39 +00:00
bouyer
b8f3db3eea Follow GENERIC and enable TMPFS 2006-11-11 19:34:54 +00:00
jmmv
fd36a0e13f Note that tmpfs's experimental status has been dropped. OK'ed by core@. 2006-11-11 19:03:17 +00:00
jmmv
98f101bc9c tmpfs is not considered experimental any more. OK'ed by core@. 2006-11-11 19:01:30 +00:00
jmmv
fb3e66fdb3 Enable TMPFS by default. OK'ed by core@.
I'm leaving those platforms with few users and those whose machines are
not very powerful untouched per uwe@'s suggestion.  The port masters or
the real users of those ports are better suited to make the decision of
enabling it.
2006-11-11 19:00:16 +00:00
jmmv
7a13fe4abf Remove tmpfs's experimental status. OK'ed by core@. 2006-11-11 18:47:08 +00:00
bjh21
7cd2ca16b5 COMPAT_10 implies COMPAT_11, so there's no need to test both.
Also collapse two tightly-nested #ifs into one.
2006-11-11 17:28:16 +00:00
bjh21
7acb866d02 All of the older COMPAT_?? options imply COMPAT_13, so there's no need to
check each one individually.
2006-11-11 16:58:04 +00:00
jmmv
2947e73b43 Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
the root file system on a LFS volume.

Addresses PR bin/30407.  No objections in tech-userlevel@.
2006-11-11 14:47:27 +00:00
jmmv
abac724ef9 Also use libraries from /lib for binaries installed into /libexec. Needed
by lfs_cleanerd which is about to be moved to this directory.
2006-11-11 14:41:20 +00:00
dsl
da38409c42 Add kadm5_err.h to DPSRSC (as is done in libkadm5srv) otherwise we
fail to create many of the .d files because kadm5_err.h isn't created
early enough.
I dunno why this ever worked, but mu hacked make is clearly building
stuff in a different order.
2006-11-11 14:00:56 +00:00
tsutsui
6e1aa2e387 Minor style tweaks in re_txeof(). 2006-11-11 13:51:44 +00:00
jmmv
ea4fb88d87 Do not mess with B_VFLUSH in the read/write case. Requested by yamt@.
(I did this because the system could panic otherwise.  But this seemed to
be a side-effect of another mistake that was present in the code before it
was commited.  So effectively this simplification should have happened
before.)
2006-11-11 13:42:14 +00:00
tsutsui
216b5d71df - declare struct re_txq separately
- reorder bus_dma_segment_t members since they are used only on attach/detach
2006-11-11 13:41:06 +00:00
tsutsui
15ce034c2c Some minor tweaks in re_intr():
- check status bits at once (I'm not sure how gcc optimized them though)
- no need to check (ifp->if_flags & IFF_UP) twice
  (re_init() must be called at splnet() anyway)
- call re_start() only if the interrupt is actually handled here
- call re_start() directly rather than via (*ifp->if_start)()
2006-11-11 12:41:56 +00:00
tsutsui
82ada0b76e Clear a TX timeout only if all queued packets are handled. 2006-11-11 12:13:55 +00:00
he
a29dad4689 Add libssp_pic.a. 2006-11-11 12:06:54 +00:00