Commit Graph

153573 Commits

Author SHA1 Message Date
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
he 45c70b2a95 Use the correct file name for the libssp comp-c-proflib entry. 2006-11-11 12:06:34 +00:00
tsutsui 677bbfc799 Remove a leftover comment.
(note bus_dmamap_sync(9) is still needed even if no changes are made to
 DMA descriptors but once they are fetched into the CPU cache)
2006-11-11 12:04:08 +00:00
tsutsui 319c2aeb6a - set descriptor DMA addresses before enabling TX and RX
- set RTK_EARLY_TX_THRESH before starting TX and RX
2006-11-11 11:31:30 +00:00
he b3c318d9a6 Make this bootstrap hack actually work:
o Correct typo in library file name.
 o Comment out conditionals around the bootstrap hack.
   At least CLEANFILES+= needs to be set for cleandir.
   The conditional doesn't appear to do the right thing under
   the dependall target either, for some strange unknown reason.
Committing this so that we get back buildability...
2006-11-11 11:23:39 +00:00
apb a45cd5c0e1 In the description of the -y option, add a pointer to the -L option. 2006-11-11 10:36:56 +00:00
jnemeth daa80ec43e add another file to the VARSTACK list 2006-11-11 08:40:42 +00:00
christos e93069b387 PR/35034: Henning Petersen: Forgot to commit shlib_version 2006-11-11 07:40:45 +00:00
christos 743785267a add a hack to build a fake libssp-nonshared.a for bootstrapping. 2006-11-11 06:42:49 +00:00
christos 42b579bab8 disable SSP for standalone code. 2006-11-11 06:28:49 +00:00
christos d07f8e39ca don't run paxctl if other commands were specified for that target. 2006-11-11 06:15:55 +00:00