Commit Graph

70893 Commits

Author SHA1 Message Date
he e3ab5a24f9 Format fixup. size_t can be long, so cast to u_long and print with %ld. 2000-10-11 21:02:05 +00:00
dan d173359000 format warning fixes from he, after testing on 64-bit elf (alpha) 2000-10-11 20:46:07 +00:00
he ecaef6e7a4 Better fix for format warnings.
The type of time_t varies between ports, so we need to cast
before printing.  It appears to be sufficient and safe to use (int).
2000-10-11 20:25:29 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
thorpej 7f3f19a068 Fix int vs. long format string botch. 2000-10-11 19:30:04 +00:00
thorpej ec185ae25b Fix a format string goof. 2000-10-11 19:28:43 +00:00
thorpej 8035db5770 Format string fixes. 2000-10-11 19:16:39 +00:00
thorpej ef3b320608 Back out last change. It was not a format string cleanup at all,
but rather a piece of SMP development code not ready for committing.
2000-10-11 19:10:19 +00:00
thorpej e31647affd int vs. pointer format/argument confusion. 2000-10-11 18:50:12 +00:00
phil cc543121c5 Document the behaviour with consecutive separator characters. 2000-10-11 18:26:04 +00:00
abs 5d868db883 When determining the filesystem type automatically, only try the raw device
for the disklabel if the given device fails with EBUSY. Also make disklabel
errors non fatal (just fall back to ffs as per pre-autofilesystem behaviour)
Based on further discussion with Launey Thomas <ljt@alum.mit.edu>
2000-10-11 17:56:05 +00:00
mhitch 28c4cc2851 Use uncached memory so this has a chance of working on R4x00 DECstations.
My 5000/260 hung hard when a PMAG-D board was probed during boot.
2000-10-11 17:55:56 +00:00
thorpej 76589fafd4 - uvmspace_share(): If p2 has a vmspace already, make sure to deactivate
it and free it as appropriate.  Activate p2's new address space once
  it references p1's.
