]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
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.

25 years agoBump maxusers to 32 to match the i386.
msmith [Sat, 3 Jul 1999 01:35:51 +0000 (01:35 +0000)]
Bump maxusers to 32 to match the i386.
Remove the gzip pseudo-device, since the Alpha never did a.out.
Add the 'wb' driver since it is supported.

25 years agoAdd definitions for simplified config commands
grog [Fri, 2 Jul 1999 23:57:45 +0000 (23:57 +0000)]
Add definitions for simplified config commands
Change definition of sflag

Reported-by: Johan Karlsson <k@numeri.campus.luth.se>
Doug <Doug@gorean.org>
green

World-broken-by: grog
Pointy-hat-passed-to: grog

25 years agoRemove pre-CAM code. Add in getenv_int calls for variables isp_mem_map,
mjacob [Fri, 2 Jul 1999 23:18:03 +0000 (23:18 +0000)]
Remove pre-CAM code. Add in getenv_int calls for variables isp_mem_map,
isp_io_map, isp_no_fwload, isp_fwload, isp_no_nvram, isp_fcduplex
which are all bitmaps of isp instances that should or shouldn't
map memory space, I/O space, not load f/w, load f/w, ignore nvram,
not ignore nvarm, set full duplex mode. Also have an isp_seed value
that we can use to generate a pseudo seed for a synthetic WWN.
Other minor cosmetic cleanup. Add in support for the Qlogic ISP
2200. Very important change where we actually check now to see
whether we were successful in mapping request and response queues
(and fibre channel scratch space).

25 years agoRemove all pre-CAM code. Fix breakage for SCCLUN when it is in fact
mjacob [Fri, 2 Jul 1999 23:12:58 +0000 (23:12 +0000)]
Remove all pre-CAM code. Fix breakage for SCCLUN when it is in fact
ISP2100_SCCLUN. Make changes for how ISPASYNC_PDB_CHANGE_COMPLETE
is now ISPASYNC_PDB_CHANGED. Add in ISPASYNC_FABRIC_DEV case.

25 years agoMerge defunct isp_freebsd_cam.h into this file. Do some appropriate
mjacob [Fri, 2 Jul 1999 23:10:34 +0000 (23:10 +0000)]
Merge defunct isp_freebsd_cam.h into this file. Do some appropriate
changes like rolling minor revision levels and defines where we now
do default WWN seeding in the platform files.

