summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Oops, I broke netboot.KATO Takenori1998-07-082-20/+21
| | | | | | | Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp> Notes: svn path=/head/; revision=37516
* Add lockf().Dmitrij Tejblum1998-07-081-3/+3
| | | | Notes: svn path=/head/; revision=37515
* Allow either an IP address or an interface to be specified inJacques Vidrine1998-07-087-35/+77
| | | | | | | | | | | | the rc.conf variable ``natd_interface''. rc.network will determine whether it is an IP address or an interface name, and invoke natd with the -a or -n flag as appropriate. PR: 6947 Reviewed by: jkh@FreeBSD.ORG Notes: svn path=/head/; revision=37514
* Make this look more FreeBSDish.Dmitrij Tejblum1998-07-081-8/+2
| | | | Notes: svn path=/head/; revision=37513
* This commit was generated by cvs2svn to compensate for changes in r37510,Dmitrij Tejblum1998-07-082-0/+345
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=37511
| * An implementation of lockf() function call.Dmitrij Tejblum1998-07-082-0/+345
| | | | | | | | | | | | | | Obtained from: NetBSD (author: Klaus Klein) Notes: svn path=/vendor/NetBSD/dist/; revision=37510
| * Import NetBSD-current version of if_de driver onto vendor branch.Peter Wemm1998-07-081-1/+8
| | | | | | | | Notes: svn path=/vendor/NetBSD/dist/; revision=37491
| * Import current version of Matt Thomas' if_de driver. It has new registerPeter Wemm1998-06-133-23/+46
| | | | | | | | | | | | | | | | | | | | settings for the connector selection, so it looks like it should fix the aui/bnc problems. (I don't have a card with aui/bnc to test) Obtained from: Matt Thomas via NetBSD Notes: svn path=/vendor/NetBSD/dist/; revision=36943
| * Import de driver from netbsd as of a short while ago. Most of thePeter Wemm1998-03-083-40/+480
| | | | | | | | | | | | | | | | changes are irrelevant (to us), but there is a change that looks like it might affect the detection of older cards with BNC ports. Notes: svn path=/vendor/NetBSD/dist/; revision=34315
| * Import de-971020 from Matt's www.3am-software.com pages.Peter Wemm1997-11-082-5/+11
| | | | | | | | Notes: svn path=/vendor/NetBSD/dist/; revision=31039
* | Declare lockf().Dmitrij Tejblum1998-07-081-0/+8
| | | | | | | | Notes: svn path=/head/; revision=37509
* | Add XPG4.2.Dmitrij Tejblum1998-07-081-0/+10
| | | | | | | | Notes: svn path=/head/; revision=37508
* | Use not-so-new printf formats %r and/or %z instead of %n and/or %+x.Bruce Evans1998-07-089-44/+44
| | | | | | | | Notes: svn path=/head/; revision=37506
* | Fixed (un)sign extension bugs in %+n format. -4 becameBruce Evans1998-07-081-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (long)(u_long)(u_int)-4 = 0x00000000fffffffc on machines with 32-bit ints and 64-bit longs. Restored %z format for printing signed hex. %+x shouldn't have been used since it is an error in userland. Prepared to nuke %n format by cloning it to %r. %n shouldn't have been used because it means something completely different in userland. Now %+r is equivalent to ddb's original %r, and %r is equivalent to ddb's original %n. Ignore '+' flag in combination with unsigned formats %{o,p,u,x}. Notes: svn path=/head/; revision=37505
* | Fixed bogus type of valuep in struct db_variable. It was `int *' andBruce Evans1998-07-0810-56/+57
| | | | | | | | | | | | | | | | became `long *' for alpha, but should always have been `db_expr_t *'. Fixed variable types to match. Notes: svn path=/head/; revision=37504
* | Sync with sys/i386/isa/syscons.c revision 1.265.KATO Takenori1998-07-081-2/+21
| | | | | | | | Notes: svn path=/head/; revision=37502
* | Sync with sys/i386/boot/netboot/Makefile revision 1.19.KATO Takenori1998-07-081-6/+9
| | | | | | | | Notes: svn path=/head/; revision=37501
* | When not acting as a router (ipforwarding=0), silently discard sourceDavid Greenman1998-07-081-10/+21
| | | | | | | | | | | | | | | | routed packets that aren't destined for us, as required by RFC-1122. PR: 7191 Notes: svn path=/head/; revision=37498
* | Fixed db_printf format errors.Bruce Evans1998-07-085-19/+18
| | | | | | | | Notes: svn path=/head/; revision=37497
* | Add support for run-time configuration of core file names. In a nutshell,Sean Eric Fagan1998-07-081-5/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | you can specify the corefile name by using: sysctl -w kern.corefile="format" where format is a pathname (relative or absolute -- default is "%N.core"), with "%N" (process name), "%P" (process ID), and "%U" (user ID) formats. Reviewed by: Mike Smith, with strong requests by Julian :) Notes: svn path=/head/; revision=37496
* | Fixed db_printf format errors (except for ones using broken extensionsBruce Evans1998-07-081-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | (nonstandard %n and '+' with %x), and ones not found by -Wformat on 386's (some db_expr_t's are still printed as ints). I decided not to change the arg type for %n from [unsigned] int to register_t, since about half of the uses of %n are to print plain ints and casting to [unsigned] long for %n is no harder than for %x. Notes: svn path=/head/; revision=37495
* | Add a "-k" option, to specify that the lock file should be keptJohn Polstra1998-07-082-13/+27
| | | | | | | | | | | | | | | | | | rather than removed. Submitted by: Nick Barnes <Nick.Barnes@pobox.com> Notes: svn path=/head/; revision=37493
* | Merge changes from vendor branch.Peter Wemm1998-07-082-4/+22
| | | | | | | | Notes: svn path=/head/; revision=37492
* | Catch a few corner cases where FreeBSD differs enough from BSD 4.4 toJulian Elischer1998-07-084-9/+15
| | | | | | | | | | | | | | | | confuse Soft updates.. Should solve several "dangling deps" panics. Notes: svn path=/head/; revision=37490
* | New flag for internal stdio use to enable dynamic string allocation forPeter Wemm1998-07-081-1/+2
| | | | | | | | | | | | | | | | | | asprintf() implementation. Obtained from: Todd Miller <Todd.Miller@courtesan.com> via OpenBSD Notes: svn path=/head/; revision=37489
* | Use a different hack for building libgcc2: `XCC= ${CC}' instead ofBruce Evans1998-07-082-74/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `XCC= <relative cc> -B<path to relative cc1> ...'. This is equivalent when cc and cc1, etc. have just been bootstrapped by `make world'. The relative versions normally won't work if the target system is not binary compatible. Bootstrapping different versions of gcc without going through `make world' is slightly more broken than before. Uniformized macro names (P1OBJS -> LIB1POBJS, etc.). Don't give full paths to sources. Notes: svn path=/head/; revision=37488
* | Replace my original asprintf() and vasprintf() hacks with somethingPeter Wemm1998-07-084-142/+99
| | | | | | | | | | | | | | | | | | | | | | more cleanly integrated with stdio. This should be faster and cleaner since it doesn't memcpy() the data into a seperate buffer. This lets stdio allocate and manage the buffer and then hand it over to the user. Obtained from: Todd Miller <Todd.Miller@courtesan.com> via OpenBSD Notes: svn path=/head/; revision=37487
* | Use the installed versions of cc, cc1 and cpp for building underscore.Bruce Evans1998-07-081-35/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They have been bootstrapped by `make world' since long before the hacks here were cloned from ../libgcc/Makefile. The versions just built in "../*" normally won't work if the target system is not binary compatible. Don't use OBJS to defeat `make depend'; just put generated sources in SRCS. Added temporary files to CLEANFILES. Notes: svn path=/head/; revision=37486
* | Use the installed version of perl for `make install'. It is nowBruce Evans1998-07-071-11/+3
| | | | | | | | | | | | | | | | bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. Notes: svn path=/head/; revision=37485
* | Add definitions for PT_LOPROC and PT_HIPROC.John Polstra1998-07-072-2/+8
| | | | | | | | | | | | | | Submitted by: Kapil Chowksey <kchowksey@hss.hns.com> Notes: svn path=/head/; revision=37483
* | Use the installed version of perl for `make depend'. It is nowBruce Evans1998-07-071-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. The bootstrapped version has a better chance of working. This makes the fixes and bugs in the previous 3 commits irrelevant. Rev.1.11 was just wrong and rev.1.10 became unnecessary when perl/perl was added to build-tools. Don't expect to build perl/usub without using `make world' or equivalent if you don't have perl installed. Notes: svn path=/head/; revision=37482
* | Use the installed version of mklocale for `make all'. It is nowBruce Evans1998-07-072-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. Don't build or install anything if _BUILD_TOOLS is defined. Then we only want to build and install the mklocale binary, but the layout of the mklocale tree forces recursing to mklocale/data for at least the obj target even when _BUILD_TOOLS is defined. Notes: svn path=/head/; revision=37481
* | Use the installed version of colldef for `make all'. It is nowBruce Evans1998-07-072-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. Don't build or install anything if _BUILD_TOOLS is defined. Then we only want to build and install the colldef binary, but the layout of the colldef tree forces recursing to colldef/data for at least the obj target even when _BUILD_TOOLS is defined. Notes: svn path=/head/; revision=37480
* | Previous fix didn't make it past the Bruce filter. Clean upJordan K. Hubbard1998-07-071-5/+2
| | | | | | | | | | | | | | non-KNF indentation and use err() properly. Notes: svn path=/head/; revision=37478
* | msgs -p (and maybe other flags, too) gives misleading error messages,Jordan K. Hubbard1998-07-071-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | especially on a new install, where /var/msgs/bounds doesn't exist. I moved my bounds file out of the way to create this before and after on a quick 'n' dirty hack, which is probably the 23rd best way to do it, but it works: PR: 6963 Submitted by: Matthew Fuller <fullermd@mortis.futuresouth.com> Notes: svn path=/head/; revision=37476
* | Oops, don't build tools for building games, etc. when we're not buildingBruce Evans1998-07-071-18/+35
| | | | | | | | | | | | | | | | | | | | games, etc. Define _BUILD_TOOLS in sub-makes for building tools. This will be used to avoid using uninstalled tools in colldef and mklocale. Notes: svn path=/head/; revision=37475
* | Use the installed versions of caesar and strfile. They are nowBruce Evans1998-07-071-19/+3
| | | | | | | | | | | | | | | | | | bootstrapped by `make world', and the installed versions are just as likely to work as the installed version of cc if `make' is run directly. Notes: svn path=/head/; revision=37474
* | Build internal tools in build-tools so that they have some chance ofBruce Evans1998-07-071-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | working when the target system is not binary compatible. Use various hacks to work around minor problems in the source and binary tree layouts: - caesar and strfile are built normally (the source layout is good), then installed by copying them to ${WORLDTMP}/usr/bin (they are installed in ${WORLDTMP}/usr/games, but I don't want to put that in $PATH). - colldef and mklocale are built and installed normally. Messy and incomplete relative path searches for them and caesar and strfile can now go away. - internal tools that aren't installed are now built and left lying around for the `make all' pass to use. If the target system is not binary compatible, it is critical that these tools don't get rebuilt. Cleaning of the obj tree before building the internal tools should ensure this. - most internal tools are built using internal build-tools targets, but tn3270 is simpler for a change - it has all the tools in a separate tree, so they can be built using `make all'. Notes: svn path=/head/; revision=37473
* | Changed `#if defined(i386)' to `#ifdef __i386__'.Bruce Evans1998-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | `#if defined(ONE_THING)' is a style bug, and i386 instead of __i386__ is a bug, since i386 is never defined when the kernel is compiled by with the default flags (`gcc -ansi ...'). Here the bug disabled the call to pmap_setvidram(), so ISA video memory was not mapped WC on 686's. The bug may have been masked by bugs in the committer's version of gcc - `gcc -ansi' incorrectly defines i386 for gcc = the version of egcs on the 2.2.6 cdrom. Notes: svn path=/head/; revision=37470
* | Don't depend on gcc's feature of casting lvalues.Bruce Evans1998-07-072-6/+8
| | | | | | | | Notes: svn path=/head/; revision=37467
* | Don't assume that longs are 32 bits in struct dos_partition.Bruce Evans1998-07-073-9/+9
| | | | | | | | Notes: svn path=/head/; revision=37466
* | Quick fix for type mismatches which were fatal if longs aren't 32Bruce Evans1998-07-072-10/+10
| | | | | | | | | | | | | | | | | | | | | | bits. We used a private, wrong, version of `struct dirent' to help break getdirentries(), and we use a silly check that the size of this struct is a power of 2 to help break mount() if getdirentries() would not work. This fix just changes the struct to match `struct dirent' (except for the name length). Notes: svn path=/head/; revision=37465
* | Added a `build-tools' target for internal tools.Bruce Evans1998-07-071-7/+10
| | | | | | | | | | | | | | Honor LDFLAGS for building internal tools. Notes: svn path=/head/; revision=37464
* | Added a `build-tools' target for internal tools.Bruce Evans1998-07-071-3/+5
| | | | | | | | | | | | | | Honor LDFLAGS for building internal tools. Notes: svn path=/head/; revision=37463
* | Finished previous fix - don't forget to add one dummy options headerBruce Evans1998-07-074-52/+40
| | | | | | | | | | | | | | | | | | to CLEANFILES. Fixed lots of style bugs. Notes: svn path=/head/; revision=37462
* | Added a `build-tools' target for internal tools. (linux_genassym mayBruce Evans1998-07-072-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | not actually work for cross compiling, but that is another problem.) Honor LDFLAGS for building internal tools. (Tools should normally be built static to avoid problems with picking up target shared libraries. bsd.kmod doesn't set -static yet, and has some problems with `LDFLAGS=-static ...' in the environment.) Notes: svn path=/head/; revision=37461
* | Added a `build-tools' target for internal tools.Bruce Evans1998-07-072-2/+10
| | | | | | | | Notes: svn path=/head/; revision=37460
* | Added a `build-tools' target for internal tools.Bruce Evans1998-07-071-1/+3
| | | | | | | | | | | | | | Honor LDFLAGS for building internal tools. Notes: svn path=/head/; revision=37459
* | Added a `build-tools' target for internal tools.Bruce Evans1998-07-071-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Honor LDFLAGS for building internal tools. Always build intermediate object files explicitly so that binaries don't change when they are rebuilt. Fixed some style bugs. Notes: svn path=/head/; revision=37458
* | Added a `build-tools' target for internal tools.Bruce Evans1998-07-071-0/+5
| | | | | | | | | | | | | | | | | | Restored a variant of explicit rule for `setup', with modifications to always build setup.o so that `setup' doesn't change every time it is rebuilt because it has a temporary file name in it. Notes: svn path=/head/; revision=37457