- uvm_fork(): Make sure the child's vmspace is NULL before calling
  uvmspace_share() (the child doens't have one already in this case).

These changes do not change the behavior for the current use of
uvmspace_share() (vfork(2)), but make it possible for an already
running process (such as a kernel thread) to properly attach to
another process's address space.
2000-10-11 17:27:58 +00:00
thorpej 47a2016cdc - Change SAVE_HINT() to take a "check" value. This value is compared
to the contents of the hint in the map, and the hint saved in the
  map only if the two values match.  When an unconditional save is
  required, the "check" value passed should be map->hint (and the
  compiler will optimize the test away).  When deleting a map entry,
  the new SAVE_HINT() will only change the hint if the entry being
  deleted was the hint value (thus preserving any meaningful hint
  that may have been there previously, rather than stomping on it).
- Add a missing hint update when deleting the map entry in
  uvm_map_entry_unlink().  This is the fix for kern/11125, from
  ITOH Yasufumi <itohy@netbsd.org>.
2000-10-11 17:21:11 +00:00
thorpej 2198741306 Use ether_ioctl(). 2000-10-11 16:57:45 +00:00
thorpej 339724bb6f NetBSD 1.5H: struct ifnet changed. 2000-10-11 16:55:11 +00:00
thorpej fabbb33a60 Implement ether_ioctl(), ioctl operations common to all Ethernet
interfaces.
2000-10-11 16:53:41 +00:00
thorpej 7e2259325b Change the if_reset vector to if_init, and add an if_stop. if_stop
also takes an argument indicating whether or not the interface should
also be disabled (i.e. power removed, resources freed, etc.)
2000-10-11 16:52:34 +00:00
itojun 0eafc475c2 /etc/mail/aliases, not /etc/aliases. PR 10167. 2000-10-11 16:51:55 +00:00
itojun 81d0adc881 string length computation bug. PR 8676. 2000-10-11 16:47:22 +00:00
ad e764b56887 Add another. 2000-10-11 15:23:05 +00:00
onoe fcde56c9ba Add flags to indicate that tlp_init() should set some more BUSMODE bits.
TULIPF_BLE	/* data is big endian */
	TULIPF_DBO	/* descriptor is big endian */
These setting is required for Big-endian bus front-end (such as APbus for
newsmips) to work with tulip.  Also,
	sc_maxburst
member is added to the tulip_softc to limit the maximum burst length.
This member defaults to zero which means no restriction for burst length.
2000-10-11 14:59:52 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
hubertf 745fefd1c6 Xref pkgsrc/Packages.txt 2000-10-11 14:00:58 +00:00
simonb ccfb69e019 Update for the 1.5 release. 2000-10-11 13:04:12 +00:00
simonb 2cac9518f5 'ex' is not in the root filesystem if /usr is a separate partition. 2000-10-11 12:59:22 +00:00
is c187885502 Added Aarhus. 2000-10-11 12:23:50 +00:00
tsutsui 6c7f106ad2 Fix typo. (s/cobolt/cobalt/)
Pointed out by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>.
2000-10-11 12:18:45 +00:00
is 87dfefb8c5 Added a couple of entries. Corrected some sorting errors. 2000-10-11 12:17:35 +00:00
tsutsui 6af4346937 Remove description about new ports on 1.4. 2000-10-11 11:56:28 +00:00
tsutsui 43ce57ab95 Fix rawrite path in news68k part. 2000-10-11 11:47:46 +00:00
tsutsui d49da72a2f Add some description for news68k. 2000-10-11 11:46:02 +00:00
fvdl 38dbc727ef Don't abort when trying to remove a directory marked as obsolete that does
not exist.
2000-10-11 11:10:46 +00:00
fvdl 16d465114d Add target_realpath(), a function that expands a pathname on the
"target" filesystem, i.e. a filesystem that will probably be
mounted on /mnt during install/upgrade, but will be / when
the system is booted. Needed to deal with absolute symbolic links.
This function is (unfortunately) a verbatim copy of realpath() from libc,
with prefix handling added.
2000-10-11 11:10:11 +00:00
hubertf bf24eb4e3f Check if $PKG_PATH is set AND contains something useful. Stops
pkg_info from spewing.
2000-10-11 11:09:20 +00:00
hubertf 5f69d95c26 Check right variable to see if it's a URL (pkg -> cp) 2000-10-11 11:08:04 +00:00
fvdl 57ffac419f Add message for a.out library move failure case. 2000-10-11 11:06:47 +00:00
fvdl d8be7da3a1 Externalize concat_paths, it is used by arch/i386/md.c now. Add
target_realpath prototype.
2000-10-11 11:06:03 +00:00
fvdl beea1cfd99 Add 2 defines for a.out library move code. 2000-10-11 11:05:03 +00:00
fvdl 90d488a637 Fix compare logic error in check for installation of seperate kernel
sets.

Add code to deal with moving a.out libraries to /emul/aout for
upgrading.
2000-10-11 11:04:43 +00:00
hubertf b31af88872 fix indentation 2000-10-11 11:01:41 +00:00
thorpej 99de26f4ee Repair a dual-.if construct that certainly didn't work with
any version of make(1) on my systems...
2000-10-11 05:45:50 +00:00
itojun 874bb03cac make the directory suitable with with latest racoon
- add random.c.
- don't suppress warning.
2000-10-11 05:41:18 +00:00
briggs 1e8e167a26 Fix format warnings 2000-10-11 04:57:42 +00:00
pk 0abaf0f210 Fix compilation errors: unused variable & missing function return values. 2000-10-10 23:33:52 +00:00
lukem 7bed8ad731 - move arch setting logic from main -> macros, and change as follows:
- define string `A' to contain the arch name (defaults to the port
	  name)
	- define registers \*A and _\*A if
- deprecate _FOR_RELEASE, and just use FOR_RELEASE
2000-10-10 22:03:41 +00:00
jeffs 4912e50a59 Make memcpy and memmove use bcopy assembly for mips. Tweak forward copy
code for backward copy to make overlap copy faster.  This happens in
some SW like sleepycat db.  Use temp labels in order to not confused
the profiling tools.
2000-10-10 21:51:54 +00:00
he dd0d61e300 Use %lx instead of %x with _kvm_err when arg is u_long. 2000-10-10 20:44:16 +00:00
is 2e08b549a5 Format string cleanup, by sommerfeld. 2000-10-10 20:41:20 +00:00
jeffs bdbb241be6 Fix race between pmap_enter() and pagedaemon. If we are low on memory and
pmap_enter() cannot allocate the segmap return failure if PMAP_CANFAIL
instead of sleeping.  Otherwise panic.  Both alpha and i386 do this.  Do
not pmap_enter_pv() until after this is done so the data structures are
not partially allocated.  This should prevent pmap_page_protect() from
getting stuck when called from pagedaemon.
2000-10-10 20:39:42 +00:00