Commit Graph

33941 Commits

Author SHA1 Message Date
kato
e6cab8a65d Use CNAME macro for pc98_system_parameter, which is referenced from C
source.

Submitted by:	Masanori Kanaoka <kana@saijo.mke.mei.co.jp>
1998-12-08 10:22:31 +00:00
bde
703e6af685 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
1998-12-08 10:22:07 +00:00
kato
6d18baeed4 Sync with sys/i386/conf/Makefile.i386 revision 1.130. 1998-12-08 08:19:45 +00:00
kato
a16a8d27ed 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.
1998-12-08 08:18:59 +00:00
kato
b9d6f1d99a Sync with sys/i386/i386/userconfig.c revision 1.117. 1998-12-08 08:17:43 +00:00
archie
523b5bfd23 Automatically detect a.out vs. elf kernel 1998-12-08 08:14:37 +00:00
jkh
5f7a88f39d DOH! Name the mfsroot contents properly.
Noticed by:	"Sean O'Connell" <sean@stat.Duke.EDU>
1998-12-08 00:14:51 +00:00
imp
247cdb91cf 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
1998-12-07 22:36:54 +00:00
archie
84bd80a4f9 The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
1998-12-07 21:58:50 +00:00
wpaul
4e324e76dc 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
1998-12-07 18:14:30 +00:00
eivind
45469c557d 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>
1998-12-07 17:23:45 +00:00
eivind
395364fd59 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
1998-12-07 16:31:15 +00:00
ache
e2b7c19122 unlocalize date
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1998-12-07 16:17:41 +00:00
rnordier
7b46a55739 Use '#' flag in place of "0x" in format strings. 1998-12-07 14:09:17 +00:00
bde
63eaa8e5a1 Don't put compiler warning flags in leaf Makefiles. 1998-12-07 12:50:48 +00:00
bde
5f8d3f0bd8 CFLAGS+= -Wall -Wformat for all of src/bin. All warnings except 2 minor
ones in rmail have been fixed.
1998-12-07 12:44:12 +00:00
bde
5b011afdf7 Fixed printf format errors. 1998-12-07 12:37:11 +00:00
bde
7cc3c52e40 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.)
1998-12-07 12:14:04 +00:00
bde
f32e55c042 Removed unused include of <kvm.h>. It was alarming for libc to apparently
depend on libkvm.

Removed obsolete `#define _NEW_VFSCONF'.
1998-12-07 11:26:28 +00:00
bde
67c1d3cb36 Fixed -Wall regression (broken in rev.1.12). Removed unused includes. 1998-12-07 10:25:48 +00:00
bde
3d87ed2173 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).
1998-12-07 10:16:58 +00:00
ache
2ec5c25e9f Move stime declaration to main block, otherwise can left uninitialized
in rare cases.
Found by: Eivind Eklund <eivind@yes.no>
1998-12-07 07:59:20 +00:00
archie
237fe32934 Disallow ipfw "tee" rules until it is actually implemented.
PR:		bin/8471
1998-12-07 05:54:37 +00:00
eivind
c2339d86e3 Clean up some pointer usage. 1998-12-07 05:41:10 +00:00
archie
74c91a262b Fix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars.
PR:		bin/7939
1998-12-07 05:35:54 +00:00
archie
00fc8f968b Compile -Wall 1998-12-07 05:33:39 +00:00
eivind
0a6d9e931e Remove guard for < 0 on an unsigned variable. 1998-12-07 03:26:34 +00:00
eivind
fe0eb54c13 '\0' is the most ugly NULL pointer constant I've ever seen in real code. 1998-12-07 02:47:46 +00:00
wpaul
2d8e0a50a1 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
1998-12-07 00:35:06 +00:00
archie
b24c3efc8e Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
jkh
694925d3b0 Shuffle the exclusion list for boot.flp in an effort to get sizes
down again.
1998-12-06 21:58:50 +00:00
archie
c7ac889ebb Add "-aout" flag to nm until the kernel is ELF'd. 1998-12-06 21:39:07 +00:00
jkh
efe77b2b21 Correct for mfsroot.flp now. 1998-12-06 20:38:49 +00:00
bde
bd18c5fbb9 Ifdefed a conditionally used include.
Don't depend on "implicit int".

Don't bloat the data section with labpc_devsw_installed.
1998-12-06 17:58:21 +00:00
bde
f09e2f6cd8 Backed out previous commit. It was for bug for bug compatibility with
2.2's .mk files.

Fixed spelling and placement of '$Id$'.
1998-12-06 17:34:50 +00:00
bde
c3d159079b Removed bitrotted code for setting OBJFORMAT. 1998-12-06 17:14:37 +00:00
alex
592a3d00b2 Sync usage string with reality: removed -n, added -s. 1998-12-06 16:31:47 +00:00
jkh
3e2f36d036 MFC: loosen compare even though bde doesn't like it. 1998-12-06 11:36:24 +00:00
jkh
ecf852edc5 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>
:-)
1998-12-06 10:13:57 +00:00
archie
e14218b29d Make rcsid a const char[] instead of char[] to avoid compiler warnings 1998-12-06 08:15:08 +00:00
archie
bba999ead8 Eliminate compiler warnings from -Wall 1998-12-06 07:42:09 +00:00
archie
039fc102f7 Eliminate compiler warnings from -Wall 1998-12-06 07:36:44 +00:00
obrien
ad241254a6 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>
1998-12-06 05:54:26 +00:00
obrien
6035d4af47 Rev 1.13 fixes PR bin/8958 1998-12-06 05:49:29 +00:00
jkh
b5724b82a5 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. :)
1998-12-06 04:06:39 +00:00
mjacob
d442e67117 fix warning messages from previous delta 1998-12-06 00:10:52 +00:00
mjacob
a1fafb1773 use CAM_DEBUG_XPT to track XPT; correct a misspelling 1998-12-06 00:06:48 +00:00
mjacob
f8d59066b2 print the appropriate SCSI revision (with CCS as a proper name for the announce message 1998-12-06 00:05:47 +00:00
jkh
40e9f5bcf4 Now that John has kindly repo-moved these files, nuke the original
copies and update the Makefile.
1998-12-06 00:05:43 +00:00
archie
a8e6c1a8f3 Avoid compiler warning (printf arg type mismatch) when compiling #ifdef DEBUG 1998-12-06 00:03:30 +00:00