]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoDo not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall.
Philippe Charnier [Wed, 15 Jul 1998 06:33:15 +0000 (06:33 +0000)]
Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall.

26 years agoCorrect use of .Nm. Remove unused #includes. Short usage() string, see man
Philippe Charnier [Wed, 15 Jul 1998 06:30:38 +0000 (06:30 +0000)]
Correct use of .Nm. Remove unused #includes. Short usage() string, see man
page for details.

26 years agoAdd prototypes. Check malloc() return value. Use err(). Remove unused #includes
Philippe Charnier [Wed, 15 Jul 1998 06:28:05 +0000 (06:28 +0000)]
Add prototypes. Check malloc() return value. Use err(). Remove unused #includes
Do not \n nor dot terminate syslog()/err() messages. -Wall.

26 years agoCorrect improper use of .Sm. Document -d flag. Correct use of .Nm. Remove
Philippe Charnier [Wed, 15 Jul 1998 06:21:41 +0000 (06:21 +0000)]
Correct improper use of .Sm. Document -d flag. Correct use of .Nm. Remove
unused #includes. Add usage(). Use warnx(). Correct spelling. Abort when
malloc() fails.

26 years agoCast between longs and pointers via intptr_t. The results of fuword()
Bruce Evans [Wed, 15 Jul 1998 06:19:33 +0000 (06:19 +0000)]
Cast between longs and pointers via intptr_t.  The results of fuword()
should be checked before casting.  The results of suword() should be
checked.

26 years ago.Nm mount_union -> .Nm.
Philippe Charnier [Wed, 15 Jul 1998 06:13:45 +0000 (06:13 +0000)]
.Nm mount_union -> .Nm.

26 years agoCorrect use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos.
Philippe Charnier [Wed, 15 Jul 1998 06:12:32 +0000 (06:12 +0000)]
Correct use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos.

26 years agoCast longs to intptr_t before casting them to pointers.
Bruce Evans [Wed, 15 Jul 1998 06:10:16 +0000 (06:10 +0000)]
Cast longs to intptr_t before casting them to pointers.

Fixed bitrot in pseudo-declaration of `struct fcntl_args'.  fcntl()
is now broken in some cases when ints are larger than longs.

26 years agoCorrect use of .Nm. Remove unused #includes.
Philippe Charnier [Wed, 15 Jul 1998 06:08:47 +0000 (06:08 +0000)]
Correct use of .Nm. Remove unused #includes.

26 years agoCast pointers to intptr_t instead of or before casting to long.
Bruce Evans [Wed, 15 Jul 1998 05:21:48 +0000 (05:21 +0000)]
Cast pointers to intptr_t instead of or before casting to long.

Fixed bitrot in K&R support (suword() now takes a long word).
Didn't fix corresponding bitrot in store.9 and fetch.9.

The correct types for the store and fetch families are problematic.
The `word' functions are unfortunately named and need to be split
to handle ints/longs/object pointers/function pointers.  Storing
argv[] as longs is quite broken when longs are longer than pointers,
but usually works because it clobbers variables that will soon be
reinitialized.

26 years agoCast u_longs to uintptr_t before casting them to pointers. Don't
Bruce Evans [Wed, 15 Jul 1998 05:00:26 +0000 (05:00 +0000)]
Cast u_longs to uintptr_t before casting them to pointers.  Don't
attempt to even partially support systems with function pointers
larger than object pointers.

26 years agoCast function pointers to uintfptr_t before casting them to u_long.
Bruce Evans [Wed, 15 Jul 1998 04:43:49 +0000 (04:43 +0000)]
Cast function pointers to uintfptr_t before casting them to u_long.
Hopefully caddr_t is large enough to hold function pointers.

Cast object pointers to uintptr_t before casting them to u_long.

Types are wronger than usual for the PT_READ_U case.  ptrace() can
only return ints, but longs are accessed.

26 years agoAdd support for a new archetype "printf0" for the "format" function
John Polstra [Wed, 15 Jul 1998 04:22:45 +0000 (04:22 +0000)]
Add support for a new archetype "printf0" for the "format" function
attribute.  It is like the existing "printf" archetype, except that
it doesn't complain if the format string is a null pointer.  See
the node "Function Attributes" in the GCC info pages if you don't
know what this is all about.

This change will allow us to add format string checking for the
err(3) family of functions.

