]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoAdd an option for more fully enabling linux compatibility.
jkh [Tue, 6 Jul 1999 08:45:40 +0000 (08:45 +0000)]
Add an option for more fully enabling linux compatibility.

25 years agoExclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy directory.
hosokawa [Tue, 6 Jul 1999 08:24:35 +0000 (08:24 +0000)]
Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy directory.

25 years agoUpdate to new struct sigcontext after SA_SIGINFO changes
cracauer [Tue, 6 Jul 1999 07:15:11 +0000 (07:15 +0000)]
Update to new struct sigcontext after SA_SIGINFO changes

25 years agoImplement SA_SIGINFO for i386. Thanks to Bruce Evans for much more
cracauer [Tue, 6 Jul 1999 07:13:48 +0000 (07:13 +0000)]
Implement SA_SIGINFO for i386. Thanks to Bruce Evans for much more
than a review, this was a nice puzzle.

This is supposed to be binary and source compatible with older
applications that access the old FreeBSD-style three arguments to a
signal handler.

Except those applications that access hidden signal handler arguments
bejond the documented third one. If you have applications that do,
please let me know so that we take the opportunity to provide the
functionality they need in a documented manner.

Also except application that use 'struct sigframe' directly. You need
to recompile gdb and doscmd. `make world` is recommended.

Example program that demonstrates how SA_SIGINFO and old-style FreeBSD
handlers (with their three args) may be used in the same process is at
http://www3.cons.org/tmp/fbsd-siginfo.c

Programs that use the old FreeBSD-style three arguments are easy to
change to SA_SIGINFO (although they don't need to, since the old style
will still work):

  Old args to signal handler:
    void handler_sn(int sig, int code, struct sigcontext *scp)

  New args:
    void handler_si(int sig, siginfo_t *si, void *third)
  where:
    old:code == new:second->si_code
    old:scp == &(new:si->si_scp)     /* Passed by value! */

The latter is also pointed to by new:third, but accessing via
si->si_scp is preferred because it is type-save.

FreeBSD implementation notes:
- This is just the framework to make the interface POSIX compatible.
  For now, no additional functionality is provided. This is supposed
  to happen now, starting with floating point values.
- We don't use 'sigcontext_t.si_value' for now (POSIX meant it for
  realtime-related values).
- Documentation will be updated when new functionality is added and
  the exact arguments passed are determined. The comments in
  sys/signal.h are meant to be useful.

Reviewed by: BDE

25 years agoRename struct members sa_siginfo. POSIX reserves identifiers starting
cracauer [Tue, 6 Jul 1999 06:55:29 +0000 (06:55 +0000)]
Rename struct members sa_siginfo. POSIX reserves identifiers starting
with sa_ when <signal.h> is included. They would conflict with the
upcoming SA_SIGINFO implementation.

Reviewed by: BDE

25 years agoAdd Centaur/IDT WinChip support.
green [Tue, 6 Jul 1999 06:25:38 +0000 (06:25 +0000)]
Add Centaur/IDT WinChip support.

Why in the world do people put breaks at the end of a switch's default case?

25 years agoadd in (controlled by option) 2200 Expanded Lun F/W
mjacob [Tue, 6 Jul 1999 05:38:24 +0000 (05:38 +0000)]
add in (controlled by option) 2200 Expanded Lun F/W

25 years agoI made some cleanups, rearranged things a bit, and made AMD Features default
green [Tue, 6 Jul 1999 05:25:41 +0000 (05:25 +0000)]
I made some cleanups, rearranged things a bit, and made AMD Features default
printing on CPUs that have it.
If there are no objections, I'll MFC all recent changes (harmless, really)
to 3.2 and PAO.

25 years agoMake the new %Z addition thread-safe.
obrien [Tue, 6 Jul 1999 05:05:39 +0000 (05:05 +0000)]
Make the new %Z addition thread-safe.

25 years agosuggestions from bde to clean up last checkin slighty
mjacob [Tue, 6 Jul 1999 01:40:03 +0000 (01:40 +0000)]
suggestions from bde to clean up last checkin slighty

