]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoThis commit was generated by cvs2svn to compensate for changes in r114237,
Nate Lawson [Tue, 29 Apr 2003 18:39:29 +0000 (18:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r114237,
which included commits to RCS files with non-trunk default branches.

21 years agoImport of Intel ACPI 20030228 vendor distribution
Nate Lawson [Tue, 29 Apr 2003 18:39:29 +0000 (18:39 +0000)]
Import of Intel ACPI 20030228 vendor distribution

21 years agoUnbreak the build.
Hiroki Sato [Tue, 29 Apr 2003 18:27:38 +0000 (18:27 +0000)]
Unbreak the build.

21 years agoEnable wchar_t support in libstdc++.
Alexander Kabaev [Tue, 29 Apr 2003 18:10:45 +0000 (18:10 +0000)]
Enable wchar_t support in libstdc++.

21 years agoAdd an item about the majordomo to Mailman change.
Tom Rhodes [Tue, 29 Apr 2003 17:44:37 +0000 (17:44 +0000)]
Add an item about the majordomo to Mailman change.

Discussed with: bmah

21 years agoAdd media types and options for ATM. While on most ATM cards media cannot
Hartmut Brandt [Tue, 29 Apr 2003 17:23:23 +0000 (17:23 +0000)]
Add media types and options for ATM. While on most ATM cards media cannot
be changed, it is very convenient to be able to toggle SDH/Sonet,
idle/unassigned cells and scrambled mode and to see the carrier
state.

Reviewed by: -arch (if_media.h definitions)

21 years agoWhitespace commit.
Tom Rhodes [Tue, 29 Apr 2003 17:04:48 +0000 (17:04 +0000)]
Whitespace commit.

21 years agoInitialize tbuf in newstat_copyout() too.
Martin Blapp [Tue, 29 Apr 2003 17:03:22 +0000 (17:03 +0000)]
Initialize tbuf in newstat_copyout() too.

Reviewed by: phk

21 years agoUpdate majordomo > mailman at this location also.
Tom Rhodes [Tue, 29 Apr 2003 17:02:01 +0000 (17:02 +0000)]
Update majordomo > mailman at this location also.

Requested by: bmah

21 years agoWe need pccard start too.
Warner Losh [Tue, 29 Apr 2003 15:32:02 +0000 (15:32 +0000)]
We need pccard start too.

21 years agoSet recv.len to zero if we get no response.
Hidetoshi Shimokawa [Tue, 29 Apr 2003 15:02:34 +0000 (15:02 +0000)]
Set recv.len to zero if we get no response.

21 years agoGet correct firmware/model information for multiple unit directories.
Hidetoshi Shimokawa [Tue, 29 Apr 2003 15:01:01 +0000 (15:01 +0000)]
Get correct firmware/model information for multiple unit directories.

21 years agodebug.acpi.disable="processor" is incorrect. Use debug.acpi.disable="cpu" as
Tom Rhodes [Tue, 29 Apr 2003 14:50:34 +0000 (14:50 +0000)]
debug.acpi.disable="processor" is incorrect.  Use debug.acpi.disable="cpu" as
found on line 126 of sys/dev/acpica/acpi_cpu.c.

PR: 51523

21 years agoFix indentation.
Hidetoshi Shimokawa [Tue, 29 Apr 2003 14:05:17 +0000 (14:05 +0000)]
Fix indentation.

21 years agoAdd functions for sending a link-on packet and a RESET_START request.
Hidetoshi Shimokawa [Tue, 29 Apr 2003 13:49:21 +0000 (13:49 +0000)]
Add functions for sending a link-on packet and a RESET_START request.

21 years agoDeprecate machine/limits.h in favor of new sys/limits.h.
Alexander Kabaev [Tue, 29 Apr 2003 13:36:06 +0000 (13:36 +0000)]
Deprecate machine/limits.h in favor of new sys/limits.h.
Change all in-tree consumers to include <sys/limits.h>

Discussed on: standards@
Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>

21 years agoMove CSR definitions to iec*.h from firewirereg.h.
Hidetoshi Shimokawa [Tue, 29 Apr 2003 13:27:13 +0000 (13:27 +0000)]
Move CSR definitions to iec*.h from firewirereg.h.

21 years agoDo the same thing for stat64_copyout() as we already
Martin Blapp [Tue, 29 Apr 2003 12:36:03 +0000 (12:36 +0000)]
Do the same thing for stat64_copyout() as we already
do for newstat_copyout().

Lie about disk drives which are character devices
in FreeBSD but block devices under Linux.

PR: 37227
Submitted by: Vladimir B. Grebenschikov <vova@sw.ru>
Reviewed by: phk
MFC after: 2 weeks

21 years agonew netstart
John W. De Boskey [Tue, 29 Apr 2003 12:26:37 +0000 (12:26 +0000)]
new netstart
atm should be correct but is commented out pending appropriate testing.

Submitted by: mtm

21 years agoAdd rc.subr (found during new /etc/netstart testing)
John W. De Boskey [Tue, 29 Apr 2003 12:08:43 +0000 (12:08 +0000)]
Add rc.subr (found during new /etc/netstart testing)

21 years agoAdd NetBSD 1.6.1
Wolfram Schneider [Tue, 29 Apr 2003 12:07:11 +0000 (12:07 +0000)]
Add NetBSD 1.6.1

21 years agoAdd entries for Multicast DNS.
Matthew N. Dodd [Tue, 29 Apr 2003 09:54:06 +0000 (09:54 +0000)]
Add entries for Multicast DNS.

21 years agoRevamp the newbus functions:
Marcel Moolenaar [Tue, 29 Apr 2003 09:50:03 +0000 (09:50 +0000)]
Revamp the newbus functions:
o  do not use the in* and out* functions. These functions are used by
   legacy drivers and thus must have ia32 compatible behaviour. Hence,
   they  need to have fences. Using these functions for newbus would
   then pessimize performance.
o  remove the conditional compilation of PIO and/or MEMIO support. It's
   a PITA without having any significant benefit. We always support them
   both. Since there are no I/O ports on ia64 (they are simulated by the
   chipset by translating memory mapped I/O to predefined uncacheable
   memory regions) the only difference between PIO and MEMIO is in the
   address calculation. There should be enough ILP that can be exploited
   here that making these computations compile-time conditional is not
   worth it. We now also don't use the read* and write* functions.
o  Add the missing *_8 variants. They were missing, although not missed.
   It's for completeness.
o  Do not add the fences that were present in the low-level support
   functions here. We're using uncacheable memory, which means that
   accesses are in program order. Change the barrier implementation
   to not only do a memory fence, but also an acceptance fence. This
   should more reliably synchronize drivers with the hardware. The
   memory fence enforces ordering, but does not imply visibility (ie
   the access does not necessarily have happened). This is what the
   acceptance deals with.

cpufunc.h cleanup:
o  Remove the low-level memory mapped I/O support functions. They are
   not used. Keep the low-level I/O port access functions for legacy
   drivers and add fences to ensure ia32 compatibility.
o  Remove the syscons specific functions now that we have moved the
   proper definitions where they belong.
o  Replace the ia64_port_address() and ia64_memory_address() functions
   with macros. There's a bigger change inline functions get inlined
   when there aren't function callsi and the calculations are simply
   enough to do it with macros.

Replace the one reference to ia64_memory address in mp_machdep.c to
use the macro.

21 years agopanic() doesn't need \n
SUZUKI Shinsuke [Tue, 29 Apr 2003 08:43:56 +0000 (08:43 +0000)]
panic() doesn't need \n

Obtained from: KAME
MFC after: 2 days

21 years agoDocument the IP_RECVIF socket option.
Matthew N. Dodd [Tue, 29 Apr 2003 08:37:52 +0000 (08:37 +0000)]
Document the IP_RECVIF socket option.

Submitted by:  Bruce M Simpson

21 years agoDocument VM86_INTCALL.
Matthew N. Dodd [Tue, 29 Apr 2003 08:35:28 +0000 (08:35 +0000)]
Document VM86_INTCALL.

Submitted by:  Bruce M Simpson

21 years agoAdd module data and version to the atm_subr and reference this info from the
Hartmut Brandt [Tue, 29 Apr 2003 08:07:44 +0000 (08:07 +0000)]
Add module data and version to the atm_subr and reference this info from the
(currently) only consumer (en).

Add a sysctl node hw.atm where the atm drivers will hook on their hardware
sysctl sub-trees.

Make atm_ifattach call if_attach and remove the corresponding call to if_attach
from en. Create atm_ifdetach and use that in en.

While the last change actually changes the interface this is not a problem in
practice because the only other consumer of this API is an older LANAI driver
on the net, that is not ready for current anyway.

Reviewed by: -atm

21 years agoKeep syscons specific I/O functions internal/specific to syscons on
Marcel Moolenaar [Tue, 29 Apr 2003 07:06:44 +0000 (07:06 +0000)]
Keep syscons specific I/O functions internal/specific to syscons on
ia64 by defining them in terms of newbus. Add a static inline for
fillw(), which doesn't have anything to do with I/O.
It's still ugly, but now the ugliness can be removed from ia64
specific headers.

21 years agoMove the mktemp invocation inside motd_start to avoid creating temp
Doug Barton [Tue, 29 Apr 2003 06:56:40 +0000 (06:56 +0000)]
Move the mktemp invocation inside motd_start to avoid creating temp
files when uptdate_motd and clear_tmp_enable are both NO.

Submitted by: Alex Deiter <tiamat@komi.mts.ru>

21 years ago - Remove unnecessary useracc() calls from osf1_sigreturn().
Alan Cox [Tue, 29 Apr 2003 06:33:03 +0000 (06:33 +0000)]
 - Remove unnecessary useracc() calls from osf1_sigreturn().

21 years agoFix typo on O2Micro devices names.
Warner Losh [Tue, 29 Apr 2003 05:59:04 +0000 (05:59 +0000)]
Fix typo on O2Micro devices names.

Submitted by: noda-san

21 years ago(5) from last commit was omitted by mistake:
Warner Losh [Tue, 29 Apr 2003 05:47:14 +0000 (05:47 +0000)]
(5) from last commit was omitted by mistake:

(5) Return immediately from fxp_intr() if gone is set.

21 years agoFix 5 bugs:
Warner Losh [Tue, 29 Apr 2003 05:45:09 +0000 (05:45 +0000)]
Fix 5 bugs:
1) always call fxp_stop in fxp_detach.  Since we don't read from
   the card, there's no need to carefully look at things with
   bus_child_present.
2) Call FXP_UNLOCK() before calling bus_teardown_intr to avoid
   a possible deadlock reported by jhb.