26 years agoCast pointers to [u]intptr_t instead of to [unsigned] long.
Bruce Evans [Wed, 15 Jul 1998 04:17:55 +0000 (04:17 +0000)]
Cast pointers to [u]intptr_t instead of to [unsigned] long.

26 years agoCast the value returned by strtoul() to a uintptr_t before casting
Bruce Evans [Wed, 15 Jul 1998 04:03:54 +0000 (04:03 +0000)]
Cast the value returned by strtoul() to a uintptr_t before casting
it to a pointer.  There's nothing better than strtoul() for reading
pointers from strings, but the range checking should be better.

26 years agoCast virtual addresses that happen to be represented as u_longs to
Bruce Evans [Wed, 15 Jul 1998 03:58:57 +0000 (03:58 +0000)]
Cast virtual addresses that happen to be represented as u_longs to
uintptr_t before casting them to pointers.  Explicit u_longs should
never be used to represent virtual addresses... (vm_offset_t is
normally right).

26 years agoFix inconsistent port numbering in man page.
Joseph Koshy [Wed, 15 Jul 1998 03:32:45 +0000 (03:32 +0000)]
Fix inconsistent port numbering in man page.

PR: 7250
Submitted-by: Norihiro Kumagai <kuma@jp.freebsd.org>
26 years agoCast pointers to uintptr_t/intptr_t instead of to u_long/long,
Bruce Evans [Wed, 15 Jul 1998 02:32:35 +0000 (02:32 +0000)]
Cast pointers to uintptr_t/intptr_t instead of to u_long/long,
respectively.  Most of the longs should probably have been
u_longs, but this changes is just to prevent warnings about
casts between pointers and integers of different sizes, not
to fix poorly chosen types.

26 years agoAdd support for the AVer Media range of cards.
Søren Schmidt [Tue, 14 Jul 1998 21:19:58 +0000 (21:19 +0000)]
Add support for the AVer Media range of cards.

26 years agoRevert "POSIX saved uids change". seteuid(2) is not POSIX, and
Guy Helmer [Tue, 14 Jul 1998 19:07:30 +0000 (19:07 +0000)]
Revert "POSIX saved uids change".  seteuid(2) is not POSIX, and
FreeBSD does not have _POSIX_SAVED_IDS enabled.  Thanks to Warner Losh
and Ollivier Robert for pointing this out, and Bruce Evans for explaining
the role of _POSIX_SAVED_IDS.

26 years agoProvide meaningful errno value on error return
Andrey A. Chernov [Tue, 14 Jul 1998 18:27:43 +0000 (18:27 +0000)]
Provide meaningful errno value on error return

26 years agoAdd missing register name defines.
Mike Smith [Tue, 14 Jul 1998 17:13:23 +0000 (17:13 +0000)]
Add missing register name defines.