25 years agoadd in a boot environment isp_disable flag
mjacob [Tue, 6 Jul 1999 01:24:20 +0000 (01:24 +0000)]
add in a boot environment isp_disable flag

25 years agoAlways use growable thread stacks on the i386. The VM_STACK kernel option
jasone [Tue, 6 Jul 1999 00:25:38 +0000 (00:25 +0000)]
Always use growable thread stacks on the i386.  The VM_STACK kernel option
must be made default for the alpha before growable thread stacks are
enabled for the alpha.

25 years agoMake the source and the man page agree about the flags accepted by
nik [Mon, 5 Jul 1999 23:06:33 +0000 (23:06 +0000)]
Make the source and the man page agree about the flags accepted by
ntpdate.

PR:             docs/12344
Submitted by:   Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
Reviewed by:    nik

25 years agoClarify static_routes variable's meaning
nik [Mon, 5 Jul 1999 23:05:25 +0000 (23:05 +0000)]
Clarify static_routes variable's meaning

PR:             docs/12302
Submitted by:   Don Croyle <croyle@gelemna.ft-wayne.in.us>
Reviewed by:    nik

25 years agoWow- too much breakage..wait until you compile it, buckwheat...
mjacob [Mon, 5 Jul 1999 22:04:08 +0000 (22:04 +0000)]
Wow- too much breakage..wait until you compile it, buckwheat...

25 years agoOops- got sense of ifdef wrong
mjacob [Mon, 5 Jul 1999 22:01:48 +0000 (22:01 +0000)]
Oops- got sense of ifdef wrong

25 years agoadd 2200 f/w; fix botched define
mjacob [Mon, 5 Jul 1999 20:42:08 +0000 (20:42 +0000)]
add 2200 f/w; fix botched define

25 years agoadd ISP_DISABLE_2200_SUPPORT defines; Add reference to 2200 F/W
mjacob [Mon, 5 Jul 1999 20:24:46 +0000 (20:24 +0000)]
add ISP_DISABLE_2200_SUPPORT defines; Add reference to 2200 F/W

25 years agoRemove ti_refill_rx_rings() and associated stuff; replace dirty RX buffers
wpaul [Mon, 5 Jul 1999 20:19:41 +0000 (20:19 +0000)]
Remove ti_refill_rx_rings() and associated stuff; replace dirty RX buffers
in ti_rxeof() instead. This doesn't really seem to provide much in the
way of a performance boost, and I'm pretty sure it can cause mbuf leakage
in some extreme cases.

25 years agoadd another ISP option
mjacob [Mon, 5 Jul 1999 20:19:34 +0000 (20:19 +0000)]
add another ISP option

25 years agoLet newuname return "Linux" as the OS name and not "FreeBSD". Also, return a
marcel [Mon, 5 Jul 1999 19:18:03 +0000 (19:18 +0000)]
Let newuname return "Linux" as the OS name and not "FreeBSD". Also, return a
more sensible (for Linux applications) release number. Hardcoding a release
number has its drawbacks, but it will do for now.

25 years agoAlso try to load the interpreter without prepending "emul_path". This allows
marcel [Mon, 5 Jul 1999 18:38:29 +0000 (18:38 +0000)]
Also try to load the interpreter without prepending "emul_path". This allows
dynamicly linked binaries to run in a chroot'd environment with "emul_path"
as the new root. The new behavior of loading interpreters is identical to the
principle of overlaying.

PR: 10145

25 years ago"Cannot" is one word. "Can not" has a different meaning if taken
mph [Mon, 5 Jul 1999 18:12:13 +0000 (18:12 +0000)]
"Cannot" is one word.  "Can not" has a different meaning if taken
literally.

25 years agoUpdate to latest version of PowerMACH Works from Olicom.
lile [Mon, 5 Jul 1999 17:47:50 +0000 (17:47 +0000)]
Update to latest version of PowerMACH Works from Olicom.

25 years agoReformat previous fix to remove an uglier than average goto.
mckay [Mon, 5 Jul 1999 12:50:54 +0000 (12:50 +0000)]
Reformat previous fix to remove an uglier than average goto.

Looked OK to: dg