3) add gone to the softc.  Set it to true in detach.
4) Return immediately if gone is true in fxp_ioctl
5) Return immediately if gone is true in fxp_intr

21 years agoSort lines.
Marcel Moolenaar [Tue, 29 Apr 2003 05:38:41 +0000 (05:38 +0000)]
Sort lines.

21 years agoMFi386: revision 1.1086.
Yoshihiro Takahashi [Tue, 29 Apr 2003 03:47:16 +0000 (03:47 +0000)]
MFi386: revision 1.1086.

21 years agoNew release note: tw(4) removal.
Bruce A. Mah [Tue, 29 Apr 2003 03:33:39 +0000 (03:33 +0000)]
New release note:  tw(4) removal.

Also remove from hardware notes.

21 years agoDon't hold a driver lock across bus_teardown_intr. Jhb points out
Warner Losh [Tue, 29 Apr 2003 03:22:39 +0000 (03:22 +0000)]
Don't hold a driver lock across bus_teardown_intr.  Jhb points out
that one cannot generally hold a lock and call bus_teardown_intr.
This is race free with wi_intr because bus_teardown_intr won't allow
wi_intr to be called after it returns.

# jeff hsu points out that there might be a race between this unlock
# and wi_start.  While that may be true also, it won't impact this commit.