26 years agoPrint pointers using %p instead of attempting to print them by
Bruce Evans [Tue, 14 Jul 1998 12:26:15 +0000 (12:26 +0000)]
Print pointers using %p instead of attempting to print them by
casting them to long, etc.  Fixed some nearby printf bogons (sign
errors not warned about by gcc, and style bugs, but not truncation
of vm_ooffset_t's).

26 years agoPrint pointers using %p instead of attempting to print them by
Bruce Evans [Tue, 14 Jul 1998 12:14:58 +0000 (12:14 +0000)]
Print pointers using %p instead of attempting to print them by
casting them to long, etc.  Fixed some nearby printf bogons (sign
errors not warned about by gcc, and style bugs, but not truncation
of vm_ooffset_t's).

Use slightly less bogus casts for passing pointers to ddb command
functions.

26 years agoDon't pretend to support ix86's with 16-bit ints by using longs
Bruce Evans [Tue, 14 Jul 1998 11:42:05 +0000 (11:42 +0000)]
Don't pretend to support ix86's with 16-bit ints by using longs
just to ensure 32-bit variables.  Doing so broke i386's with 64-bit
longs.

26 years agoIf object pointers need to be cast to [unsigned] integers, then cast
Bruce Evans [Tue, 14 Jul 1998 11:34:22 +0000 (11:34 +0000)]
If object pointers need to be cast to [unsigned] integers, then cast
to [u]intptr_t instead of to [u_]long.

Don't cast pointers to integers just to do ordinary pointer arithmetic
on them, especially when the casts use gcc's feature of casting lvalues.

26 years agoAvoid some casts of pointers to integers (of possibly different sizes).
Bruce Evans [Tue, 14 Jul 1998 11:19:32 +0000 (11:19 +0000)]
Avoid some casts of pointers to integers (of possibly different sizes).

26 years agoioctl() request args are unsigned longs, so don't attempt to store
Bruce Evans [Tue, 14 Jul 1998 10:32:27 +0000 (10:32 +0000)]
ioctl() request args are unsigned longs, so don't attempt to store
them as ints.  Among other bugs, doing so at best caused benign
overflow followed by fatal sign extension on machines with 32-bit
ints and 64-bit longs.

26 years agoMake `dump' exit codes confirm to manual page.
Joseph Koshy [Tue, 14 Jul 1998 09:19:47 +0000 (09:19 +0000)]
Make `dump' exit codes confirm to manual page.

PR: 5346
Style-check-by: bde
26 years agoAdd $Id$.
Joseph Koshy [Tue, 14 Jul 1998 08:28:15 +0000 (08:28 +0000)]
Add $Id$.

PR: 7251
Submitted by:   Norihiro Kumagai <kuma@jp.freebsd.org>

26 years agoAdd $Id$.
Joseph Koshy [Tue, 14 Jul 1998 08:18:51 +0000 (08:18 +0000)]
Add $Id$.

PR: 7249

26 years agoInserted missing .Bl in the FILES section.
Dag-Erling Smørgrav [Tue, 14 Jul 1998 07:55:27 +0000 (07:55 +0000)]
Inserted missing .Bl in the FILES section.

Unknowingly pointed out by: Snob Art Genre <benedict@echonyc.com>

26 years agoI checked in the wrong version yesterday . The correct version is 1.38
Amancio Hasty [Tue, 14 Jul 1998 07:11:20 +0000 (07:11 +0000)]
I checked in the wrong version yesterday . The correct version is 1.38

Amancio

26 years agoDon't pretend to support ix86's with 16-bit ints and 32-bit registers
Bruce Evans [Tue, 14 Jul 1998 06:17:28 +0000 (06:17 +0000)]
Don't pretend to support ix86's with 16-bit ints and 32-bit registers
by using longs just to ensure 32-bit variables.  Long variables don't
fit in 32-bit registers on ix86's with 64-bit longs.

26 years agoChanged to the C9x draft spelling of the (unsigned) integral type
Bruce Evans [Tue, 14 Jul 1998 05:09:48 +0000 (05:09 +0000)]
Changed to the C9x draft spelling of the (unsigned) integral type
suitable for holding object pointers (ptrint_t -> uintptr_t).
Added corresponding signed type (intptr_t).  Changed/added
corresponding non-C9x types for function pointers to match.  Don't
use nonstandard types to implement these types, and don't comment
on them in <machine/types.h>.

26 years agoAdd list of Compaq and Olicom ethernet cards that work with the
Bill Paul [Tue, 14 Jul 1998 02:14:13 +0000 (02:14 +0000)]
Add list of Compaq and Olicom ethernet cards that work with the
ThunderLAN driver to the 'supported hardware' section.

26 years agoAdd US Mirror site to MASTER_SITE_KDE.
Stefan Eßer [Mon, 13 Jul 1998 23:39:02 +0000 (23:39 +0000)]
Add US Mirror site to MASTER_SITE_KDE.

26 years agoDeclare pointers to CSR register space to be volatile. This seems to
Bill Paul [Mon, 13 Jul 1998 18:15:48 +0000 (18:15 +0000)]
Declare pointers to CSR register space to be volatile. This seems to
cure the problems I was having with interrupts not being acknowledged
on time. This fixes a problem I observed where starting two ping -f
processes at 10Mbps would cause an adapter check due to TX GO commands
being issued before TXEOC interrupts were being acked.

Also fix a small problem with tl_start(): the mechanism I was using
to queue new packets onto the TX chain was bogus.

Change adapter check handler so that it resets card state after
tl_softreset() is stored.

Moved all EEPROM-related macro definitions into if_tlreg.h.

Don't allow an autoneg session to start until after the TX queue has
been drained, and don't transmit anything until after the autoneg
session is complete.

Also add support for two more Compaq ThunderLAN-based cards, and three
cards from Olicom which also use the ThunderLAN chip. The only thing
different about the Olicom cards is that they store the station address
at a different location within the EEPROM.

26 years agoRemoved a bogus forward struct declaration.
Bruce Evans [Mon, 13 Jul 1998 12:20:07 +0000 (12:20 +0000)]
Removed a bogus forward struct declaration.

Cleaned up ifdefs.

26 years agoFixed some longs that should have been fixed-sized types.
Bruce Evans [Mon, 13 Jul 1998 12:12:25 +0000 (12:12 +0000)]
Fixed some longs that should have been fixed-sized types.

26 years agoFixed overflow and sign extension bugs in
Bruce Evans [Mon, 13 Jul 1998 11:53:59 +0000 (11:53 +0000)]
Fixed overflow and sign extension bugs in
`len = min(so->so_snd.sb_cc, win) - off;'.  min() has type u_int
and `off' has type int, so when min() is 0 and `off' is 1, the RHS
overflows to 0U - 1 = UINT_MAX.  `len' has type long, so when
sizeof(long) == sizeof(int), the LHS normally overflows to to the
correct value of -1, but when sizeof(long) > sizeof(int), the LHS
is UINT_MAX.

Fixed some u_long's that should have been fixed-sized types.

26 years agoDeclare tcp_seq and tcp_cc as fixed-size types. Half fixed type
Bruce Evans [Mon, 13 Jul 1998 11:09:52 +0000 (11:09 +0000)]
Declare tcp_seq and tcp_cc as fixed-size types.  Half fixed type
mismatches exposed by this (the prototype for tcp_respond() didn't
match the  function definition lexically, and still depends on a
gcc feature to match if ints have more than 32 bits).

26 years agoDeclare id_mask as a fixed-size type.
Bruce Evans [Mon, 13 Jul 1998 11:01:03 +0000 (11:01 +0000)]
Declare id_mask as a fixed-size type.

26 years agoDeclare n_short, n_long and n_time as fixed-sized types. Don't ifdef
Bruce Evans [Mon, 13 Jul 1998 10:54:24 +0000 (10:54 +0000)]
Declare n_short, n_long and n_time as fixed-sized types.  Don't ifdef
n_long or n_short specially for alphas.

26 years agoDon't attempt to optimize the space allocated for bpf headers if
Bruce Evans [Mon, 13 Jul 1998 10:44:02 +0000 (10:44 +0000)]
Don't attempt to optimize the space allocated for bpf headers if
sizeof(struct bpf_hdr) > 20.  20 is normal on 32-bit systems with
32-bit alignment, but we still assume that the last 2 bytes of the
struct are unnecessary padding on such systems.  On systems with
64-bit longs, struct timeval is bloated to 16 bytes, so bpf headers
certainly don't fit in 18 bytes.

26 years agoFixed printf format errors (only 1 left in GENERIC now).
Bruce Evans [Mon, 13 Jul 1998 09:53:11 +0000 (09:53 +0000)]
Fixed printf format errors (only 1 left in GENERIC now).

26 years agoSync with sys/i386/isa/fd.c and wd.c revisions 1.117 and 1.172,
KATO Takenori [Mon, 13 Jul 1998 09:29:25 +0000 (09:29 +0000)]
Sync with sys/i386/isa/fd.c and wd.c revisions 1.117 and 1.172,
respectively.

26 years agoSLICE probing becomes asynchronous. It can now be triggered by
Julian Elischer [Mon, 13 Jul 1998 08:23:05 +0000 (08:23 +0000)]
SLICE probing becomes asynchronous. It can now be triggered by
interupt level events. This needs a lot of cleanup, but has been working
here for a month or two.. originally needed for CAM integration
but that hasn't happenned yet. The probing  state machines for each
handler should be replaced by a more generic state-service. It's
still quite messy in there..

26 years agoFixed printf format errors.
Bruce Evans [Mon, 13 Jul 1998 07:05:55 +0000 (07:05 +0000)]
Fixed printf format errors.

26 years agoAdded macros __printflike() and __scanflike() to <sys/cdefs.h>.
Bruce Evans [Mon, 13 Jul 1998 06:45:23 +0000 (06:45 +0000)]
Added macros __printflike() and __scanflike() to <sys/cdefs.h>.
Use them to `make gcc -Wformat' check formats for all printf-like
and scanf-like functions in /usr/src except for the err()/warn()
family.  err() isn't quite printf-like since its format arg can
legitimately be NULL.  syslog() isn't quite printf-like, but gcc
already accepts %m, even for plain printf() when it shouldn't.

26 years agoFix braino in last commit.
Julian Elischer [Mon, 13 Jul 1998 06:34:02 +0000 (06:34 +0000)]
Fix braino in last commit.
Not even sure how I got this commit in as it didn't even compile.

26 years agoImproved Hauppauge's tuner detection and bt878 support
Amancio Hasty [Mon, 13 Jul 1998 02:16:34 +0000 (02:16 +0000)]
Improved Hauppauge's tuner detection and bt878 support

Amancio

26 years agoForgot to remove base64.c from SRCS in the Makefile.
Dag-Erling Smørgrav [Sun, 12 Jul 1998 22:37:45 +0000 (22:37 +0000)]
Forgot to remove base64.c from SRCS in the Makefile.

26 years agoBase64 code (and the MIT copyright) moved to http.c
Dag-Erling Smørgrav [Sun, 12 Jul 1998 22:34:40 +0000 (22:34 +0000)]
Base64 code (and the MIT copyright) moved to http.c
FTP STORe and APPEnd added.
FTP proxy support added (untested).

26 years agoRemove unused member reselet from struct tstamp.
Stefan Eßer [Sun, 12 Jul 1998 20:32:52 +0000 (20:32 +0000)]
Remove unused member reselet from struct tstamp.

26 years agoRemove printing of variable "reselect" which is not really maintained
Stefan Eßer [Sun, 12 Jul 1998 20:30:11 +0000 (20:30 +0000)]
Remove printing of variable "reselect" which is not really maintained
by the NCR driver.

Fix use of "regtime" which became an int (had been a time_t).

Submitted by: bde

26 years agoFix size of time stamps (had been time_t before the variable "time" was
Stefan Eßer [Sun, 12 Jul 1998 20:26:45 +0000 (20:26 +0000)]
Fix size of time stamps (had been time_t before the variable "time" was
hidden). Now "ticks" are used, which are 4 byte, not 8 byte in size.
The size mismatch did not matter due to sufficient padding at the end
of the structure that holds time stamps (there is an unused member).

The fix suggested by Bruce Evans used "sizeof (ticks_t)", but I prefer
to use "sizeof ticks", and didn't seem to object in his last mail on
this topic.

Submitted by: bde

26 years agoShow on-screen ``phase'' logging and try to negotiate
Brian Somers [Sun, 12 Jul 1998 17:11:53 +0000 (17:11 +0000)]
Show on-screen ``phase'' logging and try to negotiate
nameserver IPs by default at install time.
Approved by: jkh

26 years agoSet the minimum malloc bucket to 5. In a DIAGNOSTIC kernel, the extra
Doug Rabson [Sun, 12 Jul 1998 16:49:54 +0000 (16:49 +0000)]
Set the minimum malloc bucket to 5.  In a DIAGNOSTIC kernel, the extra
data in struct freelist is larger than 16 bytes on the alpha.

26 years agoPoint at the correct disk location for alpha disklabels.
Doug Rabson [Sun, 12 Jul 1998 16:48:08 +0000 (16:48 +0000)]
Point at the correct disk location for alpha disklabels.

26 years agoMake sure the packet is aligned correctly for the alpha in if_simloop.
Doug Rabson [Sun, 12 Jul 1998 16:46:52 +0000 (16:46 +0000)]
Make sure the packet is aligned correctly for the alpha in if_simloop.

26 years agoInitialise all the fields separately in vattr_null since on the alpha
Doug Rabson [Sun, 12 Jul 1998 16:45:39 +0000 (16:45 +0000)]
Initialise all the fields separately in vattr_null since on the alpha
they are not all the same width.

26 years agoOverhaul the spl system so that it actually works properly.
Doug Rabson [Sun, 12 Jul 1998 16:32:10 +0000 (16:32 +0000)]
Overhaul the spl system so that it actually works properly.

26 years agoDon't bother calling pmap_emulate_reference() from cpu_fork(). It isn't
Doug Rabson [Sun, 12 Jul 1998 16:30:58 +0000 (16:30 +0000)]
Don't bother calling pmap_emulate_reference() from cpu_fork().  It isn't
needed and it panics a DIAGNOSTIC kernel.

26 years agoDefine option DEC_EB164
Doug Rabson [Sun, 12 Jul 1998 16:28:09 +0000 (16:28 +0000)]
Define option DEC_EB164

26 years agoAdd entry for prom console.
Doug Rabson [Sun, 12 Jul 1998 16:27:34 +0000 (16:27 +0000)]
Add entry for prom console.

26 years agoAdd some bits and pieces for my test box.
Doug Rabson [Sun, 12 Jul 1998 16:26:52 +0000 (16:26 +0000)]
Add some bits and pieces for my test box.

26 years agoUpdate to new interrupt api.
Doug Rabson [Sun, 12 Jul 1998 16:23:19 +0000 (16:23 +0000)]
Update to new interrupt api.

26 years agoChange interrupt api to be closer to intr_create/intr_connect.
Doug Rabson [Sun, 12 Jul 1998 16:20:52 +0000 (16:20 +0000)]
Change interrupt api to be closer to intr_create/intr_connect.

26 years agoImplement CIA interrupts.
Doug Rabson [Sun, 12 Jul 1998 16:17:54 +0000 (16:17 +0000)]
Implement CIA interrupts.

Obtained from: SRM console magic from NetBSD

26 years agoImplement intr_create/intr_connect.
Doug Rabson [Sun, 12 Jul 1998 16:16:22 +0000 (16:16 +0000)]
Implement intr_create/intr_connect.

26 years agoImplement promcncheckc.
Doug Rabson [Sun, 12 Jul 1998 16:15:06 +0000 (16:15 +0000)]
Implement promcncheckc.

26 years agoAdd some debug code.
Doug Rabson [Sun, 12 Jul 1998 16:13:54 +0000 (16:13 +0000)]
Add some debug code.
Always clear TLB in pmap_activate, even if activating curproc's pmap.

26 years agoAdd a couple of sysctls and implement sendsig/sigreturn.
Doug Rabson [Sun, 12 Jul 1998 16:10:52 +0000 (16:10 +0000)]
Add a couple of sysctls and implement sendsig/sigreturn.

Obtained from: signal code from NetBSD

26 years agoAdd some generic interrupt dispatch code.
Doug Rabson [Sun, 12 Jul 1998 16:09:30 +0000 (16:09 +0000)]
Add some generic interrupt dispatch code.

26 years agoAdd definition of p_switchtime.
Doug Rabson [Sun, 12 Jul 1998 16:08:15 +0000 (16:08 +0000)]
Add definition of p_switchtime.

26 years agoInclude opt_ddb.h.
Doug Rabson [Sun, 12 Jul 1998 16:07:43 +0000 (16:07 +0000)]
Include opt_ddb.h.

26 years agoHardwire the root disk of my test box for now.
Doug Rabson [Sun, 12 Jul 1998 16:07:05 +0000 (16:07 +0000)]
Hardwire the root disk of my test box for now.

26 years agoSync with sys/i386/conf/Makefile.i386 revision 1.117.
KATO Takenori [Sun, 12 Jul 1998 14:30:54 +0000 (14:30 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.117.

26 years agoRemoved historical dependencies on `Makefile'. They had rotted to being
Bruce Evans [Sun, 12 Jul 1998 10:47:32 +0000 (10:47 +0000)]
Removed historical dependencies on `Makefile'.  They had rotted to being
mostly for objects that have the fewest dependencies on `Makefile'
(since they were mostly for utilities and objects generated from *.s
and these don't depend on profiling flags).

Give an explicit rule for building vnode_if.o.  This fixes building
it without ${PROF}.

Use .ORDER instead of a stamp file to avoid building vnode_if.[ch]
concurrently.

Removed explicit dependencies that will be generated by `make' (.c.o)
or will be generated by mkdep.

Added missing dependencies of special objects on opt_global.h.

Use ${NORMAL_C} instead of special rules for special objects where
possible.

FIxed dependencies of vers.o.

26 years agoRemoved all traces of PARAM in Makefile.i386. Incremented CONFIGVERS
Bruce Evans [Sun, 12 Jul 1998 09:52:45 +0000 (09:52 +0000)]
Removed all traces of PARAM in Makefile.i386.  Incremented CONFIGVERS
to reflect the dependency of Makefile.i386 on nothing being put in
PARAM.

Config versioning is too closely coupled with the Makefile.i386.

26 years agoFix proxy authorization code:
Stefan Eßer [Sun, 12 Jul 1998 09:07:36 +0000 (09:07 +0000)]
Fix proxy authorization code:

- failed to use authorization parameters passed in the environment, if
  /dev/tty could not be opened (i.e. if running from cron)
- mixed use of /dev/tty and stdin for prompt and reading of the result

26 years agoConvert the maxusers directive to a normal MAXUSERS option (normally
Bruce Evans [Sun, 12 Jul 1998 08:10:33 +0000 (08:10 +0000)]
Convert the maxusers directive to a normal MAXUSERS option (normally
define MAXUSERS in opt_param.h as directed in /sys/conf/options;
if it's not mentioned there, then define it in IDENT; never define
it in PARAM).  MAXUSERS probably should be a completely normal option.

Don't define PARAM now that it is empty.

Cleaned up similar conversion of cpu directives to XXX_CPU options.

26 years agoWarn about redefined options. Keep using the last value processed.
Bruce Evans [Sun, 12 Jul 1998 02:31:08 +0000 (02:31 +0000)]
Warn about redefined options.  Keep using the last value processed.
Options are processed reverse file order, so the first definition in
the config file wins (except for directives that are converted to
option).

26 years agoFixed off-by-1 errors in option line numbers. yyline is 0-based, but
Bruce Evans [Sun, 12 Jul 1998 02:18:41 +0000 (02:18 +0000)]
Fixed off-by-1 errors in option line numbers.  yyline is 0-based, but
was used as if it is 1-based.  This happened to give the correct result
for options without values because of a compensating error in newline
lexing.  Didn't fix the latter, so line numbers in yyerror() may still
be 1 too high in some cases.

26 years agoPrepare to handle MAXUSERS as a normal option.
Bruce Evans [Sun, 12 Jul 1998 01:48:14 +0000 (01:48 +0000)]
Prepare to handle MAXUSERS as a normal option.

26 years agoCorrect enable/disable handling (broken when ironing out
Brian Somers [Sun, 12 Jul 1998 00:30:18 +0000 (00:30 +0000)]
Correct enable/disable handling (broken when ironing out
32/64 bit issues recently).

26 years agoFTP retrieve works.
Dag-Erling Smørgrav [Sat, 11 Jul 1998 21:29:08 +0000 (21:29 +0000)]
FTP retrieve works.

26 years agoCheck the ``alive'' filter for a packet *before* the
Brian Somers [Sat, 11 Jul 1998 19:05:24 +0000 (19:05 +0000)]
Check the ``alive'' filter for a packet *before* the
mbuf is deallocated by vj_SendFrame().

26 years agoToo many changes to list. Basically, FTP is nearly there and error
Dag-Erling Smørgrav [Sat, 11 Jul 1998 18:56:01 +0000 (18:56 +0000)]
Too many changes to list. Basically, FTP is nearly there and error
reporting is kinda sorted out. Now HTTP needs to catch up...

26 years agoSync with sys/i386/isa/wd.c revision 1.171.
KATO Takenori [Sat, 11 Jul 1998 17:02:48 +0000 (17:02 +0000)]
Sync with sys/i386/isa/wd.c revision 1.171.

26 years agoSync with sys/i386/isa/fd.c revision 1.116.
KATO Takenori [Sat, 11 Jul 1998 17:02:07 +0000 (17:02 +0000)]
Sync with sys/i386/isa/fd.c revision 1.116.

26 years agoSync with sys/i386/isa/diskslice_machdep.c revision 1.28.
KATO Takenori [Sat, 11 Jul 1998 17:01:25 +0000 (17:01 +0000)]
Sync with sys/i386/isa/diskslice_machdep.c revision 1.28.

26 years agoSync with sys/i386/i386/machdep.c revision 1.303.
KATO Takenori [Sat, 11 Jul 1998 17:00:33 +0000 (17:00 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.303.

26 years agoFixed whitespace lossage and long lines in previous commit.
Bruce Evans [Sat, 11 Jul 1998 13:25:09 +0000 (13:25 +0000)]
Fixed whitespace lossage and long lines in previous commit.

26 years agoMoved definition of fscale from param.c to kern_synch.c where it
Bruce Evans [Sat, 11 Jul 1998 13:06:41 +0000 (13:06 +0000)]
Moved definition of fscale from param.c to kern_synch.c where it
should always have been (it has no user-servicable parts even at
compile time) and staticized it.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 12:17:07 +0000 (12:17 +0000)]
Fixed printf format errors.

Use offsetof() instead of null pointer hacks.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 12:07:52 +0000 (12:07 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 11:30:46 +0000 (11:30 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors.
Bruce Evans [Sat, 11 Jul 1998 11:10:46 +0000 (11:10 +0000)]
Fixed printf format errors.