Commit Graph

148828 Commits

Author SHA1 Message Date
lukem 3d374e9191 add HAVE_GCC and HAVE_GDB to etc/release 2006-07-12 13:12:03 +00:00
tron 9563ec16dc Add diagnostic checks for hardware-assisted checksum related flags in
the mbuf which supposed to get sent out:
- Complain in ip_output() if any of the IPv6 related flags are set.
- Complain in ip6_output() if any of the IPv4 related flags are set.
- Complain in both functions if the flags indicate that both a TCP and
  UCP checksum should be calculated by the hardware.
2006-07-12 13:11:27 +00:00
christos 2fbd5d820a Prevent zerodivide (from Kouichirou Hiratsuka) 2006-07-12 11:31:39 +00:00
tron 71ee259418 Add an extra ".WAIT" to the "realall realdepend" target to make sure
it finished cleaning the tools directory in case of tool directory
mismatch before we try to rebuild the tools.
2006-07-12 10:49:11 +00:00
gson c14814103c Assert RTS on open. Fixes PR kern/33929. 2006-07-12 07:36:25 +00:00
simonb cc85b518f1 Remove unused ppc4xx_tlb_unpin() function. 2006-07-12 06:22:17 +00:00
skrll b819728719 Note this driver is for the i82596CA and i82596DX/SX chips and provide
links to documentation on developers.intel.com
2006-07-12 05:12:06 +00:00
peter e04c92998b Fix MKISCSI=no. 2006-07-11 23:20:22 +00:00
peter f27198fd25 Fix MKIPFILTER=no. 2006-07-11 23:19:24 +00:00
peter 28c8e35804 Fix MKNLS=no. 2006-07-11 23:18:33 +00:00
peter 58224a41e7 Add power hooks for "ep* at pcmcia?".
ok christos@
2006-07-11 22:49:47 +00:00
peter 09f0de7ce4 Add power hooks for "ne* at pcmcia?".
ok christos@
2006-07-11 22:48:37 +00:00
tron 8fe4e4040d Clear mbuf checksum flags before passing it to ip6_output(). We might
recycle a mbuf which contained a hardware provided checksum. This
fixes "traceroute6" to a machine which is using a wm(4) interface
that has UDP or TCP checksum offload enabled.
2006-07-11 22:13:56 +00:00
drochner e16c6a6b67 include machine/bus.h explicitely, fixes build problem 2006-07-11 17:37:14 +00:00
jschauma 1a55271438 revert previous: as pointed out by tsutsui@, we're talking about
MACHINE_ARCH, not MACHINE, so x86_64 should be noted, not amd64.
2006-07-11 16:22:23 +00:00
jschauma 2b6f56fbdc use 'amd64' instead of 'x86_64' to avoid confusing new users of amd64
who are not aware that it used to be called x86_64.
2006-07-11 15:43:38 +00:00
drochner d94734d110 use timecounter code in dev/ic/acpipmtimer.*,
kill interface attribute in device declaration
2006-07-11 14:47:49 +00:00
yamt eeb2c6eb23 inittodr: if xen3, add processed_system_time (system_time) to
shadow_tv (wc_sec/nsec) as linux guest does.
2006-07-11 12:26:58 +00:00
dan 33b0624dcd Change date in the nbX part of the version string to match the date
the nbX change was made.  The original gcc cvs/svn branch date is kept
separately.

After discussion with simonb@ who pointed me at rev 1.4 where he'd
corrected the same wrong assumption.
2006-07-11 07:32:07 +00:00
dan 9c66a2d708 pull in fix for gccpr 28016 from svn rev 114739:
Do not emit uninstantiated static data members.

this addresses C++ issues that broke linkage of programs using several
boost libraries, including monotone.

bump nb version accordingly

discussed with and committed by request of mrg@
2006-07-11 07:22:58 +00:00
perry 39ddc4631d Make sure that the remaining battery life is set to zero if the value
is known to be invalid. Discussed with Christos (and based on his comments).
2006-07-11 02:35:30 +00:00
simonb 8c6707812d Use c99 uintN_t. 2006-07-11 00:25:42 +00:00
simonb f0b22f966f Sprinkle some KNF. Still a bit more needed... 2006-07-11 00:18:04 +00:00
simonb 22cbf12aca Remove some incorrect licencing goop. 2006-07-11 00:17:34 +00:00
simonb a4c494b1d1 Remove some incorrect licencing goop. 2006-07-10 23:22:28 +00:00
simonb 52b60673ac Update for timecounters (s/time.tv_sec/time_second/). 2006-07-10 23:20:43 +00:00
ross 459b0bb03d set up native build for powerpc64 2006-07-10 23:16:34 +00:00
christos 3f33249541 We don't need sed to do trivial parsing. 2006-07-10 23:07:09 +00:00
ross 78811b2bfb Support powerpc64 2006-07-10 23:06:51 +00:00
ross 028c9feb3f build simulator for powerpc64 2006-07-10 23:01:56 +00:00
ross 43f265ec70 Redefine RS6000_CPU_CPP_ENDIAN_BUILTINS() the same way powerpc does
to eliminate the _BIG_ENDIAN builtin which conflicts with our endian.h