25 years agoRoll revision levels. Add support for the Qlogic 2200 (warn about
mjacob [Fri, 2 Jul 1999 23:06:38 +0000 (23:06 +0000)]
Roll revision levels. Add support for the Qlogic 2200 (warn about
not having SCSI_ISP_SCCLUN config defined if we don't have f/w for
the 2200- it's resident firmware uses SCCLUN (65535 luns)). Change
the way the default LoopID is gathered (it's now a platform specific
define so that some attempt at a synthetic WWN can be made in case
NVRAM isn't readable).

Change initialization of options a bit- don't use ADISC. Set
FullDuplex mode if config options tells us to do so. Do not use
FULL_LOGIN after LIP- it's the right thing to do but it causes too
much loop disruption (Loop Resets). Sanity check some default
values. Redo construction of port and node WWNs based upon what we
have- if we have 2 in the top nibble, we can have distinct port
and node WWNs. Clean up some SCCLUN related code that we obviously
had never compiled (:-(). Audit commands coming int ispscsicmd and
don't throw commands at Fibre devices that do not have Class 3
service parameters TARGET ROLE defined.

Clean up f/w initialization a bit. Add Fabric support (or at least
the first blush of it). Whew - way too much to describe here.
Basically, after a LIP, hang out until we see a Loop Up or a Port
DataBase Change async event, then see if we're on a Fabric
(GET_PORT_NAME of FL_PORT_ID). If we are, try and scan the fabric
controller for fabric devices using the GetAllNext SNS subcommand.
As we find devices, announce them to the outer layer. Try and do
some guard code for broken (Brocade) SNS servers (that get stuck
in loops- gotta maybe do this a different way using the GP_ID3 cmd
instead).  Then do a scan of the lower (local loop) ids using a
GET_PORT_NAME to see if the f/w has logged into anything at that
loop id. If so, then do a GET_PORT_DATABASE command.  Do this scan
into a local database. At this point we can say the loop is 'Ready'.
After this, we merge our local loop port database with our stored
port database- in a as yet to be really fully exercised fashion we
try and follow the logic of something having moved around. The
first time we see something at a Loop ID, we fix it, for the purpose
of this system instance, at that Loop ID. If things shift around
so it ends up somewhere else, we still keep it at this Loop ID (our
'Target') but use the new (moved) Loop ID when we actually throw
commands at it. Check for insane cases of different Loop IDs both
claiming to have the same WWN- if that happens, invalidate both.
Notify the outer layer of devices that have arrived and devices
that have gone away. *Finally*, when this is done, search the
softc's database of Fabric devices and perform logout/login actions.
The Qlogic f/w maintains logout/login for all local loop devices.
We have to maintain logout/login for fabric devices- total PITA.
Expect to see this area undergo more change over time.

25 years agoMention the Rise MP6, list merged items. There are probably a pile more
msmith [Fri, 2 Jul 1999 23:04:28 +0000 (23:04 +0000)]
Mention the Rise MP6, list merged items.  There are probably a pile more
changes that need to be listed here.

25 years agoRoll revision levels. Move DEFAULT_LOOPID definition to platform files.
mjacob [Fri, 2 Jul 1999 22:46:31 +0000 (22:46 +0000)]
Roll revision levels. Move DEFAULT_LOOPID definition to platform files.
Change some fcp parameter structures such that we can get the portid
(24 bit value), get both node and port WWN, know whether we're on a fabric
or not, note whether we've ever seen the loop up, and note the current
state of the loop.

Replace the isp_pdb_t structure in fcparams with a reduced cost structure
that maintains a static relationship to 'Target', but can have the actual
loop ID used change (in case, post LIP, we discover things have moved
around). This also retains portid and node/port WWNs.  This array gets
larger if we have fabric support compiled in.

Note special loop IDs that are invariate for this device- FL_PORT_ID
(0x7e) which tells us if there's a fabric controller present, FC_PORT_ID
and FC_SNS_ID (fabric controller port and fabric SNS server port). We don't
use the latter two for anything. IDs above FC_SNS_ID up through 255 are
available for mapping fabric devices to 'target' ids.

Add in a config define to set FC full duplex mode. Add in a define to
recognize the Qlogic 2200 boards. Add comments about ISPCTL commands.
Add and change some ISPASYNC enumes.

25 years agoEliminate some varargs abuse.
jkh [Fri, 2 Jul 1999 22:36:14 +0000 (22:36 +0000)]
Eliminate some varargs abuse.

25 years agoAdd in SNS and Fabric login/logout commands. Clean up ICBOPT defines.
mjacob [Fri, 2 Jul 1999 22:31:11 +0000 (22:31 +0000)]
Add in SNS and Fabric login/logout commands. Clean up ICBOPT defines.
Remove INVALID_PDB_OPTIONS defines. Define generic SNS request and
response structures and the bare minimum GAN and GP3 subcommands.

25 years agoThis file is now obsolete.
mjacob [Fri, 2 Jul 1999 22:26:10 +0000 (22:26 +0000)]
This file is now obsolete.

25 years agoRemove unused variable.
billf [Fri, 2 Jul 1999 20:46:03 +0000 (20:46 +0000)]
Remove unused variable.

Approved By: phk

25 years agoDocument the hw.physmem tunable. (There should be arch-specific tunable
msmith [Fri, 2 Jul 1999 20:38:05 +0000 (20:38 +0000)]
Document the hw.physmem tunable.  (There should be arch-specific tunable
help sections.)

25 years agoLightly overhaul the memory sizing code again.
msmith [Fri, 2 Jul 1999 20:33:32 +0000 (20:33 +0000)]
Lightly overhaul the memory sizing code again.

 - The kernel environment variable 'hw.physmem' can be used to set the
   amount of physical memory space, based at 0, that FreeBSD will use.
   Any memory detected over this limit is ignored.  Documentation for
   this is available under 'help set tunables' in the loader.

 - In the case where system memory size can't be accurately determined,
   hw.physmem is used as a best-guess memory size, but speculative
   probing will be used to determine actual memory size if any of the
   guesses or hints are 16M or more.

 - If RB_VERBOSE, we list the memory regions as we test them.

 - The compile-time option MAXMEM supplies a default value for
   'hw.physmem'.

25 years ago* The OBSTACK_CHUNK_SIZE #define was in the "Code generation parameters"
obrien [Fri, 2 Jul 1999 19:26:45 +0000 (19:26 +0000)]
* The OBSTACK_CHUNK_SIZE #define was in the "Code generation parameters"
  section rather than the "Miscellaneous parameters" where it belongs.

* Clarify what we are locating using the -m rule.

Submitted by: bde

25 years agoThe GNU standard about putting 2 spaces after sentences in comments
obrien [Fri, 2 Jul 1999 19:20:44 +0000 (19:20 +0000)]
The GNU standard about putting 2 spaces after sentences in comments
was not consistantly followed.

Submitted by: bde

25 years agoUpdate these files to match current reality.
jkh [Fri, 2 Jul 1999 17:11:58 +0000 (17:11 +0000)]
Update these files to match current reality.

25 years agoroll firmware for FC
mjacob [Fri, 2 Jul 1999 17:07:39 +0000 (17:07 +0000)]
roll firmware for FC

25 years agoAdd SSL versions of imap, pop3 and telnet (imaps, pop3s and telnets)
nsayer [Fri, 2 Jul 1999 16:55:04 +0000 (16:55 +0000)]
Add SSL versions of imap, pop3 and telnet (imaps, pop3s and telnets)