Commit Graph

88118 Commits

Author SHA1 Message Date
itojun 26d3d87635 sync comment with latest openbsd code 2001-11-16 04:17:25 +00:00
augustss 3b323cfaae Better error message. 2001-11-16 02:21:54 +00:00
augustss 3db4a768d4 Handle devices that disappear during reset gracefully. 2001-11-16 01:57:47 +00:00
augustss 07ea2e28cb Recognize port status changes.
Hand over low and full speed devices to companion controller.
2001-11-16 01:57:08 +00:00
tv b384b10366 Change .MAKEFLAGS to MAKE_ARGS so MACHINE doesn't get trashed in some
cases.
2001-11-16 01:50:17 +00:00
atatat d5de3c2fb2 Abstract out a large chunk of the kernel build machinery so that new
build features (such as ross's DEBUGLIST) can easily be applied to all
ports.  This should reduce the complexity of each port's kernel
Makefile considerably.  Line counts:

     227 arch/i386/conf/Makefile.i386.orig
      98 arch/i386/conf/Makefile.i386
     227 arch/alpha/conf/Makefile.alpha.orig
      99 arch/alpha/conf/Makefile.alpha
     219 arch/sparc/conf/Makefile.sparc.orig
     102 arch/sparc/conf/Makefile.sparc
     215 arch/vax/conf/Makefile.vax.orig
     102 arch/vax/conf/Makefile.vax
     253 conf/Makefile.kern.inc

Roll i386, alpha, sparc, and vax over to the new build machinery.
2001-11-16 00:23:02 +00:00
augustss 122d2863d8 Add root hub emulation. 2001-11-15 23:25:09 +00:00
augustss 6424a6316a Make more USB controller devices. You can easily have 6 these days. 2001-11-15 22:16:17 +00:00
tv 0c4f909d6f Avoid picking up strays by adding .NOPATH to print_version.h and
make-print-version.
2001-11-15 22:02:42 +00:00
atatat 04faedd073 Add OBJDUMP to the toolchain list. 2001-11-15 21:43:54 +00:00
christos 4c4a8c2fb6 Make route exit with a non-zero error code when operations to the routing
socket fails. eg, running route add 1.2.3.4 5.6.7.8 as non root.
2001-11-15 21:25:08 +00:00
bouyer 1952efa437 Support Ultra/100 on CMD 0649. 2001-11-15 20:48:17 +00:00
skrll 9b3e60238e Pull up code from binutils 2.11.3 to fix a problem when linking against
libraries that have their dependencies recorded via NEEDED/RPATH so
that the location of the dependent libraries doesn't have to be supplied.

This closes bin/14583 by myself.

OK'd by Todd Vierling <tv@netbsd.org>
2001-11-15 20:06:27 +00:00
thorpej 6b842c44f3 MACHINE_ARCH == arm on hpcarm. 2001-11-15 19:35:31 +00:00
tv 7b0d893016 Warn when "make build" is started with USE_NEW_TOOLCHAIN on a platform for
which USE_NEW_TOOLCHAIN is not verified to work [is not on by default].
2001-11-15 19:32:19 +00:00
tv 42423ab0f9 Make it possible to warn about platforms that are not yet switched to the
new toolchain.
2001-11-15 19:24:07 +00:00
thorpej 0b6370bfee Implement __cpu_simple_lock*() primitives using the SWP insn. Note
this insn is available only on ARM arch v3 and later (and 2a).  We
don't expect to be using these ops in the kernel on processors too
old to have SWP, and for userland uses (in e.g. a pthread library),
the kernel will simply have to trap and emulate the insn (it needs
to be "atomic", so a kernel trap of some sort will be necessary on
such platforms anyway).
2001-11-15 19:22:32 +00:00
christos d751d184e1 Apply fix from Wietse:
The Postfix SMTP server maintains a record of SMTP conversations
for debugging purposes. Depending on local configuration details
this record is mailed to the postmaster whenever an SMTP session
terminates with errors.

During code maintenance, a stupid error was introduced into the
code due to which the SMTP session log could grow to an unreasonable
size. This stupid error made Postfix vulnerable to a memory
exhaustion attack.
2001-11-15 18:18:51 +00:00
soren 662f877587 MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
tv f2054f0743 Note only <bsd.own.mk> as the authority for determining whether the new
BUILDING instructions should be used.
2001-11-15 16:20:37 +00:00
bjh21 a25491ad73 Don't use $< in non-implicit rules. Instead, name the source explicitly.
This should help with PR 14588, and has been submitted upstream.
2001-11-15 15:21:53 +00:00
augustss b684cbc2a7 usbd_interface2device_handle() cannot fail. 2001-11-15 15:15:58 +00:00
kleink d803d11570 Provide a $LOGNAME as well. 2001-11-15 14:23:09 +00:00
kleink 6f7054a583 Try $LOGNAME first, then fall back to $USER. 2001-11-15 14:16:11 +00:00
wiz dd7622f812 It's called nbmakeinfo now, not makeinfo. 2001-11-15 13:05:35 +00:00
someya 6807764ea5 add myself 2001-11-15 12:16:37 +00:00
wiz 012e08cda6 Re-add check for defined(MKSOFTFLOAT) that got lost in v1.60.
Needed for Makefiles which include bsd.sys.mk, but not bsd.own.mk,
like distrib/macppc/floppies/ramdisk/Makefile.
Okay'd by simonb.
2001-11-15 12:15:09 +00:00
lukem 2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
itojun 074a5eb23b remove LBL_ALIGN. the code leaks memory severely, and makes packet dump
incorrect.
2001-11-15 07:39:25 +00:00
lukem 95c969f245 add RCSID 2001-11-15 07:03:28 +00:00
thorpej 1e6d430c86 Someone <sys/param.h> was deleted from the includes list. Add it
back so that this file compiles again.
2001-11-15 07:01:27 +00:00
itojun 3c0303a158 sync with reality; scope identifier comes with the result even without
NI_WITHSCOPEID.
2001-11-15 06:46:33 +00:00
lukem 1b455fb019 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 06:37:15 +00:00
chs a69c43b997 fix pmap_extract() to handle addresses with a PTP but an invalid PTE. 2001-11-15 05:16:41 +00:00
itojun 6c9440f374 make NI_WITHSCOPEID a default (always on), to synchronize with recent 2553bis.
sync with kame.
2001-11-15 04:49:01 +00:00
itojun 72a8eddd96 synchronize with kame better. get rid of #defines for ENI_xx. 2001-11-15 04:38:32 +00:00
tv 9f77222197 Move noconfigdirs=gdb for alpha from host to target block.
Set noconfigdirs=sim for ARM NetBSD targets; the ARM sim isn't building.
2001-11-15 01:00:12 +00:00
tv b24bb409e3 Put solib support in native files, as gdb build will bomb on cross otherwise.
Put longjmp target function in the native .h, since it only works natively.
2001-11-15 00:58:29 +00:00
tv 0911b89ff5 Fix the fix; only install gcc once. 2001-11-15 00:20:26 +00:00
thorpej 2536e6bcf3 Fix a typo in the install target list. 2001-11-15 00:17:54 +00:00
thorpej 9f11f1b5b4 If using -t, do a "cleandir" before building/installing the
tools.  This is something the old "build" hack used to do.
2001-11-15 00:14:35 +00:00
tv 4402226ec5 Allow $M4 to contain command line options. 2001-11-14 23:48:33 +00:00
thorpej 283e0a4c6e We need to declare the "plcom" device in files.evbarm, since a
"plcom.h" header file needs to be generated for conf.c even for
non-Integrator kernels.
2001-11-14 23:47:51 +00:00
tv bd55c68a03 Use ${TOOLDIR}/bin/nbm4. 2001-11-14 23:19:11 +00:00
tv 6699960dbf C/..$/.c/ -> C/\..$/.c/ 2001-11-14 23:06:26 +00:00
tv 5e32db9d70 Remove SHAREDSTRINGS logic for host programs; this is unnecessary here. 2001-11-14 23:03:06 +00:00
thorpej 6445977d84 Slight cleanup. 2001-11-14 23:02:02 +00:00
tv 48c09b6243 Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
2001-11-14 23:01:13 +00:00
mhitch 636eb23869 When loadfile() leaves the ELF header at the end of the kernel, it enables
erroneous code that tries to compute the end of the symbol table.  Disable
that for now so that kernels don't hang when booted from the disk.
2001-11-14 22:47:16 +00:00
tv 6c2c072164 Turn off host-specific objdirs by default. Set MKHOSTOBJ=yes to enable. 2001-11-14 22:29:23 +00:00