Submitted by: jhb

21 years agoUse 16 byte alignment for internal labels, 32 bytes is excessive.
Jake Burkholder [Tue, 29 Apr 2003 00:53:13 +0000 (00:53 +0000)]
Use 16 byte alignment for internal labels, 32 bytes is excessive.

21 years ago- Fix placement of cvs ids in previous commit to match .S files in libc.
Jake Burkholder [Tue, 29 Apr 2003 00:37:41 +0000 (00:37 +0000)]
- Fix placement of cvs ids in previous commit to match .S files in libc.
- gcc uses 32 byte alignment for functions regardless of profiling, so
  follow suit.

21 years agoo Don't add a scope system thread's KSE to the list of available
Daniel Eischen [Mon, 28 Apr 2003 23:56:12 +0000 (23:56 +0000)]
o Don't add a scope system thread's KSE to the list of available
  KSEs when it's thread exits; allow the GC handler to do that.

o Make spinlock/spinlock critical regions.

The following were submitted by davidxu

  o Alow thr_switch() to take a null mailbox argument.

  o Better protect cancellation checks.

  o Don't set KSE specific data when creating new KSEs; rely on the
    first upcall of the KSE to set it.

  o Add the ability to set the maximum concurrency level and do this
    automatically.  We should have a way to enable/disable this with
    some sort of tunable because some applications may not want this
    to be the default.

  o Hold the scheduling lock across thread switch calls.

  o If scheduling of a thread fails, make sure to remove it from the list
    of active threads.

  o Better protect accesses to a joining threads when the target thread is
    exited and detached.

  o Remove some macro definitions that are now provided by <sys/kse.h>.

  o Don't leave the library in threaded mode if creation of the initial
    KSE fails.

  o Wakeup idle KSEs when there are threads ready to run.

  o Maintain the number of threads active in the priority queue.

