Commit Graph

148846 Commits

Author SHA1 Message Date
ross
afb5180310 wrap as(1)-only elements in #ifdef _LOCORE 2006-07-12 23:52:21 +00:00
he
7a66dda031 Omit specifying the secondary bootloader on the installboot command line
for sparc64 systems.  This should fix PR#33987.

Also adapt to the way sparc64 32-bit kernels now report its CPU
architecture -- these still need the sparc64 boot loader, but now
report hw.machine = sparc.  Adapt by testing machdep.cpu_arch
instead.

Hints from martin and mrg.
2006-07-12 21:34:45 +00:00
garbled
40bedaf4c8 Add support for rebooting 7024 and 7025 models. Since I cannot figure
out how to properly reboot these machines, instead we make use of the
auto-poweron-alarm time, and power cycle the machine to simulate a
reboot.  This is a hack, but until I get documentation on these machines,
at least you will be able to reboot them.
2006-07-12 21:28:33 +00:00
christos
692e9c49f5 PR/33984: YAMAMOTO Takashi: lint complains about typedef
The grammar for c99 initializers only looked for name tokens, so if there
was a typedef'ed name it failed. Fixed by looking at all identifier tokens.
2006-07-12 20:03:48 +00:00
perry
c857ec66f9 Note that people should not be using UFS_DIRHASH. 2006-07-12 18:45:51 +00:00
martin
30b452e3dc Some interfaces are initially created with zero addresses on them
(like pppoe). Make the loop over all interface addresses cope.
Problem reported by Christian Hattemer.
2006-07-12 17:26:11 +00:00
tnozaki
3ce59d0949 ISO-8859-7:1987 -> ISO-8859-7:2003 2006-07-12 16:56:35 +00:00
gdamore
2fe9781d59 Initialize batt for gcc 4.x, and while here add $NetBSD$ comment. 2006-07-12 15:03:24 +00:00
yamt
e81b1eeaa7 implement NETRXF_csum_blank/NETTXF_csum_blank tx checksum "offloading". 2006-07-12 15:03:08 +00:00
yamt
897bdba2b9 implement a simple NETTXF_csum_blank/NETRXF_csum_blank workaround
so that we can talk with linux guests at least.
just fill checksum field of received packets if the flag is set.
maybe should be revisited later.
2006-07-12 15:02:15 +00:00
yamt
2b405338d9 revert the previous because it doesn't work without destdir populated.
pointed by Valeriy E. Ushakov.
2006-07-12 14:56:59 +00:00
tron
e12e4b2966 Remove test for M_CSUM_TSOv6 flag which is not (yet) defined in
NetBSD-current.
2006-07-12 14:07:02 +00:00
yamt
9858dc825d don't include stdint.h for _STANDALONE. 2006-07-12 13:54:55 +00:00
yamt
ed6b31b9e9 -I${S}/../common/include for libprop. 2006-07-12 13:51:18 +00:00
yamt
4adfbedff5 include stdlib.h for exit(). 2006-07-12 13:50:23 +00:00
lukem
5666bd9aa8 * Provide new keywords:
gcc=<n>			<n> = value of ${HAVE_GCC}
	gdb=<n>			<n> = value of ${HAVE_GDB}

* Support extra keywords on lines with "obsolete" keywords to allow
  keyword-specific obsolete files.
  (Primarily intended for use with gcc=<n> and gdb=<n>, although
  it could be use for other items).

* Use the above features to collapse the gcc.* and gcc4.* lists into
  the appropriate set lists.

* Deprecate the tc.* lists as all platforms are either HAVE_GCC=3 or HAVE_GCC=4.

* Update set lists for HAVE_GDB=6.
2006-07-12 13:39:04 +00:00
hubertf
b6e86c6a66 bug_report_url: s/netbsd/NetBSD/
OK'd by mrg@
2006-07-12 13:30:17 +00:00
hira
7c54838d63 Fix typo (discarge -> discharge). 2006-07-12 13:16:36 +00:00
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