25 years agoFixed English errors, spelling errors and formatting errors in rev.1.51
bde [Mon, 5 Jul 1999 12:00:05 +0000 (12:00 +0000)]
Fixed English errors, spelling errors and formatting errors in rev.1.51
and rev.1.53.

25 years agoReflect recent changes in syscons and vga.
yokota [Mon, 5 Jul 1999 10:03:05 +0000 (10:03 +0000)]
Reflect recent changes in syscons and vga.

25 years agoAdded the EXAMPLE section and try to make the text slightly more informative.
yokota [Mon, 5 Jul 1999 09:58:41 +0000 (09:58 +0000)]
Added the EXAMPLE section and try to make the text slightly more informative.

Grammar and Spelling Reviewed by: mpp

While mpp kindly checked grammar and spelling, any technical errors
remaining in the man pages are entirely of mine.

25 years agoMerge from -stable; support for the 'ida' driver, move fla to major 102
msmith [Mon, 5 Jul 1999 09:43:29 +0000 (09:43 +0000)]
Merge from -stable; support for the 'ida' driver, move fla to major 102

25 years agoAdd support for the 'ida' driver.
msmith [Mon, 5 Jul 1999 09:18:57 +0000 (09:18 +0000)]
Add support for the 'ida' driver.

25 years agoThe IDA driver is 'ida', not 'id'
msmith [Mon, 5 Jul 1999 09:09:09 +0000 (09:09 +0000)]
The IDA driver is 'ida', not 'id'

25 years agoMove the initialisation/tuning of nmbclusters from param.c/machdep.c
msmith [Mon, 5 Jul 1999 08:52:54 +0000 (08:52 +0000)]
Move the initialisation/tuning of nmbclusters from param.c/machdep.c
into uipc_mbuf.c.  This reduces three sets of identical tunable code to
one set, and puts the initialisation with the mbuf code proper.

Make NMBUFs tunable as well.

Move the nmbclusters sysctl here as well.

Move the initialisation of maxsockets from param.c to uipc_socket2.c,
next to its corresponding sysctl.

Use the new tunable macros for the kern.vm.kmem.size tunable (this should have
been in a separate commit, whoops).

25 years agoUse the new tunable macros for the net.inet.tcp.tcbhashsize tunable.
msmith [Mon, 5 Jul 1999 08:46:55 +0000 (08:46 +0000)]
Use the new tunable macros for the net.inet.tcp.tcbhashsize tunable.

25 years agoA couple of new macros to make implementing tunable values slightly easier.
msmith [Mon, 5 Jul 1999 08:45:14 +0000 (08:45 +0000)]
A couple of new macros to make implementing tunable values slightly easier.

25 years agoBump the number of vtys created to compensate for new demands created
jkh [Mon, 5 Jul 1999 08:39:00 +0000 (08:39 +0000)]
Bump the number of vtys created to compensate for new demands created
by /etc/ttys.

Forgotten by:   des

25 years agoMy last modification for PC-card boot.flp was incomplete, and one more patch
hosokawa [Mon, 5 Jul 1999 07:15:42 +0000 (07:15 +0000)]
My last modification for PC-card boot.flp was incomplete, and one more patch
is needed.
This seems a sort of quick-hack, but it's hard to fix it in proper way.
I'll do it later.

25 years agoTake the Winbond driver out of GENERIC for the alpha. It'll come
wpaul [Mon, 5 Jul 1999 05:40:29 +0000 (05:40 +0000)]
Take the Winbond driver out of GENERIC for the alpha. It'll come
back when it actually works on the alpha. How it got in here in the
first place I have no idea.

25 years agoRespect the NOFSCHG variable. Add an $Id$ while I'm here, for whatever
hoek [Mon, 5 Jul 1999 02:46:20 +0000 (02:46 +0000)]
Respect the NOFSCHG variable.  Add an $Id$ while I'm here, for whatever
reason Makefiles need $Id$.

25 years agoAdd an extra space to " AMD Features=" to make it line up well.
green [Mon, 5 Jul 1999 02:28:21 +0000 (02:28 +0000)]
Add an extra space to " AMD Features=" to make it line up well.