21 years agoThis file is unused.
Jake Burkholder [Mon, 28 Apr 2003 23:32:55 +0000 (23:32 +0000)]
This file is unused.

21 years agoAdd definitions for WCHAR_MIN and WCHAR_MAX.
Alexander Kabaev [Mon, 28 Apr 2003 22:40:05 +0000 (22:40 +0000)]
Add definitions for WCHAR_MIN and WCHAR_MAX.

21 years agoProperly define CHAR_MIN/CHAR_MAX taking into account whether or
Alexander Kabaev [Mon, 28 Apr 2003 22:37:40 +0000 (22:37 +0000)]
Properly define CHAR_MIN/CHAR_MAX taking into account whether or
not __CHAR_UNSIGNED__ is defined.

21 years agoRemove unmatched #endif left over incidenntally in last commit.
Alexander Kabaev [Mon, 28 Apr 2003 22:35:34 +0000 (22:35 +0000)]
Remove unmatched #endif left over incidenntally in last commit.

21 years ago(forced commit) Previous patch was incorrectly attributed. It was actually:
Archie Cobbs [Mon, 28 Apr 2003 22:07:40 +0000 (22:07 +0000)]
(forced commit) Previous patch was incorrectly attributed. It was actually:

Submitted by: jordbaer@mac.com

21 years agoDefine AFMT_S16_NE for "16-bit signed format in machine's
Martin Blapp [Mon, 28 Apr 2003 21:38:38 +0000 (21:38 +0000)]
Define AFMT_S16_NE for "16-bit signed format in machine's
native endian convention. Needed by newer OSS ports.

Reviewed by: orion
PR: 27270
MFC: 2 weeks

21 years agoUse the correct link entry for walking the list of threads.
Daniel Eischen [Mon, 28 Apr 2003 21:35:06 +0000 (21:35 +0000)]
Use the correct link entry for walking the list of threads.

