]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoUse CNAME macro for pc98_system_parameter, which is referenced from C
KATO Takenori [Tue, 8 Dec 1998 10:22:31 +0000 (10:22 +0000)]
Use CNAME macro for pc98_system_parameter, which is referenced from C
source.

Submitted by: Masanori Kanaoka <kana@saijo.mke.mei.co.jp>

25 years agoBacked out the FIOASYNC fix in rev.1.108. fcntl(fd, F_SETFL, flags)
Bruce Evans [Tue, 8 Dec 1998 10:22:07 +0000 (10:22 +0000)]
Backed out the FIOASYNC fix in rev.1.108.  fcntl(fd, F_SETFL, flags)
depends on the bug.  It does an FIOASYNC ioctl to sync the setting
of the O_ASYNC "file" flag with drivers even if the setting hasn't
changed.

PR: 9003

25 years agoSync with sys/i386/conf/Makefile.i386 revision 1.130.
KATO Takenori [Tue, 8 Dec 1998 08:19:45 +0000 (08:19 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.130.

25 years agoSync with sys/i386/isa/fd.c, if_fe.c, npx.c and sio.c revisions 1.126,
KATO Takenori [Tue, 8 Dec 1998 08:18:59 +0000 (08:18 +0000)]
Sync with sys/i386/isa/fd.c, if_fe.c, npx.c and sio.c revisions 1.126,
1.44, 1.63 and 1.219, respectively.

25 years agoSync with sys/i386/i386/userconfig.c revision 1.117.
KATO Takenori [Tue, 8 Dec 1998 08:17:43 +0000 (08:17 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.117.

25 years agoAutomatically detect a.out vs. elf kernel
Archie Cobbs [Tue, 8 Dec 1998 08:14:37 +0000 (08:14 +0000)]
Automatically detect a.out vs. elf kernel

25 years agoDOH! Name the mfsroot contents properly.
Jordan K. Hubbard [Tue, 8 Dec 1998 00:14:51 +0000 (00:14 +0000)]
DOH!  Name the mfsroot contents properly.

Noticed by: "Sean O'Connell" <sean@stat.Duke.EDU>

25 years agoIf there is no .depends file, use the standard ad-hoc way of ensuring
Warner Losh [Mon, 7 Dec 1998 22:36:54 +0000 (22:36 +0000)]
If there is no .depends file, use the standard ad-hoc way of ensuring
that the generated files are generated before any of the object files.
Also minor cleanup of dependencies in conf/files that I bogusly added
before.

This should fix the requirement that make depend be done starting from
a clean config directory.  If you don't have a clean directory, make
depend is still required if you want the proper .o's to be recompiled.

Reviewed by: bde

25 years agoThe "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
Archie Cobbs [Mon, 7 Dec 1998 21:58:50 +0000 (21:58 +0000)]
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.

25 years agoUn-revert typo fix (fauled -> failed). This is what I get for not
Bill Paul [Mon, 7 Dec 1998 18:14:30 +0000 (18:14 +0000)]
Un-revert typo fix (fauled -> failed). This is what I get for not
keeping my local RCS files in sync with the rest of the world.

Caught red-handed by: bde

25 years agoFix grouping of statements. This remove a potential panic in the soft
Eivind Eklund [Mon, 7 Dec 1998 17:23:45 +0000 (17:23 +0000)]
Fix grouping of statements.  This remove a potential panic in the soft
updates code.  While I'm here, remove an unintended trigraph.

Reviewed by: Kirk McKusick <kirk@freebsd.org>

25 years agoPropagate unsignedness to all variants of 'k', and reorganize the
Eivind Eklund [Mon, 7 Dec 1998 16:31:15 +0000 (16:31 +0000)]
Propagate unsignedness to all variants of 'k', and reorganize the
conditionals to be fully resistent against overflow in unsigned
computations.

Potential problem pointed out by: bde
Reviewed by: bde

25 years agounlocalize date
Andrey A. Chernov [Mon, 7 Dec 1998 16:17:41 +0000 (16:17 +0000)]
unlocalize date
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>

25 years agoUse '#' flag in place of "0x" in format strings.
Robert Nordier [Mon, 7 Dec 1998 14:09:17 +0000 (14:09 +0000)]
Use '#' flag in place of "0x" in format strings.

25 years agoDon't put compiler warning flags in leaf Makefiles.
Bruce Evans [Mon, 7 Dec 1998 12:50:48 +0000 (12:50 +0000)]
Don't put compiler warning flags in leaf Makefiles.

25 years agoCFLAGS+= -Wall -Wformat for all of src/bin. All warnings except 2 minor
Bruce Evans [Mon, 7 Dec 1998 12:44:12 +0000 (12:44 +0000)]
CFLAGS+= -Wall -Wformat for all of src/bin.  All warnings except 2 minor
ones in rmail have been fixed.

25 years agoFixed printf format errors.
Bruce Evans [Mon, 7 Dec 1998 12:37:11 +0000 (12:37 +0000)]
Fixed printf format errors.

25 years agoFixed warnx format errors in printf and csh, and snprintf format errors
Bruce Evans [Mon, 7 Dec 1998 12:14:04 +0000 (12:14 +0000)]
Fixed warnx format errors in printf and csh, and snprintf format errors
in sh, by using separate macros for the 1, 2 and 3-arg calls to warnx.
(The 3-arg warnx macro in sh/bltin/bltin.h used to require bogus dummy
args.)

25 years agoRemoved unused include of <kvm.h>. It was alarming for libc to apparently
Bruce Evans [Mon, 7 Dec 1998 11:26:28 +0000 (11:26 +0000)]
Removed unused include of <kvm.h>.  It was alarming for libc to apparently
depend on libkvm.

Removed obsolete `#define _NEW_VFSCONF'.

25 years agoFixed -Wall regression (broken in rev.1.12). Removed unused includes.
Bruce Evans [Mon, 7 Dec 1998 10:25:48 +0000 (10:25 +0000)]
Fixed -Wall regression (broken in rev.1.12).  Removed unused includes.

25 years agoFixed printf format errors (new bugs in rev.1.7). Fixed a spelling error
Bruce Evans [Mon, 7 Dec 1998 10:16:58 +0000 (10:16 +0000)]
Fixed printf format errors (new bugs in rev.1.7).  Fixed a spelling error
(rev.1.7 blew away most of rev.1.2-1.6; I'm only fixing blowing away of
rev.1.4).

25 years agoMove stime declaration to main block, otherwise can left uninitialized
Andrey A. Chernov [Mon, 7 Dec 1998 07:59:20 +0000 (07:59 +0000)]
Move stime declaration to main block, otherwise can left uninitialized
in rare cases.
Found by: Eivind Eklund <eivind@yes.no>

25 years agoDisallow ipfw "tee" rules until it is actually implemented.
Archie Cobbs [Mon, 7 Dec 1998 05:54:37 +0000 (05:54 +0000)]
Disallow ipfw "tee" rules until it is actually implemented.
PR: bin/8471

25 years agoClean up some pointer usage.
Eivind Eklund [Mon, 7 Dec 1998 05:41:10 +0000 (05:41 +0000)]
Clean up some pointer usage.

25 years agoFix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars.
Archie Cobbs [Mon, 7 Dec 1998 05:35:54 +0000 (05:35 +0000)]
Fix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars.
PR: bin/7939

25 years agoCompile -Wall
Archie Cobbs [Mon, 7 Dec 1998 05:33:39 +0000 (05:33 +0000)]
Compile -Wall

25 years agoRemove guard for < 0 on an unsigned variable.
Eivind Eklund [Mon, 7 Dec 1998 03:26:34 +0000 (03:26 +0000)]
Remove guard for < 0 on an unsigned variable.

25 years ago'\0' is the most ugly NULL pointer constant I've ever seen in real code.
Eivind Eklund [Mon, 7 Dec 1998 02:47:46 +0000 (02:47 +0000)]
'\0' is the most ugly NULL pointer constant I've ever seen in real code.

25 years agoif_rl.c: make a small tweak to properly handle the Accton MPX 5030/5038
Bill Paul [Mon, 7 Dec 1998 00:35:06 +0000 (00:35 +0000)]
if_rl.c: make a small tweak to properly handle the Accton MPX 5030/5038
         as a RealTek 8139
if_rlreg.h: use bus_space_read_X() in CSR_READ_X() macros instead of
            directly calling inb()/outb() etc...
rl.4 + RELNOTES.TXT: mention that SMC EtherEZ PCI 1211-TX is supported
                     by the RealTek driver

25 years agoTweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
Archie Cobbs [Sun, 6 Dec 1998 22:58:23 +0000 (22:58 +0000)]
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).

25 years agoShuffle the exclusion list for boot.flp in an effort to get sizes
Jordan K. Hubbard [Sun, 6 Dec 1998 21:58:50 +0000 (21:58 +0000)]
Shuffle the exclusion list for boot.flp in an effort to get sizes
down again.

25 years agoAdd "-aout" flag to nm until the kernel is ELF'd.
Archie Cobbs [Sun, 6 Dec 1998 21:39:07 +0000 (21:39 +0000)]
Add "-aout" flag to nm until the kernel is ELF'd.

25 years agoCorrect for mfsroot.flp now.
Jordan K. Hubbard [Sun, 6 Dec 1998 20:38:49 +0000 (20:38 +0000)]
Correct for mfsroot.flp now.

25 years agoIfdefed a conditionally used include.
Bruce Evans [Sun, 6 Dec 1998 17:58:21 +0000 (17:58 +0000)]
Ifdefed a conditionally used include.

Don't depend on "implicit int".

Don't bloat the data section with labpc_devsw_installed.

25 years agoBacked out previous commit. It was for bug for bug compatibility with
Bruce Evans [Sun, 6 Dec 1998 17:34:50 +0000 (17:34 +0000)]
Backed out previous commit.  It was for bug for bug compatibility with
2.2's .mk files.

Fixed spelling and placement of '$Id$'.

25 years agoRemoved bitrotted code for setting OBJFORMAT.
Bruce Evans [Sun, 6 Dec 1998 17:14:37 +0000 (17:14 +0000)]
Removed bitrotted code for setting OBJFORMAT.

25 years agoSync usage string with reality: removed -n, added -s.
Alexander Langer [Sun, 6 Dec 1998 16:31:47 +0000 (16:31 +0000)]
Sync usage string with reality: removed -n, added -s.

25 years agoMFC: loosen compare even though bde doesn't like it.
Jordan K. Hubbard [Sun, 6 Dec 1998 11:36:24 +0000 (11:36 +0000)]
MFC: loosen compare even though bde doesn't like it.

25 years agoFix an exceedingly *stupid* error in my floppy selection logic
Jordan K. Hubbard [Sun, 6 Dec 1998 10:13:57 +0000 (10:13 +0000)]
Fix an exceedingly *stupid* error in my floppy selection logic
which was hosing the fixit functionality.

PR: 8983
Fixed and embarassed by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
:-)

25 years agoMake rcsid a const char[] instead of char[] to avoid compiler warnings
Archie Cobbs [Sun, 6 Dec 1998 08:15:08 +0000 (08:15 +0000)]
Make rcsid a const char[] instead of char[] to avoid compiler warnings

25 years agoEliminate compiler warnings from -Wall
Archie Cobbs [Sun, 6 Dec 1998 07:42:09 +0000 (07:42 +0000)]
Eliminate compiler warnings from -Wall

25 years agoEliminate compiler warnings from -Wall
Archie Cobbs [Sun, 6 Dec 1998 07:36:44 +0000 (07:36 +0000)]
Eliminate compiler warnings from -Wall

25 years agoThe \*(td string macro, which is supposed to display today's date in the form
David E. O'Brien [Sun, 6 Dec 1998 05:54:26 +0000 (05:54 +0000)]
The \*(td string macro, which is supposed to display today's date in the form
"October 14, 1998".  A Y2k fix makes it now display "October 14, 98+1900".
Appears you can perform arithmetic in a string definition.

PR: gnu/8321
Reviewed by: Andrew J. Korty <ajk@purdue.edu>

25 years agoRev 1.13 fixes PR bin/8958
David E. O'Brien [Sun, 6 Dec 1998 05:49:29 +0000 (05:49 +0000)]
Rev 1.13 fixes PR bin/8958

25 years agoPut mfsroot.gz on yet another filesystem so that the boot blocks
Jordan K. Hubbard [Sun, 6 Dec 1998 04:06:39 +0000 (04:06 +0000)]
Put mfsroot.gz on yet another filesystem so that the boot blocks
can really read it.  Hmm.  I have no idea *how* this worked in our
earlier tests on the x86. :)

25 years agofix warning messages from previous delta
Matt Jacob [Sun, 6 Dec 1998 00:10:52 +0000 (00:10 +0000)]
fix warning messages from previous delta

25 years agouse CAM_DEBUG_XPT to track XPT; correct a misspelling
Matt Jacob [Sun, 6 Dec 1998 00:06:48 +0000 (00:06 +0000)]
use CAM_DEBUG_XPT to track XPT; correct a misspelling

25 years agoprint the appropriate SCSI revision (with CCS as a proper name for the announce message
Matt Jacob [Sun, 6 Dec 1998 00:05:47 +0000 (00:05 +0000)]
print the appropriate SCSI revision (with CCS as a proper name for the announce message

25 years agoNow that John has kindly repo-moved these files, nuke the original
Jordan K. Hubbard [Sun, 6 Dec 1998 00:05:43 +0000 (00:05 +0000)]
Now that John has kindly repo-moved these files, nuke the original
copies and update the Makefile.

25 years agoAvoid compiler warning (printf arg type mismatch) when compiling #ifdef DEBUG
Archie Cobbs [Sun, 6 Dec 1998 00:03:30 +0000 (00:03 +0000)]
Avoid compiler warning (printf arg type mismatch) when compiling #ifdef DEBUG

25 years agoAdd a CAM_DEBUG_XPT define (to debug XPT layer only). Add a CAM_DEBUGGED
Matt Jacob [Sat, 5 Dec 1998 23:55:48 +0000 (23:55 +0000)]
Add a CAM_DEBUG_XPT define (to debug XPT layer only). Add a CAM_DEBUGGED
macro to be like the CAM_DEBUG macro but to instead provide a predicate
result.

25 years agoFix it so that it works on an eb164 when you have a serial console on com1.
Matt Jacob [Sat, 5 Dec 1998 22:36:31 +0000 (22:36 +0000)]
Fix it so that it works on an eb164 when you have a serial console on com1.
Obtained from:gallatin@freebsd.org

25 years agoNull commit to commemorate the momentous occasion of the repository
John Polstra [Sat, 5 Dec 1998 22:15:10 +0000 (22:15 +0000)]
Null commit to commemorate the momentous occasion of the repository
copying of these files from the parent directory.  Let us all now
observe a brief moment of silence.  OK, that's long enough.

Jordan will adjust the Makefiles appropriately and then "cvs rm" the
originals.

25 years agoAdd in named SID field revision names (including CCS).
Matt Jacob [Sat, 5 Dec 1998 22:10:14 +0000 (22:10 +0000)]
Add in named SID field revision names (including CCS).
Add in named defines for DEFAULT and NOCHANGE densities (for sequential
access devices).

25 years agoPrint out information for write-allocate of AMD CPUs.
KATO Takenori [Sat, 5 Dec 1998 16:30:55 +0000 (16:30 +0000)]
Print out information for write-allocate of AMD CPUs.

Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>

25 years agoRevise some comments and labels.
Robert Nordier [Sat, 5 Dec 1998 11:58:33 +0000 (11:58 +0000)]
Revise some comments and labels.

25 years agoThere is a bug in /bin/pax -s option processing. The code assumes that all
David E. O'Brien [Sat, 5 Dec 1998 10:29:10 +0000 (10:29 +0000)]
There is a bug in /bin/pax -s option processing.  The code assumes that all
pattern matches will occur at offset zero of the source string.  The bug causes
the input source string pointer to be incremented by the offset of the end of
the match, instead of it's length.  The fix is to only increment the pointer by
the length of the pattern match (eo-so).

Of course, the one example in the man page shows a situation where the match
occurs at offset 0.

Submitted by: John W. DeBoskey <jwd@unx.sas.com>
Obtained from: freebsd-current@freebsd.org

25 years agoFix typos (dexktop, ot)
Robert Nordier [Sat, 5 Dec 1998 09:36:15 +0000 (09:36 +0000)]
Fix typos (dexktop, ot)

25 years agoFix typo (fauled)
Robert Nordier [Sat, 5 Dec 1998 09:31:25 +0000 (09:31 +0000)]
Fix typo (fauled)

25 years agoSync with sys/i386/isa/fd.c revision 1.125.
KATO Takenori [Sat, 5 Dec 1998 09:24:20 +0000 (09:24 +0000)]
Sync with sys/i386/isa/fd.c revision 1.125.

25 years agoSync with sys/i386/i386/userconfig.c revision 1.116.
KATO Takenori [Sat, 5 Dec 1998 09:22:05 +0000 (09:22 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.116.

25 years agoSync with sys/i386/conf/optins.i386 revision 1.94.
KATO Takenori [Sat, 5 Dec 1998 09:20:53 +0000 (09:20 +0000)]
Sync with sys/i386/conf/optins.i386 revision 1.94.

25 years agoSync with sys/i386/conf/SMP-GENERIC revision 1.23.
KATO Takenori [Sat, 5 Dec 1998 09:19:30 +0000 (09:19 +0000)]
Sync with sys/i386/conf/SMP-GENERIC revision 1.23.

25 years agoSync with sys/i386/conf/GENERIC revision 1.133.
KATO Takenori [Sat, 5 Dec 1998 09:17:31 +0000 (09:17 +0000)]
Sync with sys/i386/conf/GENERIC revision 1.133.

25 years agoFix support for uncompressed (".tar") package types. It's not completely
Satoshi Asami [Sat, 5 Dec 1998 06:29:03 +0000 (06:29 +0000)]
Fix support for uncompressed (".tar") package types.  It's not completely
fixed (chained dependency checking for pkg_add is broken, for one thing)
but at least you can now create one package and use it.

25 years agoEven the most recently allocated buffer may not have its b_blkno
Kirk McKusick [Sat, 5 Dec 1998 06:12:14 +0000 (06:12 +0000)]
Even the most recently allocated buffer may not have its b_blkno
field properly filled in, so we must do a VOP_BMAP on that buffer
as well if it is not resolved.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>

25 years agoObtained from: "Kenneth D. Merry" <ken@plutotech.com>
Matthew Dillon [Sat, 5 Dec 1998 03:19:51 +0000 (03:19 +0000)]
Obtained from: "Kenneth D. Merry" <ken@plutotech.com>

    ICMP_BANDLIM option moved from i386/conf/options.i386 to generic
    conf/options since it is platform indpendant.

25 years agoAdd sanity check to foo_start() routines: in the unlikely (though
Bill Paul [Sat, 5 Dec 1998 02:21:44 +0000 (02:21 +0000)]
Add sanity check to foo_start() routines: in the unlikely (though
apparently possible) event that the transmit start routine is
called with and empty if_snd queue, bail out instead of dereferencing
unilitialized transmit list pointers and panicking.

25 years agooops on last
Matt Jacob [Sat, 5 Dec 1998 01:46:40 +0000 (01:46 +0000)]
oops on last

25 years agoRemove the Target mode functions until they're in better shape. Implement some
Matt Jacob [Sat, 5 Dec 1998 01:33:57 +0000 (01:33 +0000)]
Remove the Target mode functions until they're in better shape. Implement some
suggested compilation cleanups from Eklund. Wire down a hard loop id if we are
not on a platform that has the ability to get to a PCI BIOS (it still will
float to the ID it gets after a LIP but at least we can try). Clarify that the
expanded lun is based upon SCCLUN defines (in f/w).

25 years agomake a real "done" func; clarify some LUN widths
Matt Jacob [Sat, 5 Dec 1998 01:31:21 +0000 (01:31 +0000)]
make a real "done" func; clarify some LUN widths

25 years agocompilation fixes from Eklund
Matt Jacob [Sat, 5 Dec 1998 01:30:52 +0000 (01:30 +0000)]
compilation fixes from Eklund

25 years agocompilation fixes from Eklund && move XS_CMD_DONE to be a real function
Matt Jacob [Sat, 5 Dec 1998 01:30:27 +0000 (01:30 +0000)]
compilation fixes from Eklund && move XS_CMD_DONE to be a real function

25 years agodo a bit of cleanup on some target mode structures and clarify a couple other minro...
Matt Jacob [Sat, 5 Dec 1998 01:29:43 +0000 (01:29 +0000)]
do a bit of cleanup on some target mode structures and clarify a couple other minro things

25 years agoroll core version minor and wire a non-i386 default Loop ID to 113
Matt Jacob [Sat, 5 Dec 1998 01:28:38 +0000 (01:28 +0000)]
roll core version minor and wire a non-i386 default Loop ID to 113

25 years agooffset was wrong for HARDLOOPID in NVRAM
Matt Jacob [Sat, 5 Dec 1998 01:07:52 +0000 (01:07 +0000)]
offset was wrong for HARDLOOPID in NVRAM

25 years agoRoll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control which
Matt Jacob [Sat, 5 Dec 1998 00:47:25 +0000 (00:47 +0000)]
Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control which
one gets compiled in by default. The default is private loop, non-expanded lun.

25 years agoroll to 1.31 level
Matt Jacob [Sat, 5 Dec 1998 00:38:31 +0000 (00:38 +0000)]
roll to 1.31 level

25 years agotrivial header fix
Matt Jacob [Sat, 5 Dec 1998 00:07:04 +0000 (00:07 +0000)]
trivial header fix

25 years agoExamine all occurrences of sprintf(), strcat(), and str[n]cpy()
Archie Cobbs [Fri, 4 Dec 1998 22:54:57 +0000 (22:54 +0000)]
Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.

These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.

Reviewed by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: Mike Spengler <mks@networkcs.com>

25 years agoFix compiler warnings.
Archie Cobbs [Fri, 4 Dec 1998 22:14:05 +0000 (22:14 +0000)]
Fix compiler warnings.

25 years agoEliminate a zillion "left-hand operand of comma expression has no effect"
Archie Cobbs [Fri, 4 Dec 1998 22:00:33 +0000 (22:00 +0000)]
Eliminate a zillion "left-hand operand of comma expression has no effect"
compiler warnings when NLPT_DEBUG is not defined.

25 years agoPut back some missing chip identification code that got lost somehow
Bill Paul [Fri, 4 Dec 1998 21:48:12 +0000 (21:48 +0000)]
Put back some missing chip identification code that got lost somehow
during a trek through RCS. The Macronix 98713 and 98713A both have the
same PCI device ID but different revision numbers, and we need to be
able to tell one from the other. The 98715 and 98715A chips have the
same device ID as the 98725 chip but different revision numbers, however
we lump them into the same category except when identifying them during
the PCI probe output.

The main reason we need tell the chips apart is that the Macronix app
notes say you have to write a special magic number into one of the
registers in order to put the chip in normal operating mode. The 98713
requires one magic value, while all the others require a different one.

25 years agoFix typo: expression needs parentheses
Archie Cobbs [Fri, 4 Dec 1998 21:41:18 +0000 (21:41 +0000)]
Fix typo: expression needs parentheses
PR:             8280 (3/3 patches contained in this PR)
Submitted by:   Sakari Jalovaara <sja@tekla.fi>

25 years agoFix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..
Archie Cobbs [Fri, 4 Dec 1998 21:33:06 +0000 (21:33 +0000)]
Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..
PR:             8280 (2/3 patches contained in this PR)
Submitted by:   Sakari Jalovaara <sja@tekla.fi>

25 years agoFix typo: "==" should have been "="
Archie Cobbs [Fri, 4 Dec 1998 21:28:39 +0000 (21:28 +0000)]
Fix typo: "==" should have been "="
PR: 8280 (1/3 patches contained in this PR)
Reviewed by: Nate Williams <nate@mt.sri.com>
Submitted by: Sakari Jalovaara <sja@tekla.fi>

25 years agoTypo and formatting updates.
Bill Fumerola [Fri, 4 Dec 1998 19:39:05 +0000 (19:39 +0000)]
Typo and formatting updates.

PR: docs/8504
Approved by: Brian Somers
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>

25 years agoDon't print diagnostic anymore
Robert V. Baron [Fri, 4 Dec 1998 18:44:21 +0000 (18:44 +0000)]
Don't print diagnostic anymore

25 years agoIn vnode_pager_input_old, set auio.uio_procp = curproc
Robert V. Baron [Fri, 4 Dec 1998 18:39:44 +0000 (18:39 +0000)]
In vnode_pager_input_old, set auio.uio_procp = curproc
vs auio.uio_procp = (struct proc *) 0

25 years agoAn early Christmas present: add driver support for a whole bunch of
Bill Paul [Fri, 4 Dec 1998 18:01:24 +0000 (18:01 +0000)]
An early Christmas present: add driver support for a whole bunch of
PCI fast ethernet adapters, plus man pages.

if_pn.c: Netgear FA310TX model D1, LinkSys LNE100TX, Matrox FastNIC 10/100,
         various other PNIC devices

if_mx.c: NDC Communications SOHOware SFA100 (Macronix 98713A), various
         other boards based on the Macronix 98713, 98713A, 98715, 98715A
         and 98725 chips

if_vr.c: D-Link DFE530-TX, other boards based on the VIA Rhine and
         Rhine II chips (note: the D-Link and certain other cards
         that actually use a Rhine II chip still return the PCI
         device ID of the Rhine I. I don't know why, and it doesn't
         really matter since the driver treats both chips the same
         anyway.)

if_wb.c: Trendware TE100-PCIE and various other cards based on the
         Winbond W89C840F chip (the Trendware card is identical to
         the sample boards Winbond sent me, so who knows how many
         clones there are running around)

All drivers include support for ifmedia, BPF and hardware multicast
filtering.

Also updated GENERIC, LINT, RELNOTES.TXT, userconfig and
sysinstall device list.

I also have a driver for the ASIX AX88140A in the works.

25 years agoSync with sys/i386/conf/majors.i386 revision 1.93.
KATO Takenori [Fri, 4 Dec 1998 14:41:32 +0000 (14:41 +0000)]
Sync with sys/i386/conf/majors.i386 revision 1.93.

25 years agoSync with sys/i386/conf/majors.i386 revision up to 1.55.
KATO Takenori [Fri, 4 Dec 1998 14:39:29 +0000 (14:39 +0000)]
Sync with sys/i386/conf/majors.i386 revision up to 1.55.

25 years agoImplement 'software completion' for floating point arithmetic. On the
Doug Rabson [Fri, 4 Dec 1998 10:52:48 +0000 (10:52 +0000)]
Implement 'software completion' for floating point arithmetic.  On the
alpha, operations involving non-finite numbers or denormalised numbers
or operations which should generate such numbers will cause an arithmetic
exception.  For programs which follow some strict code generation rules,
the kernel trap handler can then 'complete' the operation by emulating
the faulting instruction.

To use software completion, a program must be compiled with the arguments
'-mtrap-precision=i' and '-mfp-trap-mode=su' or '-mfp-trap-mode=sui'.
Programs compiled in this way can use non-finite and denormalised numbers
at the expense of slightly less efficient code generation of floating
point instructions.  Programs not compiled with these options will receive
a SIGFPE signal when non-finite or denormalised numbers are used or
generated.

Reviewed by: John Polstra <jdp@polstra.com>

25 years agoAllow either tabs or spaces in configuration files.
Jordan K. Hubbard [Fri, 4 Dec 1998 06:49:20 +0000 (06:49 +0000)]
Allow either tabs or spaces in configuration files.

PR: 8762
Submitted by: Igor Roshchin <str@giganda.komkon.org>

25 years ago Cleanup icmp_var.h, make icmp bandlim sysctl permanent but if ICMP_BANDLIM
Matthew Dillon [Fri, 4 Dec 1998 04:21:25 +0000 (04:21 +0000)]
Cleanup icmp_var.h, make icmp bandlim sysctl permanent but if ICMP_BANDLIM
    option not defined the sysctl int value is set to -1 and read-only.

    #ifdef KERNEL's added appropriately to wall off visibility of kernel
    routines from user code.

25 years agoObtained from: "Andrey A. Chernov" <ache@nagual.pp.ru>
Matthew Dillon [Fri, 4 Dec 1998 03:49:18 +0000 (03:49 +0000)]
Obtained from: "Andrey A. Chernov" <ache@nagual.pp.ru>

     Quick add #ifdef KERNEL for ICMP_BANDLIM option so userland program
     can #include icmp_var.h

25 years agoFix typo ('strait' -> 'straight').
Joseph Koshy [Fri, 4 Dec 1998 00:51:17 +0000 (00:51 +0000)]
Fix typo ('strait' -> 'straight').

PR: docs/8956
Submitted by: Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>

25 years agoAdd __attribute__ ((unused)) to the SYSINIT etc macros which declare
John Birrell [Thu, 3 Dec 1998 23:02:03 +0000 (23:02 +0000)]
Add __attribute__ ((unused)) to the SYSINIT etc macros which declare
static structures that are used with the data set magic. This allows
kernel modules, for example, to be compiled with -Wall -Werror.

25 years agoMake a spelling fix, and make sure all instances of belltype contain the
Bill Fumerola [Thu, 3 Dec 1998 22:21:13 +0000 (22:21 +0000)]
Make a spelling fix, and make sure all instances of belltype contain the
preceded option "quiet."

PR: docs/8506
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>

25 years agoClarify what the '-r' option does.
Bill Fumerola [Thu, 3 Dec 1998 20:44:45 +0000 (20:44 +0000)]
Clarify what the '-r' option does.

PR: docs/8108
Submitted by: Matthew Fuller <fullermd@futuresouth.com>