25 years agoK6-III CPUs are now case:d in the appropriate switch; also, in
green [Mon, 5 Jul 1999 02:27:32 +0000 (02:27 +0000)]
K6-III CPUs are now case:d in the appropriate switch; also, in
print_AMD_info(), L2 internal cache is shown, as are AMD's special CPUID
infos:

CPU: AMD-K6(tm) 3D processor (350.81-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping=12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
 AMD Features=0x808029bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SYSCALL,PGE,MMX,3DNow!>

PR: kern/12512
Submitted by: Louis A. Mamakos <louie@TransSys.COM>

25 years agoDisable growable stacks by default, as advertised.
jasone [Mon, 5 Jul 1999 00:38:12 +0000 (00:38 +0000)]
Disable growable stacks by default, as advertised.

25 years agoUse growable stacks for thread stacks that are the default stack size.
jasone [Mon, 5 Jul 1999 00:35:19 +0000 (00:35 +0000)]
Use growable stacks for thread stacks that are the default stack size.

Cache discarded default thread stacks for use in subsequent thread creations.

Create a red zone at the end of each stack (including the initial thread
stack), with the hope of causing a segfault if a stack overflows.

To activate these modifications, add -D_PTHREAD_GSTACK to CFLAGS in
src/lib/libc_r/Makefile.  Since the modifications depend on the VM_STACK
kernel option, I'm not sure how to safely use growable stacks by default.

Testing, as well as algorithmic and stylistic comments are welcome.

25 years ago(1) Include linker.h because we use kldload()
billf [Sun, 4 Jul 1999 23:42:32 +0000 (23:42 +0000)]
(1) Include linker.h because we use kldload()
(2) Clear up an ambigious, nested if/else
(3) Cast a ccio_size to a long and use the correct format identifier.

Reviewed by: green

25 years agofix DEV_MODULE, I overlooked this one in my last commit
phk [Sun, 4 Jul 1999 19:48:35 +0000 (19:48 +0000)]
fix DEV_MODULE, I overlooked this one in my last commit

25 years agoClean up some ambiguous nested if/elses.
billf [Sun, 4 Jul 1999 17:26:16 +0000 (17:26 +0000)]
Clean up some ambiguous nested if/elses.

25 years agoFixed missing prototype for address_to_line(). One call passes an
bde [Sun, 4 Jul 1999 16:00:04 +0000 (16:00 +0000)]
Fixed missing prototype for address_to_line().  One call passes an
int where an unsigned long is expected.  This was fatal on i386's
with 64-bit longs.

25 years agoconfigure "pccardd_flags" in /etc/rc.conf by sysinstall.
hosokawa [Sun, 4 Jul 1999 15:54:14 +0000 (15:54 +0000)]
configure "pccardd_flags" in /etc/rc.conf by sysinstall.

25 years agoDon't override the (correct) default for BINDIR.
bde [Sun, 4 Jul 1999 15:51:39 +0000 (15:51 +0000)]
Don't override the (correct) default for BINDIR.

25 years agoFixed style bugs in FreeBSD changes. KNF style doesn't apply to gnu
bde [Sun, 4 Jul 1999 15:46:44 +0000 (15:46 +0000)]
Fixed style bugs in FreeBSD changes.  KNF style doesn't apply to gnu
sources.

25 years agoImproved error handling in rev.1.18: don't ignore failure of execve().
bde [Sun, 4 Jul 1999 15:42:04 +0000 (15:42 +0000)]
Improved error handling in rev.1.18: don't ignore failure of execve().

Fixed some style bugs in rev.1.18.

25 years agoModified to configure pccard_mem in /etc/rc.conf by sysinstall.
hosokawa [Sun, 4 Jul 1999 15:11:23 +0000 (15:11 +0000)]
Modified to configure pccard_mem in /etc/rc.conf by sysinstall.

25 years agoFeed the vty monster.
des [Sun, 4 Jul 1999 15:06:21 +0000 (15:06 +0000)]
Feed the vty monster.

25 years agoRemove cmaj and bmaj args from DEV_DRIVER_MODULE.
phk [Sun, 4 Jul 1999 14:58:56 +0000 (14:58 +0000)]
Remove cmaj and bmaj args from DEV_DRIVER_MODULE.

25 years agoFixed corruption of the "blocked" list in lf_setlock() when tsleep()
bde [Sun, 4 Jul 1999 14:43:01 +0000 (14:43 +0000)]
Fixed corruption of the "blocked" list in lf_setlock() when tsleep()
returns 0 after ptrace() attach and/or detach doesn't quite quite
deliver a signal.  Perhaps the process shouldn't be woken in this
case, but avoiding the problem is easy.

PR: 12247

Fixed a couple of places where mechanical fixing of compiler warnings
caused misspelling of NOLOCKF as NULL.

25 years agoAdded "pccardd_flags" for rc.conf.
hosokawa [Sun, 4 Jul 1999 14:41:20 +0000 (14:41 +0000)]
Added "pccardd_flags" for rc.conf.

25 years agoPatch the WaveLAN/IEEE driver to detect and reject oversized received
wpaul [Sun, 4 Jul 1999 14:40:22 +0000 (14:40 +0000)]
Patch the WaveLAN/IEEE driver to detect and reject oversized received
frames (or just insane received packet lengths generated due to errors
reading from the NIC's internal buffers). Anything too large to fit
safely into an mbuf cluster buffer is discarded and an error logged.

I have not observed this problem with my own cards, but on user has
reported it and adding the sanity test seems reasonable in any case.

Problem noted and patch provided by: Per Andersson <per@cdg.chalmers.se>

25 years agomake release (actually, make floppies) makes PC-card boot.flp automatically.
hosokawa [Sun, 4 Jul 1999 13:31:05 +0000 (13:31 +0000)]
make release (actually, make floppies) makes PC-card boot.flp automatically.

25 years agoRemove the 'tty' interrupt label. This is obsolete.
nyan [Sun, 4 Jul 1999 11:53:18 +0000 (11:53 +0000)]
Remove the 'tty' interrupt label. This is obsolete.

Pointed out by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>

25 years agoActually impliment the documented %Z specifier.
obrien [Sun, 4 Jul 1999 08:54:26 +0000 (08:54 +0000)]
Actually impliment the documented %Z specifier.

25 years agoQuick fix for breakage of bounds checking in rev.1.12. Only one
bde [Sun, 4 Jul 1999 08:07:35 +0000 (08:07 +0000)]
Quick fix for breakage of bounds checking in rev.1.12.  Only one
of the additional checks in rev.1.12 was wrong.  The others are a
bit inconsistent and are probably unnecessarily pessimal.  Checking
for overflow of addition, if necessary at all, should be done in
bpf_validate().

PR: 12484

25 years agoMinor nit - pn_cachesize is not a PN_RX_BUG_WAR varible.
peter [Sun, 4 Jul 1999 04:21:29 +0000 (04:21 +0000)]
Minor nit - pn_cachesize is not a PN_RX_BUG_WAR varible.
Also, a minor tweak to get better struct packing.

25 years agoSome cleanup and rearrangement. hw.physmem is now an absolute quantity;
jlemon [Sun, 4 Jul 1999 02:26:23 +0000 (02:26 +0000)]
Some cleanup and rearrangement.  hw.physmem is now an absolute quantity;
we will never use more memory than this value (if specified), but will always
check memory for validity up to this amount.

Get rid of the speculative_mprobe option; the memory amount can now be
specified by hw.physmem.

25 years agoThe vfs.write_behind sysctl and related code support has been added to
mckusick [Sun, 4 Jul 1999 00:31:17 +0000 (00:31 +0000)]
The vfs.write_behind sysctl and related code support has been added to
allow changes to the filesystem's write_behind behavior.  By the
default the filesystem aggressively issues write_behind's.  Three values
may be specified for vfs.write_behind.  0 disables write_behind, 1 results
in historical operation (agressive write_behind), and 2 is an experimental
backed-off write_behind.  The values of 0 and 1 are recommended.  The value
of 0 is recommended in conjuction with an increase in the number of
NBUF's and the number of dirty buffers allowed (vfs.{lo,hi}dirtybuffers).
Note that a value of 0 will radically increase the dirty buffer load on
the system.  Future work on write_behind behavior will use values 2 and
greater for testing purposes.

Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: Kirk McKusick <mckusick@mckusick.com>

25 years agoThe buffer queue mechanism has been reformulated. Instead of having
mckusick [Sun, 4 Jul 1999 00:25:38 +0000 (00:25 +0000)]
The buffer queue mechanism has been reformulated.  Instead of having
QUEUE_AGE, QUEUE_LRU, and QUEUE_EMPTY we instead have QUEUE_CLEAN,
QUEUE_DIRTY, QUEUE_EMPTY, and QUEUE_EMPTYKVA.  With this patch clean
and dirty buffers have been separated.  Empty buffers with KVM
assignments have been separated from truely empty buffers.  getnewbuf()
has been rewritten and now operates in a 100% optimal fashion.  That is,
it is able to find precisely the right kind of buffer it needs to
allocate a new buffer, defragment KVM, or to free-up an existing buffer
when the buffer cache is full (which is a steady-state situation for
the buffer cache).

Buffer flushing has been reorganized.  Previously buffers were flushed
in the context of whatever process hit the conditions forcing buffer
flushing to occur.  This resulted in processes blocking on conditions
unrelated to what they were doing.  This also resulted in inappropriate
VFS stacking chains due to multiple processes getting stuck trying to
flush dirty buffers or due to a single process getting into a situation
where it might attempt to flush buffers recursively - a situation that
was only partially fixed in prior commits.  We have added a new daemon
called the buf_daemon which is responsible for flushing dirty buffers
when the number of dirty buffers exceeds the vfs.hidirtybuffers limit.
This daemon attempts to dynamically adjust the rate at which dirty buffers
are flushed such that getnewbuf() calls (almost) never block.

The number of nbufs and amount of buffer space is now scaled past the
8MB limit that was previously imposed for systems with over 64MB of
memory, and the vfs.{lo,hi}dirtybuffers limits have been relaxed
somewhat.  The number of physical buffers has been increased with the
intention that we will manage physical I/O differently in the future.

reassignbuf previously attempted to keep the dirtyblkhd list sorted which
could result in non-deterministic operation under certain conditions,
such as when a large number of dirty buffers are being managed.  This
algorithm has been changed.  reassignbuf now keeps buffers locally sorted
if it can do so cheaply, and otherwise gives up and adds buffers to
the head of the dirtyblkhd list.  The new algorithm is deterministic but
not perfect.  The new algorithm greatly reduces problems that previously
occured when write_behind was turned off in the system.

The P_FLSINPROG proc->p_flag bit has been replaced by the more descriptive
P_BUFEXHAUST bit.  This bit allows processes working with filesystem
buffers to use available emergency reserves.  Normal processes do not set
this bit and are not allowed to dig into emergency reserves.  The purpose
of this bit is to avoid low-memory deadlocks.

A small race condition was fixed in getpbuf() in vm/vm_pager.c.

Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: Kirk McKusick <mckusick@mckusick.com>

25 years agoShake hands with GDB a little bit earlier so that it is possible to
jdp [Sat, 3 Jul 1999 23:54:02 +0000 (23:54 +0000)]
Shake hands with GDB a little bit earlier so that it is possible to
debug the init functions.

Submitted by: dfr

25 years agoAdd the semi-official Bulk protocol id 'P'
n_hibma [Sat, 3 Jul 1999 22:19:41 +0000 (22:19 +0000)]
Add the semi-official Bulk protocol id 'P'

25 years agoLatest updating changes for softupdates, inetd and newsysconfig.
imp [Sat, 3 Jul 1999 22:15:43 +0000 (22:15 +0000)]
Latest updating changes for softupdates, inetd and newsysconfig.

25 years agoUpdate pathnames for new location of soft-updates sources.
jdp [Sat, 3 Jul 1999 21:34:05 +0000 (21:34 +0000)]
Update pathnames for new location of soft-updates sources.

25 years agoUpdate comment for new location of soft-updates sources.
jdp [Sat, 3 Jul 1999 21:31:00 +0000 (21:31 +0000)]
Update comment for new location of soft-updates sources.

25 years agoRemove the soft-updates sources from their original location. They
jdp [Sat, 3 Jul 1999 21:26:34 +0000 (21:26 +0000)]
Remove the soft-updates sources from their original location.  They
have been repository-copied to "src/sys/contrib/softupdates".

25 years agoMake the change similar to that suggested by Nick Hibma to avoid divide by
mjacob [Sat, 3 Jul 1999 21:14:45 +0000 (21:14 +0000)]
Make the change similar to that suggested by Nick Hibma to avoid divide by
zero traps. I actually can't believe that this compiler is *sooooo* stupid
that it did a divide when there was 1024L*1024L instead of a right shift by
20. When we get quad type modifiers in kernel printf we can change to this
too (to avoid overflow on > terabyte disk sizes).

25 years agoprintf int/dev_t (pointer) warning
peter [Sat, 3 Jul 1999 21:03:56 +0000 (21:03 +0000)]
printf int/dev_t (pointer) warning

25 years agoDelete stray static prototype.
peter [Sat, 3 Jul 1999 21:02:09 +0000 (21:02 +0000)]
Delete stray static prototype.

25 years agoStop rfork(0) from panicing. (oops!!)
peter [Sat, 3 Jul 1999 20:58:44 +0000 (20:58 +0000)]
Stop rfork(0) from panicing. (oops!!)

Submitted by: Peter Holm <peter@holm.cc>

25 years agoEliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire
peter [Sat, 3 Jul 1999 20:17:08 +0000 (20:17 +0000)]
Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire
files.  config will leave the whole file out if configured to do so.

25 years agoImprove compatibility with other systems by changing the default
imp [Sat, 3 Jul 1999 20:14:08 +0000 (20:14 +0000)]
Improve compatibility with other systems by changing the default
behavior slightly.

If machine/bus.h is included, but neither bus_memio.h nor bus_pio.h
are included, then behave as if both were included.

This won't change existing drivers, all of which include one or more
of bus_{p,mem}io.h, but will allow drivers from other systems to come
over with fewer changes.  I freely admit that this might not be
optimal for some drivers, but those drivers can be optimized for
FreeBSD after the initial bringup happens.

Without the change, there is a bug that preclude drivers from
compiling with strange warning/errors.

I've been running this here for a while now w/o ill effects.

Reviewed by: gibbs
Not objected to by: bde, arch@ list.

25 years agoRemove bogus argument to LIST_HEAD_INITIALIZER
n_hibma [Sat, 3 Jul 1999 20:04:53 +0000 (20:04 +0000)]
Remove bogus argument to LIST_HEAD_INITIALIZER

25 years agoDelete special handling for 'device-driver' suffix, it's not used in
peter [Sat, 3 Jul 1999 19:22:52 +0000 (19:22 +0000)]
Delete special handling for 'device-driver' suffix, it's not used in
the kernel source now.

25 years agoDelete the 'device-driver' suffix. It's been meaningless for a long time.
peter [Sat, 3 Jul 1999 19:19:34 +0000 (19:19 +0000)]
Delete the 'device-driver' suffix.  It's been meaningless for a long time.
On the VAX, it used to be used for special compilation to avoid the
optimizer which would mess with memory mapped devices etc.  These days
we use 'volatile'.

25 years agoOnly have the pci component compiled if pci is specified at config.
peter [Sat, 3 Jul 1999 18:34:04 +0000 (18:34 +0000)]
Only have the pci component compiled if pci is specified at config.
Remove #if NPCI > 0 as a result.

25 years agoMove bt_isa.c to the cpu-independent isa section.
peter [Sat, 3 Jul 1999 18:26:25 +0000 (18:26 +0000)]
Move bt_isa.c to the cpu-independent isa section.

25 years agoFix warnings in last commit (dev_t is not an int, and not even int
peter [Sat, 3 Jul 1999 17:40:31 +0000 (17:40 +0000)]
Fix warnings in last commit (dev_t is not an int, and not even int
compatable in arg lists on the Alpha)

25 years agoA minor tweak to shut up gcc (on the Alpha) for two (false) warnings.
peter [Sat, 3 Jul 1999 16:29:32 +0000 (16:29 +0000)]
A minor tweak to shut up gcc (on the Alpha) for two (false) warnings.

How it can think that something that is initialized at declaration can
be used while uninitialized is beyond me.

25 years agoDon't ignore weak symbols.
dt [Sat, 3 Jul 1999 12:30:04 +0000 (12:30 +0000)]
Don't ignore weak symbols.

EGCS assign weak symbols to inline functions it couldn't inline (e.g. virtual
inline functions), template functions, etc. Omitting them result in quite bogus
profile.

Weak symbols created by __weak_reference are not really problem.

Caught by: Ilya Segalovich <iseg@comptek.ru>

25 years agoReverse the FTP_PASSIVE_MODE check, so it checks for "is not NO" rather
des [Sat, 3 Jul 1999 10:10:50 +0000 (10:10 +0000)]
Reverse the FTP_PASSIVE_MODE check, so it checks for "is not NO" rather
than "is YES".

25 years agoAdded copyright.
kato [Sat, 3 Jul 1999 08:50:45 +0000 (08:50 +0000)]
Added copyright.

Pointed out by: yokota

25 years agoRemoved unused files.
kato [Sat, 3 Jul 1999 08:45:16 +0000 (08:45 +0000)]
Removed unused files.

25 years agoMoved LCD controle routine for certain models of EPSON laptops into
kato [Sat, 3 Jul 1999 08:44:32 +0000 (08:44 +0000)]
Moved LCD controle routine for certain models of EPSON laptops into
suitable place.

Submitted by: yokota

25 years agoSync with sys/i386/i386/machdep.c revision 1.349.
kato [Sat, 3 Jul 1999 08:31:32 +0000 (08:31 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.349.

25 years agoBe more informative and try to ask the user in some instances if we can't
phk [Sat, 3 Jul 1999 08:24:00 +0000 (08:24 +0000)]
Be more informative and try to ask the user in some instances if we can't
figure out the root device.

25 years agoBail after 5 attempts to read very noisy signals.
phk [Sat, 3 Jul 1999 08:23:00 +0000 (08:23 +0000)]
Bail after 5 attempts to read very noisy signals.

25 years agoWarn about drivers which take over other drivers cdevsw entries, but still
phk [Sat, 3 Jul 1999 08:22:30 +0000 (08:22 +0000)]
Warn about drivers which take over other drivers cdevsw entries, but still
grant them squatters right.

25 years agoSync with sys/i386/conf/majors.i386 revision 1.78.
kato [Sat, 3 Jul 1999 08:18:27 +0000 (08:18 +0000)]
Sync with sys/i386/conf/majors.i386 revision 1.78.

25 years agoSync with sys/i386/conf/Makefile.i386 revision 1.157.
kato [Sat, 3 Jul 1999 08:17:40 +0000 (08:17 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.157.

25 years agoFixed regression of $Id$ to "from: $Header$" in previous commit.
bde [Sat, 3 Jul 1999 06:48:02 +0000 (06:48 +0000)]
Fixed regression of $Id$ to "from: $Header$" in previous commit.
The `from:' was already corrupted by expansion of $Header$ in in
rev.1.1; rev.1.2 replaced it by $Id$.  Put $Id$ in the usual place
this time.

25 years agoAn SMP-specific change: Add the lock prefix to RMW operations
alc [Sat, 3 Jul 1999 06:33:48 +0000 (06:33 +0000)]
An SMP-specific change: Add the lock prefix to RMW operations
on ipending.

25 years agowcd -> acd
mharo [Sat, 3 Jul 1999 05:42:38 +0000 (05:42 +0000)]
wcd -> acd

Submitted by:  Ruslan Ermilov <ru@ucb.crimea.ua>

25 years agosys/buf.h needs to have included sys/systm.h for spl prototypes.
green [Sat, 3 Jul 1999 04:56:57 +0000 (04:56 +0000)]
sys/buf.h needs to have included sys/systm.h for spl prototypes.

25 years agoIt's really mP6.
green [Sat, 3 Jul 1999 01:56:58 +0000 (01:56 +0000)]
It's really mP6.
:)

25 years agoWell, don't try and probe 65535 luns- things just don't really work well
mjacob [Sat, 3 Jul 1999 01:44:05 +0000 (01:44 +0000)]
Well, don't try and probe 65535 luns- things just don't really work well
when this happens. Limit to 16 luns for the 2100/2200 for now.