While I'm here, use the TAILQ_FOREACH macro instead of a more
manual method which was inherited from libc_r (so we could
remove elements from the list which isn't needed for libpthread).

Submitted by: Kazuaki Oda <kaakun@highway.ne.jp>

21 years agoAdd missing braces.
Archie Cobbs [Mon, 28 Apr 2003 20:38:05 +0000 (20:38 +0000)]
Add missing braces.

Submitted by: Andrew Lankford <arlankfo@141.com>

21 years agoUse inlines for loading and storing page table entries. Use cmpxchg8b for
Jake Burkholder [Mon, 28 Apr 2003 20:35:36 +0000 (20:35 +0000)]
Use inlines for loading and storing page table entries.  Use cmpxchg8b for
the PAE case to ensure idempotent 64 bit loads and stores.

Sponsored by: DARPA, Network Associates Laboratories

21 years agoTriggered by obtaining a Rawhide for my machine farm add some more detail to
Wilko Bulte [Mon, 28 Apr 2003 20:04:31 +0000 (20:04 +0000)]
Triggered by obtaining a Rawhide for my machine farm add some more detail to
it's section. More to come later.

21 years agoArgh! We want to return the old signal set when the error return is zero
John Baldwin [Mon, 28 Apr 2003 19:43:11 +0000 (19:43 +0000)]
Argh!  We want to return the old signal set when the error return is zero
(i.e. success), not non-zero (failure).

Submitted by: tegge
Pointy hat to: jhb

21 years agoMerge from vendor branch:
Garrett Wollman [Mon, 28 Apr 2003 18:57:25 +0000 (18:57 +0000)]
Merge from vendor branch:
- No more DST in Pakistan
- Update some historical information
- New zone for Rothera station in the Antarctic.

PR: misc/51495

21 years agoThis commit was generated by cvs2svn to compensate for changes in r114170,
Garrett Wollman [Mon, 28 Apr 2003 18:51:20 +0000 (18:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r114170,
which included commits to RCS files with non-trunk default branches.

21 years agoUpdate to latest drop from Arthur Olson and the gang.
Garrett Wollman [Mon, 28 Apr 2003 18:51:20 +0000 (18:51 +0000)]
Update to latest drop from Arthur Olson and the gang.

Obtained from: ftp://elsie.nci.nih.gov/pub/tzdata2003

21 years agoMake IRQ shareable for the cardbus case too.
Warner Losh [Mon, 28 Apr 2003 18:50:59 +0000 (18:50 +0000)]
Make IRQ shareable for the cardbus case too.

21 years agostyle(9)
Mike Barcroft [Mon, 28 Apr 2003 18:32:19 +0000 (18:32 +0000)]
style(9)

21 years agoI accidentally leaked this debugging tool in with my last commit.
Poul-Henning Kamp [Mon, 28 Apr 2003 17:57:12 +0000 (17:57 +0000)]
I accidentally leaked this debugging tool in with my last commit.

Disable it with a direct warning.

21 years ago - Lock the vm_object when performing swap_pager_isswapped().
Alan Cox [Mon, 28 Apr 2003 17:13:53 +0000 (17:13 +0000)]
 - Lock the vm_object when performing swap_pager_isswapped().
 - Assert that the vm_object is locked in swap_pager_isswapped().

21 years agodocument mode directive
Sam Leffler [Mon, 28 Apr 2003 16:47:40 +0000 (16:47 +0000)]
document mode directive

21 years agoadd a "mode" directive to specify the operating mode for multi-mode devices;
Sam Leffler [Mon, 28 Apr 2003 16:37:38 +0000 (16:37 +0000)]
add a "mode" directive to specify the operating mode for multi-mode devices;
this is mostly intended for use with multi-mode 802.11 devices that support
some combination of 11a, 11b, and 11g

21 years agoo add support for multi-mode devices like 802.11 wireless cards that support
Sam Leffler [Mon, 28 Apr 2003 16:35:51 +0000 (16:35 +0000)]
o add support for multi-mode devices like 802.11 wireless cards that support
  11a/b/g by adding an optional 3-bit mode field
o correct the spelling of OFDM (was ODFM)
o add an 802.11 subtype option for turbo mode: the phy is clocked at 2x the
  normal clock rate; note this can be applied to both OFDM in 11a and OFDM
  in 11g mode (and possibly DS11 in 11b for certain phy's)
o add 802.11 CCK aliases for 11b/11g rates--the more common terminology

21 years agoInstall the gstat manual page.
Tim J. Robbins [Mon, 28 Apr 2003 11:54:01 +0000 (11:54 +0000)]
Install the gstat manual page.

21 years agoWhen updating a single entry (i.e. when the `-u' option is given),
Jacques Vidrine [Mon, 28 Apr 2003 11:41:56 +0000 (11:41 +0000)]
When updating a single entry (i.e. when the `-u' option is given),
do not add the "\xFF" "VERSION" key --- it should only be added once
ALL entries have been updated.

While I'm here, correct the logic that detects whether or not the
user-ID has changed so that it works even if all entries have not
yet been updated to the new format.

Users missing-in-action were
Reported by: tjr, Vallo Kallaste <vallo@estcard.ee>,
    leafy <leafy@leafy.idv.tw>

Sponsored by: DARPA, Network Associates Laboratories

21 years agoxten has gone.
Maxim Konovalov [Mon, 28 Apr 2003 08:36:45 +0000 (08:36 +0000)]
xten has gone.

21 years agosync with the latest KAME (just a cosmetic change)
SUZUKI Shinsuke [Mon, 28 Apr 2003 08:21:57 +0000 (08:21 +0000)]
sync with the latest KAME (just a cosmetic change)

MFC after: 1 day

21 years agoPull the pst driver out from under GAINT.
Søren Schmidt [Mon, 28 Apr 2003 08:10:27 +0000 (08:10 +0000)]
Pull the pst driver out from under GAINT.

21 years agoRename g_bde_get_sector() to g_bde_get_keysector() and pick up the
Poul-Henning Kamp [Mon, 28 Apr 2003 06:38:31 +0000 (06:38 +0000)]
Rename g_bde_get_sector() to g_bde_get_keysector() and pick up the
offset from the work packet.

21 years agoOnly attempt total cache-purge once in case of failure.
Poul-Henning Kamp [Mon, 28 Apr 2003 06:19:41 +0000 (06:19 +0000)]
Only attempt total cache-purge once in case of failure.

21 years agoDon't pass pointers to kernel data structures through 32-bit fields
Scott Long [Mon, 28 Apr 2003 06:16:20 +0000 (06:16 +0000)]
Don't pass pointers to kernel data structures through 32-bit fields
as 64-bit architectures won't like this.  Use virtual array indexes
instead.  This *should* allow the driver to work on 64-bit platforms,
though it's still not endian clean.

21 years agoBetter criteria for skipping disk reading BIO_READ work packets.
Poul-Henning Kamp [Mon, 28 Apr 2003 06:15:39 +0000 (06:15 +0000)]
Better criteria for skipping disk reading BIO_READ work packets.

21 years agouma_zone_set_obj() must perform VM_OBJECT_LOCK_INIT() if the caller
Alan Cox [Mon, 28 Apr 2003 06:11:32 +0000 (06:11 +0000)]
uma_zone_set_obj() must perform VM_OBJECT_LOCK_INIT() if the caller
provides storage for the vm_object.

21 years agoExplicitly set the sector state to JUNK if we encounter a read-error.
Poul-Henning Kamp [Mon, 28 Apr 2003 06:10:35 +0000 (06:10 +0000)]
Explicitly set the sector state to JUNK if we encounter a read-error.

21 years agoFinish the vm_object locking for this file, including holding the vm_object
Alan Cox [Mon, 28 Apr 2003 05:40:45 +0000 (05:40 +0000)]
Finish the vm_object locking for this file, including holding the vm_object
lock when accessing the vm_object's flags or calling vm_page_lookup().

21 years ago - Define VM_OBJECT_LOCK_INIT().
Alan Cox [Mon, 28 Apr 2003 03:45:35 +0000 (03:45 +0000)]
 - Define VM_OBJECT_LOCK_INIT().
 - Avoid repeatedly mtx_init()ing and mtx_destroy()ing the vm_object's lock
   using UMA's uminit callback, in this case, vm_object_zinit().

21 years agoMake compiled on RELEGN_4
Hidetoshi Shimokawa [Mon, 28 Apr 2003 03:12:16 +0000 (03:12 +0000)]
Make compiled on RELEGN_4

21 years agoThis file does not seem to serve any purpose. It has never been hooked up
Tim J. Robbins [Mon, 28 Apr 2003 00:38:48 +0000 (00:38 +0000)]
This file does not seem to serve any purpose. It has never been hooked up
to the build, and performs a subset of the functionality that the getconf(1)
utility performs.

21 years agoAdd years in which some events occurred. I wasn't able to confirm
Greg Lehey [Mon, 28 Apr 2003 00:32:10 +0000 (00:32 +0000)]
Add years in which some events occurred.  I wasn't able to confirm
that the dates themselves are correct.

Clarify the date when DoJ dropped its suit against IBM.

21 years agoInitialize error.
Warner Losh [Sun, 27 Apr 2003 23:44:05 +0000 (23:44 +0000)]
Initialize error.

21 years agoAdd a -C (create) option for newsyslog, and a 'C' flag for entries in the
Garance A Drosehn [Sun, 27 Apr 2003 23:37:31 +0000 (23:37 +0000)]
Add a -C (create) option for newsyslog, and a 'C' flag for entries in the
config file.  If the -C option is specified once, then newsyslog will create
any entries which specify the 'C' option.  If -C is given twice, then
newsyslog will create all missing log files.  Some of this code comes
from NetBSD, although this implementation does not exactly match theirs.

Reviewed by: freebsd-arch
MFC after: 10 days

21 years agoAdd NOSHLIBS.
David E. O'Brien [Sun, 27 Apr 2003 21:44:52 +0000 (21:44 +0000)]
Add NOSHLIBS.
If one is using NOSHARED, why build the libs.

21 years agoAdd a warning about the impending demise of rcOG.
Doug Barton [Sun, 27 Apr 2003 21:28:37 +0000 (21:28 +0000)]
Add a warning about the impending demise of rcOG.

21 years agoFix for dynamic linking.
Jake Burkholder [Sun, 27 Apr 2003 21:24:05 +0000 (21:24 +0000)]
Fix for dynamic linking.

Submitted by: Alex Deiter <tiamat@komi.mts.ru>

21 years agoReplace the return value of rfork_thread(3) in its manual page
Robert Drehmel [Sun, 27 Apr 2003 21:07:27 +0000 (21:07 +0000)]
Replace the return value of rfork_thread(3) in its manual page
function prototype with `pid_t' to match the declaration in
<unistd.h>.

21 years agoCorrect the return value of vfork(2) and rfork(2) in their
Robert Drehmel [Sun, 27 Apr 2003 21:01:34 +0000 (21:01 +0000)]
Correct the return value of vfork(2) and rfork(2) in their
manual page function prototypes.

21 years agoSCSI Quirks for:
Nate Lawson [Sun, 27 Apr 2003 20:47:06 +0000 (20:47 +0000)]
SCSI Quirks for:
    Casio QV-R3 USB camera, which appears to use a Pentax chipset
    M-Systems DiskOnKey USB flash key
    Feiya "slider" dual-slot flash reader
    SmartDisk (Mitsumi) USB floppy drive

PR: kern/46545, kern/47793, kern/50020, kern/50226

21 years agoWrap gperf in NO_CXX as it needs the C++ to compile.
David E. O'Brien [Sun, 27 Apr 2003 20:14:05 +0000 (20:14 +0000)]
Wrap gperf in NO_CXX as it needs the C++ to compile.

21 years ago - Tell witness that holding two or more vm_object locks is okay.
Alan Cox [Sun, 27 Apr 2003 20:07:57 +0000 (20:07 +0000)]
 - Tell witness that holding two or more vm_object locks is okay.
 - In vm_object_deallocate(), lock the child when removing the parent
   from the child's shadow list.

21 years agoIt was a misunderstanding on my part; all DEC variants
Ruslan Ermilov [Sun, 27 Apr 2003 18:45:07 +0000 (18:45 +0000)]
It was a misunderstanding on my part; all DEC variants
are based off of the same SmartRAID V Millennium board.

Requested by: obrien
Reviewed by: scottl

21 years agoMake 2/3 of my symbol cards work again. The 3rd symbol card card has
Warner Losh [Sun, 27 Apr 2003 15:56:05 +0000 (15:56 +0000)]
Make 2/3 of my symbol cards work again.  The 3rd symbol card card has
firmware 1.50.12, but 2.20.1 and 3.10.4 work.  The 1.50.12 card gets
past doing dhclient, but hangs on transmit a little after the ip
address is set.  The 1.50.12 card has always been 'cranky' and Bill
Paul's tearing it apart at FreeBSD '99 hasn't helped.

sc_reset and sc_enable are subtlely different things.  sc_reset means
exactly "WI_CMD_INI has happened."  sc_enabled means "WI_CMD_ENABLE
has been sent to the card without a WI_CMD_DISABLE following."  This
is a little different than what they mean on NetBSD (where both of
these concepts are comingled).  NetBSD will try to only enable symbol
cards once, while FreeBSD only sends the WI_CMD_INI once.

Also, only try once to reset the card on a symbol.

This makes the lucent cards no worse than before, but apparently not
much better either.  I got fewer hangs in my testing than I have in
the past, but I don't know if it is statistically significant or not.

21 years agoBack out the casts that rid us of warnings, but paper over the broken
Warner Losh [Sun, 27 Apr 2003 13:32:21 +0000 (13:32 +0000)]
Back out the casts that rid us of warnings, but paper over the broken
by design xdr routines.  And I'm not going to bite off fixing xdr.

21 years agomake "killall -j" not core dump.
Warner Losh [Sun, 27 Apr 2003 07:17:27 +0000 (07:17 +0000)]
make "killall -j" not core dump.

Submitted by: Joe Marcus Clarke in current@

21 years agoFix warnings:
Warner Losh [Sun, 27 Apr 2003 07:09:33 +0000 (07:09 +0000)]
Fix warnings:
o Add break; to default: label
o Cast args to clnt_call to be xdrproc_t type.

21 years agoAdd a dire warning about the impending demise of the old rc system.
Doug Barton [Sun, 27 Apr 2003 07:08:07 +0000 (07:08 +0000)]
Add a dire warning about the impending demise of the old rc system.

Suggested by: scottl

21 years agoAdd back # accidentally deleted in 1.54
Warner Losh [Sun, 27 Apr 2003 06:16:52 +0000 (06:16 +0000)]
Add back # accidentally deleted in 1.54

21 years agoOBE
Warner Losh [Sun, 27 Apr 2003 05:51:12 +0000 (05:51 +0000)]
OBE

21 years agoxten isn't needed after tw is gone.
Warner Losh [Sun, 27 Apr 2003 05:49:53 +0000 (05:49 +0000)]
xten isn't needed after tw is gone.

Approved by: re@ (scottl)

21 years agoxten user no longer needed.
Warner Losh [Sun, 27 Apr 2003 05:45:29 +0000 (05:45 +0000)]
xten user no longer needed.

21 years agoThis is no longer needed after tw is gone.
Warner Losh [Sun, 27 Apr 2003 05:43:42 +0000 (05:43 +0000)]
This is no longer needed after tw is gone.

Approved by: re@ (scottl)

21 years agoVarious changes to vm_object_shadow(): (1) update the vm_object locking,
Alan Cox [Sun, 27 Apr 2003 05:43:03 +0000 (05:43 +0000)]
Various changes to vm_object_shadow(): (1) update the vm_object locking,
(2) remove a pointless assertion, and (3) make a trivial change to a
comment.

21 years agoThese are no longer needed after tw is gone.
Warner Losh [Sun, 27 Apr 2003 05:42:07 +0000 (05:42 +0000)]
These are no longer needed after tw is gone.

Approved by: re@ (scottl)