XXX for now, define MASK_PROFILE_KERNEL here XXX
2006-07-10 22:58:58 +00:00
jnemeth 8021a8f195 correct NetBSD capitalisation 2006-07-10 22:51:51 +00:00
christos 358557d37b fix some field names (Arnaud Lacombe) 2006-07-10 22:46:06 +00:00
christos 9dc3ec85f6 Fix gcc4 bogus initialization warnings from Arnaud Lacombe 2006-07-10 22:38:28 +00:00
ross a19b59e14b include <string.h> if available 2006-07-10 22:34:32 +00:00
ross c2a38ad59c fix LP64 issue in os_time 2006-07-10 22:32:48 +00:00
ross d4e54ee4f4 map host info into gdb_host for powerpc64-*-netbsd 2006-07-10 22:31:24 +00:00
rillig 591ed5a67e In header files, there shall be no variable definitions, only
declarations. Found by MIPSpro.
2006-07-10 21:42:18 +00:00
xtraeme d0e49918a6 Attach amdpm timer on AMD8111 too, as was suggested by Nicolas Joly. 2006-07-10 20:11:29 +00:00
christos 26115e2d37 PR/33968: Nicolas Joly: amdpm(4) timer, fix and AMD8111 support
Refactor the code to use different variable names to hold each conf register
and avoid reading/witing the conf space multiple times.
2006-07-10 20:03:42 +00:00
gdamore d3788a855d New psm driver for use on Ultrabook IIi. Right now it supports the power
button and lid switch.  I will add environmentals (battery, etc.) later.
2006-07-10 17:54:08 +00:00
drochner fbb15488c4 Call ldemul_finish() before lang_check_section_addresses(), as done
in binutils-current, rev.1.224.
ldemul_finish() might change section addresses/lengths, so this change
makes sure it is really the final output which is checked.

This fixes problems loading LKMs on alpha and amd64, reported by
Dave Huang per PR bin/33909. I could reproduce it myself on alpha.
2006-07-10 17:42:16 +00:00
thorpej 55e8bbeb6e Put appropriate prefixes on property names to reduce chances of name
collisions.
2006-07-10 16:28:44 +00:00
peter b794520dcd Wrap long lines, unwrap a short line. 2006-07-10 15:37:26 +00:00
peter fac34f3d31 Moves the PF_GENERATED m_tag to the new packet in icmp_error.
This is needed because the pf code can call icmp_error with setting
this tag, but the new packet should not be filtered when it comes back
to pf(4).

ok christos@
2006-07-10 15:35:39 +00:00
fvdl 64d1b810eb kern/33961: add kgdb support and remove some redundant (and incorrect) register
offset definitions from reg.h
2006-07-10 13:09:47 +00:00
freza 75998ff7ee Fix recent ibm4xx/intr.c rework:
- Recalculate masks _after_ new interrupt handler is enqueued, otherwise
  the very last one won't ever be enabled (from hannken@)

- We can't use splhigh() to protect intr_calculatemasks() since it would
  use soon-to-be-invalid mask. Instead, fiddle PSL_EE directly as we do
  in other places.

Reviewed and tested (evbppc/explora) by hannken@
2006-07-10 12:52:13 +00:00
fvdl 6bde80fce7 Do not try to disable link devices (using _DIS) at startup. This causes
problems on some systems. Leave the code commented out, we might want
to revisit this at some point in the future.
2006-07-10 09:18:36 +00:00
wiz 504d664ef9 ANSIfy, remove unnecessary errno.h inclusion. 2006-07-09 21:39:48 +00:00
wiz 1f359fc560 OpenBSD v1.7, jmc@openbsd:
this file is public domain;

problem reported by will h. backman;
sorted with the author's permission - thanks henry spencer.
2006-07-09 21:38:47 +00:00