]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoRecord libtelnet.a death.
ru [Fri, 19 Apr 2002 12:39:09 +0000 (12:39 +0000)]
Record libtelnet.a death.

22 years agoExplicitly specifies sin6_family & sin6_len of sockaddr_in6 for raw socket
suz [Fri, 19 Apr 2002 11:39:54 +0000 (11:39 +0000)]
Explicitly specifies sin6_family & sin6_len of sockaddr_in6 for raw socket
destination.
(Currently lack of their specification does not lead to any problem, because
 kernel does not check the consistency between actual address and its
 address family / length on raw socket.

 However kernel should always check their consistency and stop sending packets
 if there is a contradiction.  Considering backward compatibility of
 programs, I just fixed rtsol now;  I'd like to fix the kernel behavior later.)

Reviewed by: ume
MFC after: 3 days

22 years agoMention the UCONSOLE kernel option removal.
ru [Fri, 19 Apr 2002 11:37:34 +0000 (11:37 +0000)]
Mention the UCONSOLE kernel option removal.

Prompted by: sheldonh

22 years agomdoc(7) police: polishing.
ru [Fri, 19 Apr 2002 11:24:02 +0000 (11:24 +0000)]
mdoc(7) police: polishing.

22 years agoBuild modules on ia64:
marcel [Fri, 19 Apr 2002 09:44:50 +0000 (09:44 +0000)]
Build modules on ia64:
o  Make the cam, cd9660 lomac and sound modules i386 and alpha
   specific due to link problems (@gprel relocation when @ltoff
   is required).  Once resolved, these can be moved back to the
   generic list.
o  Build linprocfs only on those architectures that have the
   linux module.
o  Make the sppp module i386 and alpha specific due to compile
   problems (pointers as switch cases). Once resolved, this can
   be moved back to the generic list.
o  Build all i386 specific modules, with the exception of those
   mentioned above as being moved from the generic list to the
   i386 list and those with dependencies on the linux module (aac)
   or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
   linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
   vesa).
o  Don't build acpi as a module yet. It most be ported first.
   Once ported, it can be added to the ia64 list.
o  Don't build ipfilter yet due to compile errors (osreldate.h
   not found).

22 years agoPush the .info file contents out when we're done so people can
phk [Fri, 19 Apr 2002 09:38:45 +0000 (09:38 +0000)]
Push the .info file contents out when we're done so people can
read the description while the megs shift from one place to another.

22 years agoMake kernel dumps work with GEOM.
phk [Fri, 19 Apr 2002 09:24:12 +0000 (09:24 +0000)]
Make kernel dumps work with GEOM.

Notice that if the device on which the dump is set is destroyed for
any reason, the dump setting is lost.  This in particular will
happen in the case of spoilage.  For instance if you set dump on
ad0s1b and open ad0 for writing, ad0s* will be spoilt and the dump
setting lost.  See geom(4) for more about spoiling.

Sponsored by: DARPA & NAI Labs.

22 years agoMake life easier for reference-vector generatorts in tools/regression/geom
phk [Fri, 19 Apr 2002 09:21:27 +0000 (09:21 +0000)]
Make life easier for reference-vector generatorts in tools/regression/geom
by including a FreeBSD friendly CVS identifier in the XML output.

Sponsored by: DARPA & NAI Labs.

22 years agosuser is Giant safe, so optimize a pointless case.
phk [Fri, 19 Apr 2002 09:20:13 +0000 (09:20 +0000)]
suser is Giant safe, so optimize a pointless case.

22 years agoAdd a SI_DUMPDEV flag for devices.
phk [Fri, 19 Apr 2002 09:19:37 +0000 (09:19 +0000)]
Add a SI_DUMPDEV flag for devices.

Sponsored by: DARPA & NAI Labs.

22 years agoRespect setting of NM to allow cross-building.
marcel [Fri, 19 Apr 2002 09:04:53 +0000 (09:04 +0000)]
Respect setting of NM to allow cross-building.

22 years agoLocalize it, LC_CTYPE
ache [Fri, 19 Apr 2002 09:02:16 +0000 (09:02 +0000)]
Localize it, LC_CTYPE

22 years agoSome fixes for Symbol card.
onoe [Fri, 19 Apr 2002 08:16:59 +0000 (08:16 +0000)]
Some fixes for Symbol card.
- The version string doesn't need to start with 'V'.
- Symbol firmware doesn't support ROAMING_MODE nor MICROWAVE_OPEN.
Obtained from: NetBSD

22 years agoUse LC_ALL to pick collate
ache [Fri, 19 Apr 2002 08:16:01 +0000 (08:16 +0000)]
Use LC_ALL to pick collate

Noticed by: tjr

22 years agoStyle.
ru [Fri, 19 Apr 2002 07:43:50 +0000 (07:43 +0000)]
Style.

22 years agoFix the type of .include.
ru [Fri, 19 Apr 2002 07:42:41 +0000 (07:42 +0000)]
Fix the type of .include.

22 years agoFix the bsd.port.mk breakage caused by sys.mk,v 1.60 commit.
ru [Fri, 19 Apr 2002 07:40:34 +0000 (07:40 +0000)]
Fix the bsd.port.mk breakage caused by sys.mk,v 1.60 commit.

Submitted by: fenner

22 years agoAllocate sufficient pages to hold the bootinfo block and stop
marcel [Fri, 19 Apr 2002 06:43:09 +0000 (06:43 +0000)]
Allocate sufficient pages to hold the bootinfo block and stop
hardwiring the location.

22 years agoRemove the bootinfo kludge. We get the address of the bootinfo
marcel [Fri, 19 Apr 2002 06:35:55 +0000 (06:35 +0000)]
Remove the bootinfo kludge. We get the address of the bootinfo
block from the loader.

22 years agojust merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.
suz [Fri, 19 Apr 2002 04:46:24 +0000 (04:46 +0000)]
just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.
(based on freebsd4-snap-20020128)

Reviewed by: ume
MFC after: 1 week

22 years agoDo some minor editing of the entires (the date of the smmsp user
imp [Fri, 19 Apr 2002 04:22:35 +0000 (04:22 +0000)]
Do some minor editing of the entires (the date of the smmsp user
wasn't April 4, but Feb 17th).  Update the updating proceedure to use
the new mergemaster -p flag.  Add a footnote telling users how to cope
if their mergemaster doesn't have a -p flag.

22 years ago o Move the acquisition of Giant from vm_fault() to the point
alc [Fri, 19 Apr 2002 04:20:31 +0000 (04:20 +0000)]
 o Move the acquisition of Giant from vm_fault() to the point
   after initialization in vm_fault1().
 o Fix some style problems in vm_fault1().

22 years agoMove the sysV variable substitution up with the BSD feature that replaced it.
obrien [Fri, 19 Apr 2002 04:08:35 +0000 (04:08 +0000)]
Move the sysV variable substitution up with the BSD feature that replaced it.

22 years ago o Remove vm_map_growstack() from ia64's trap_pfault().
alc [Fri, 19 Apr 2002 02:08:33 +0000 (02:08 +0000)]
 o Remove vm_map_growstack() from ia64's trap_pfault().
 o Remove the acquisition and release of Giant from ia64's trap_pfault().
   (vm_fault() still acquires it.)

22 years agoClean up usage message: don't put optional parameter's in brackets.
rwatson [Fri, 19 Apr 2002 01:42:55 +0000 (01:42 +0000)]
Clean up usage message: don't put optional parameter's in brackets.
Update copyright date.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Extracted from: green

22 years agoWhen exec'ing a set[ug]id program, make sure that the stdio file descriptors
nectar [Fri, 19 Apr 2002 00:45:29 +0000 (00:45 +0000)]
When exec'ing a set[ug]id program, make sure that the stdio file descriptors
(0, 1, 2) are allocated by opening /dev/null for any which are not already
open.

Reviewed by: alfred, phk
MFC after: 2 days

22 years agoFix the breakage of tagged queueing that the busdma integration
sos [Thu, 18 Apr 2002 19:11:45 +0000 (19:11 +0000)]
Fix the breakage of tagged queueing that the busdma integration
introduced. Since its now only possible to have one DMA control
block at a time, we move the setup to dmastart instead.

22 years agoAdd a reference to the kenv(2) manpage.
mux [Thu, 18 Apr 2002 18:49:41 +0000 (18:49 +0000)]
Add a reference to the kenv(2) manpage.

22 years agoDon't list pam_unix in the session chain, since it does not provide any
des [Thu, 18 Apr 2002 17:40:27 +0000 (17:40 +0000)]
Don't list pam_unix in the session chain, since it does not provide any
session management services.

Sponsored by: DARPA, NAI Labs

22 years agoDe-__P, use ansi function definitions
imp [Thu, 18 Apr 2002 17:14:09 +0000 (17:14 +0000)]
De-__P, use ansi function definitions

22 years agoConnect the kenv.2 manpage to the build.
mux [Thu, 18 Apr 2002 16:46:23 +0000 (16:46 +0000)]
Connect the kenv.2 manpage to the build.

22 years agoAdd a manpage for the kenv(2) syscall that Chad David kindly
mux [Thu, 18 Apr 2002 16:45:57 +0000 (16:45 +0000)]
Add a manpage for the kenv(2) syscall that Chad David kindly
wrote for me.

Submitted by: davidc

22 years agoFix the fdisk(8) manual page.
trhodes [Thu, 18 Apr 2002 16:25:18 +0000 (16:25 +0000)]
Fix the fdisk(8) manual page.
s/partition/slice/ in fdisk.8
fix a bug in fdisk(8) where it did not honer -t when using -I

PR: 36563 and 35688
Submitted by: bde
Reviewed by: bde

22 years agoBack out previous commit, which was not at all approved by the maintainer
des [Thu, 18 Apr 2002 16:20:18 +0000 (16:20 +0000)]
Back out previous commit, which was not at all approved by the maintainer
of this code.  I very much doubt that "the FreeBSD way" really means "make
it as unreadable and unmaintable as possible", and I would like Makefile
style (which is not currently documented anywhere except in the minds of
bde and ru) to be discussed and agreed upon in the appropriate forum
before any further commits of this kind happen.

22 years agoAdd the PCI ID for an upcoming variant of a soon-to-be released series of
scottl [Thu, 18 Apr 2002 15:47:31 +0000 (15:47 +0000)]
Add the PCI ID for an upcoming variant of a soon-to-be released series of
cards.

22 years agoThis style is *way* outside the relm of any other of our Makefiles
obrien [Thu, 18 Apr 2002 15:13:06 +0000 (15:13 +0000)]
This style is *way* outside the relm of any other of our Makefiles
(other than the single sys.mk).  Adjust to smell like FreeBSD.

Reviewed & prefered by: bde

22 years agoCleanup comments.
alfred [Thu, 18 Apr 2002 14:54:26 +0000 (14:54 +0000)]
Cleanup comments.

Remove all current poll(2) extensions except POLLINIGNEOF as they are now
unused.

Submitted by: bde

22 years agoRemove support for using soon to be retired "special" poll(2) ops.
alfred [Thu, 18 Apr 2002 14:52:28 +0000 (14:52 +0000)]
Remove support for using soon to be retired "special" poll(2) ops.
Replace with kevent(2) ops.

This is untested, but the code would rot even further if this wasn't
applied.  I've chosen to apply this to prompt some cleanup.

Submitted by: bde

22 years agoCleanup of logic, flow and comments.
alfred [Thu, 18 Apr 2002 14:47:34 +0000 (14:47 +0000)]
Cleanup of logic, flow and comments.

Submitted by: bde

22 years agoWork around an Intel 21143 chip bug.
mckay [Thu, 18 Apr 2002 14:40:20 +0000 (14:40 +0000)]
Work around an Intel 21143 chip bug.

Rev 1.56 of if_dc.c removed calls to mii_pollstat() from the dc_tick()
routine.  dc_tick() is called regularly to detect link up and link down
status, especially when autonegotiating.

The expectation was that mii_tick() (which is still called from dc_tick())
would update status information automatically in all cases where it would
be sensible to do so.

Unfortunately, with authentic 21143 chips this is not the case, and
the driver never successfully autonegotiates.  This is because (despite
what it says in the 21143 manual) the chip always claims that link is not
present while the autonegotiation enable bit is set.  Autonegotation takes
place and succeeds, but the driver tests the link bits before it switches
off the autonegotiation enable bit, and success is not recognised.

The simplest solution is to call dcphy_status() more often for MII_TICK
calls by dropping out of the switch statement instead of exiting when
we are autonegotiating and link appears to not be present.  When
autonegotiation succeeds, dcphy_status() will note the speed and fdx/hdx
state and turn off the autonegotiation enable bit.  The next call to
dcphy_status() will notice that link is present, and the dc driver code
will be notified.

Macronix chips also use this code, but implement link detection as
described in the manual, and hence don't need this patch.  However, tests
on a Macronix 98715AEC-C show that it does not adversely affect them.

This could be done better but is the minimal effective change, and most
closely mimics what was happening prior to rev 1.56 of if_dc.c.  (Actually
I also deleted a small amount of unnecessary code while I was in the area.)

Reviewed by: wpaul

22 years agoRemoved gratuitous LIBCOMPATDIR assignments.
ru [Thu, 18 Apr 2002 13:24:35 +0000 (13:24 +0000)]
Removed gratuitous LIBCOMPATDIR assignments.

22 years agoFixed some style bugs:
bde [Thu, 18 Apr 2002 13:02:17 +0000 (13:02 +0000)]
Fixed some style bugs:
- ifdefs around vendor sccsid were left reversed after switching to
  __FBSDID().
- vertical whitespace after some of the non-FALLTHROUGH cases was lost.
- too much vertical whitespace before prototypes.

22 years agoBacked out the style bugs in rev.1.17:
bde [Thu, 18 Apr 2002 12:53:39 +0000 (12:53 +0000)]
Backed out the style bugs in rev.1.17:
- don't use unusual indentation for 39 lines of declarations when only 2
  of the lines benefit from it.
- don't use __DECONST().  This was the one use of it in the tree, and it
  was just wrong.  It was used to hide the warning about tgetnum() having
  the wrong prototype (missing a `const') due to libncurses being
  misconfigured.  libncurses has been fixed, so the original code now
  compiles cleanly with WARNS=4.

22 years agoDo not reset MAKEFILE when reading ".depend" as this rather
ru [Thu, 18 Apr 2002 12:04:34 +0000 (12:04 +0000)]
Do not reset MAKEFILE when reading ".depend" as this rather
eliminates the usefulness of ${MAKEFILE}.

Obtained from: NetBSD
MFC after: 1 week

22 years agoFixed bugs in previous revision:
ru [Thu, 18 Apr 2002 10:58:14 +0000 (10:58 +0000)]
Fixed bugs in previous revision:

Added NOOBJ if anyone even attempts to "make obj" here.
Revert to installing files with mode 644 except README.
Make this overall look like a BSD-style Makefile rather
than roll-your-own (this is not a bug).

For the record.  Previous revision also fixed the breakage
introduced by the sys.mk,v 1.60 commit: bsd.own.mk is no
longer automatically included from sys.mk.

Reported by: jhay

22 years agoUse ${FILES} and <bsd.prog.mk> rather than roll-your-own.
des [Thu, 18 Apr 2002 10:07:36 +0000 (10:07 +0000)]
Use ${FILES} and <bsd.prog.mk> rather than roll-your-own.

22 years agoOptimize for i486 better (-m486 is just another deprecated
ru [Thu, 18 Apr 2002 09:37:15 +0000 (09:37 +0000)]
Optimize for i486 better (-m486 is just another deprecated
synonym for -mcpu=i486).

PR: i386/37212
Submitted by: Matthias Andree <matthias.andree@web.de>
MFC after: 3 days

22 years agoInstall bsd.init.mk.
ru [Thu, 18 Apr 2002 07:10:39 +0000 (07:10 +0000)]
Install bsd.init.mk.

Submitted by: "Peter S. Housel" <housel@acm.org>

22 years agoReplaced exists() tests with two equivalent defined().
ru [Thu, 18 Apr 2002 07:01:35 +0000 (07:01 +0000)]
Replaced exists() tests with two equivalent defined().

LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.

22 years agoINFODIR is defined in bsd.own.mk but sys.mk no longer includes
ru [Thu, 18 Apr 2002 06:55:32 +0000 (06:55 +0000)]
INFODIR is defined in bsd.own.mk but sys.mk no longer includes
bsd.own.mk as of share/mk/sys.mk,v 1.60.

I did not notice this because I tested with DESTDIR=/foo/5.0,
and the "exists(/foo/5.0)" test apparently succeeded.

Reported by: fenner

22 years agoThis Makefile.inc depended on the (wrong) order of inclusion
ru [Thu, 18 Apr 2002 06:46:34 +0000 (06:46 +0000)]
This Makefile.inc depended on the (wrong) order of inclusion
of makefiles: bsd.own.mk was included before ../Makefile.inc,
effectively hiding the (wrong) LIBCOMPATDIR assignment here.
share/mk/sys.mk,v 1.60 (and assorted share/mk fixes) fixed
this order, revealed this bug, and broke "make release" and
"make installworld" with either of -DCOMPAT1X or -DCOMPAT2?.

Reported by: jhay

22 years agoIn rare cases, we might want to include bsd.own.mk directly.
ru [Thu, 18 Apr 2002 06:37:48 +0000 (06:37 +0000)]
In rare cases, we might want to include bsd.own.mk directly.
So protect it from being included twice.

22 years agoAdd a comment documenting a race condition in vm_fault(): Specifically, a
alc [Thu, 18 Apr 2002 03:55:50 +0000 (03:55 +0000)]
Add a comment documenting a race condition in vm_fault(): Specifically, a
modification is made to the vm_map while only a read lock is held.

22 years agoSince WITNESS doesn't just do mutexes, remove "mutex" from the WITNESS
rwatson [Thu, 18 Apr 2002 03:44:44 +0000 (03:44 +0000)]
Since WITNESS doesn't just do mutexes, remove "mutex" from the WITNESS
comment in GENERIC config files of appropriate platforms.  For whatever
reason, powerpc didn't use WITNESS in GENERIC.

22 years agoWitness doesn't just track mutexes, so don't say mutexes specifically. It
rwatson [Thu, 18 Apr 2002 03:41:49 +0000 (03:41 +0000)]
Witness doesn't just track mutexes, so don't say mutexes specifically.  It
also tracks sxlocks, etc.

22 years agoAdd the -b option (break at byte position, not column number) and the -s
tjr [Thu, 18 Apr 2002 03:33:51 +0000 (03:33 +0000)]
Add the -b option (break at byte position, not column number) and the -s
option (try to break at word bounaries) for SUSv3 conformance.

Partially based on the NetBSD version, with the following changes:
 - style(9)
 - break on <blank>s, not spaces, per POSIX (and GNU)
 - when looking for last space on line, search backwards instead of
   forwards; less comparisons needed this way.
 - use LINE_MAX macro instead of a magic number and a comment saying it is
   LINE_MAX.

PR: 36245
Reviewed by: mike
Obtained from: NetBSD (partially)

22 years ago o Call vm_map_growstack() from vm_fault() if vm_map_lookup() has failed
alc [Thu, 18 Apr 2002 03:28:27 +0000 (03:28 +0000)]
 o Call vm_map_growstack() from vm_fault() if vm_map_lookup() has failed
   due to conditions that suggest the possible need for stack growth.
   This has two beneficial effects: (1) we can
   now remove calls to vm_map_growstack() from the MD trap handlers and (2)
   simple page faults are faster because we no longer unnecessarily perform
   vm_map_growstack() on every page fault.
 o Remove vm_map_growstack() from the i386's trap_pfault().
 o Remove the acquisition and release of Giant from i386's trap_pfault().
   (vm_fault() still acquires it.)

22 years agoWhitespace fix after the restructuring, no content changes
ue [Thu, 18 Apr 2002 01:27:19 +0000 (01:27 +0000)]
Whitespace fix after the restructuring, no content changes

22 years agoRestructure the Sparc installation instructions to
ue [Thu, 18 Apr 2002 01:07:25 +0000 (01:07 +0000)]
Restructure the Sparc installation instructions to
- get rid of the 4th level headings
- seperate the actions required to prepare the installation (getting
  the CD, settings up the various daemons, ...) from the actual
  installation

Translation teams: This patch moves some paragraphs around and changes
a lot of <sectX> headers, but does not contain any content changes in
the strict sense of the word (i.e. I did not rewrite paragraphs yet).
There were no changes to the indentation, either.

Reviewed by: bmah, -sparc, -doc

22 years agoNew release note: SA-02:21.
bmah [Wed, 17 Apr 2002 23:16:40 +0000 (23:16 +0000)]
New release note:  SA-02:21.

22 years agoRemove an extraneous .El call.
mike [Wed, 17 Apr 2002 23:07:58 +0000 (23:07 +0000)]
Remove an extraneous .El call.

Submitted by: fenner

22 years agoThis commit was generated by cvs2svn to compensate for changes in r94970,
des [Wed, 17 Apr 2002 22:58:58 +0000 (22:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r94970,
which included commits to RCS files with non-trunk default branches.

22 years agoFix broken markup (perforce changes 9937, 9939)
des [Wed, 17 Apr 2002 22:58:58 +0000 (22:58 +0000)]
Fix broken markup (perforce changes 9937, 9939)

22 years agoThis commit was generated by cvs2svn to compensate for changes in r94968,
des [Wed, 17 Apr 2002 22:57:09 +0000 (22:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r94968,
which included commits to RCS files with non-trunk default branches.

22 years agoSet rsp to NULL before calling the conversation function so we can later
des [Wed, 17 Apr 2002 22:57:09 +0000 (22:57 +0000)]
Set rsp to NULL before calling the conversation function so we can later
detect if it hasn't been touched (perforce change 9889)

Sponsored by: DARPA, NAI Labs

22 years agoFix typo in adjusted panic message.
tegge [Wed, 17 Apr 2002 22:41:58 +0000 (22:41 +0000)]
Fix typo in adjusted panic message.

Submitted by: cokane

22 years agomdoc police: get rid of blank line at end of file.
fenner [Wed, 17 Apr 2002 21:39:59 +0000 (21:39 +0000)]
mdoc police: get rid of blank line at end of file.

22 years agomdoc police: use .El to end the list in the ENVIRONMENT section.
fenner [Wed, 17 Apr 2002 21:34:47 +0000 (21:34 +0000)]
mdoc police: use .El to end the list in the ENVIRONMENT section.

22 years agomdoc police: turn .PP back into .Pp
fenner [Wed, 17 Apr 2002 21:26:43 +0000 (21:26 +0000)]
mdoc police: turn .PP back into .Pp

22 years agoUpdate io_apic_ints array properly when revoking an irq mapping.
tegge [Wed, 17 Apr 2002 18:27:10 +0000 (18:27 +0000)]
Update io_apic_ints array properly when revoking an irq mapping.
Adjust panic message.

Submitted by: David Xu <bsddiy@yahoo.com>

22 years agoDe-K&R dkcksum() to fix some issues with c++.
alfred [Wed, 17 Apr 2002 18:09:27 +0000 (18:09 +0000)]
De-K&R dkcksum() to fix some issues with c++.

Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>

22 years agoAvoid calling malloc() or free() while holding the
mux [Wed, 17 Apr 2002 17:51:10 +0000 (17:51 +0000)]
Avoid calling malloc() or free() while holding the
kenv lock.

Reviewed by: jake

22 years agoNew release note: SA-02:20.
bmah [Wed, 17 Apr 2002 17:49:57 +0000 (17:49 +0000)]
New release note:  SA-02:20.

22 years agoThis adds support for -s to the m4(1) utility, which causes #line directives
jmallett [Wed, 17 Apr 2002 17:26:32 +0000 (17:26 +0000)]
This adds support for -s to the m4(1) utility, which causes #line directives
to be emitted as per the C preprocessor.  It updates the manual page in
regards to standards accordingly.

PR: standards/36075
Submitted by: tjr
Reviewed by: mike
MFC after: 1 week

22 years agoInstall files via FILES, there's no reason to compare them before installing.
ru [Wed, 17 Apr 2002 16:56:36 +0000 (16:56 +0000)]
Install files via FILES, there's no reason to compare them before installing.

22 years agoRequire approval for DHCP commits. I have commit access to isc.org
murray [Wed, 17 Apr 2002 16:39:01 +0000 (16:39 +0000)]
Require approval for DHCP commits.  I have commit access to isc.org
DHCP, so it should not be too much to ask to keep the sources synced.

22 years ago${INSTALLFLAGS} aren't suitable for installing ${SCRIPTS} and ${FILES}.
ru [Wed, 17 Apr 2002 16:29:02 +0000 (16:29 +0000)]
${INSTALLFLAGS} aren't suitable for installing ${SCRIPTS} and ${FILES}.

22 years agoFix missing commas.
mdodd [Wed, 17 Apr 2002 16:12:24 +0000 (16:12 +0000)]
Fix missing commas.

22 years agoReally unbreak it this time (clean and install were still broken).
ru [Wed, 17 Apr 2002 15:33:40 +0000 (15:33 +0000)]
Really unbreak it this time (clean and install were still broken).

22 years agoFix a compiler warning I missed in the last commit.
ticso [Wed, 17 Apr 2002 15:32:11 +0000 (15:32 +0000)]
Fix a compiler warning I missed in the last commit.

Reviewed by: gallatin
Approved by: gallatin

22 years agoMake delay iteration counts a function of hz as the delay period in each
brian [Wed, 17 Apr 2002 15:28:41 +0000 (15:28 +0000)]
Make delay iteration counts a function of hz as the delay period in each
loop is inversly proportional to hz.

This makes things more sane for configurations with hz != 100.

Cosmetic: Make the loops look similar to the loops in digi.c

22 years agoMake delay iteration counts a function of hz as the delay period in each
brian [Wed, 17 Apr 2002 15:13:52 +0000 (15:13 +0000)]
Make delay iteration counts a function of hz as the delay period in each
loop is inversly proportional to hz.

This makes things more sane for configurations with hz > 100.

Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>

22 years agoRevive dec_axppci_33_intr_route for LCA.
ticso [Wed, 17 Apr 2002 14:08:22 +0000 (14:08 +0000)]
Revive dec_axppci_33_intr_route for LCA.
We now get valid interrupt lines for devices on secondary pci busses.

Reviewed by: gallatin
Approved by: gallatin

22 years agoParenthesize some macro arguments.
tmm [Wed, 17 Apr 2002 14:00:37 +0000 (14:00 +0000)]
Parenthesize some macro arguments.

PR: 20024
Submitted by: Tony Finch <dot@dotat.at>

22 years agoClear the error flags in the LCA_IOC_STAT0 register after
ticso [Wed, 17 Apr 2002 13:57:50 +0000 (13:57 +0000)]
Clear the error flags in the LCA_IOC_STAT0 register after
machine_checks.
This fixes pci config reads for non existing devices on secondary
pci busses.

Thanks to Andrew Gallatin for pointing me to the register

Reviewed by: gallatin
Approved by: gallatin

22 years agoDon't include bsd.own.mk from sys.mk, this makes it impossible
ru [Wed, 17 Apr 2002 13:49:29 +0000 (13:49 +0000)]
Don't include bsd.own.mk from sys.mk, this makes it impossible
to use ``.if defined()'' inside bsd.own.mk to test for defines
in individual makefiles.  For example, setting DEBUG_FLAGS in
Makefile didn't take the desired effect on the STRIP assignment.

Added bsd.init.mk (like in NetBSD) that handles the inclusion
of ../Makefile.inc and bsd.own.mk from all bsd.*.mk files that
"build something".

Back out bsd.own.mk,v 1.15: moved OBJFORMAT initialization back
to sys.mk (several source tree makefiles want to check it early)
and removed MACHINE_ARCH initialization (it's hard to see from
looking at the commitlogs what the problem was at the time, but
now it serves no purpose).

Prohibit the direct inclusion of bsd.man.mk and bsd.libnames.mk.

Protect bsd.obj.mk from repetitive inclusion.  Prohibiting the
direct inclusion of bsd.obj.mk might be a good idea too.

22 years agoDocument STAILQ_CONCAT and TAILQ_CONCAT.
tmm [Wed, 17 Apr 2002 13:48:14 +0000 (13:48 +0000)]
Document STAILQ_CONCAT and TAILQ_CONCAT.

PR: 20024
Submitted by: Tony Finch <dot@dotat.at> (TAILQ_CONCAT, slightly changed
by me)
Reviewed by: ru (earlier version)

22 years agoAdd macros for concatenating tailqs and stailqs.
tmm [Wed, 17 Apr 2002 13:43:31 +0000 (13:43 +0000)]
Add macros for concatenating tailqs and stailqs.

PR: 20024
Submitted by: Tony Finch <dot@dotat.at> (TAILQ_CONCAT)

22 years agoUse the new functionalities provided by the kenv(2) syscall.
mux [Wed, 17 Apr 2002 13:08:14 +0000 (13:08 +0000)]
Use the new functionalities provided by the kenv(2) syscall.

Reviewed by: peter

22 years agoRework the kernel environment subsystem. We now convert the static
mux [Wed, 17 Apr 2002 13:06:36 +0000 (13:06 +0000)]
Rework the kernel environment subsystem.  We now convert the static
environment needed at boot time to a dynamic subsystem when VM is
up.  The dynamic kernel environment is protected by an sx lock.

This adds some new functions to manipulate the kernel environment :
freeenv(), setenv(), unsetenv() and testenv().  freeenv() has to be
called after every getenv() when you have finished using the string.
testenv() only tests if an environment variable is present, and
doesn't require a freeenv() call. setenv() and unsetenv() are self
explanatory.

The kenv(2) syscall exports these new functionalities to userland,
mainly for kenv(1).

Reviewed by: peter

22 years agoAdd an entry for the kenv(2) syscall (code to follow).
mux [Wed, 17 Apr 2002 13:05:13 +0000 (13:05 +0000)]
Add an entry for the kenv(2) syscall (code to follow).

Reviewed by: peter

22 years agoAdd variable substitutions for SOCKNAME, IPOCTETSIN, IPOCTETSOUT, IPPACKETSIN,
brian [Wed, 17 Apr 2002 12:38:59 +0000 (12:38 +0000)]
Add variable substitutions for SOCKNAME, IPOCTETSIN, IPOCTETSOUT, IPPACKETSIN,
IPPACKETSOUT, IPV6OCTETSIN, IPV6OCTETSOUT, IPV6PACKETSIN, IPV6PACKETSOUT,
OCTETSIN, OCTETSOUT, PACKETSIN, PACKETSOUT and SOCKNAME.

22 years agoDon't attempt to chflags(1) non-existent executable.
ru [Wed, 17 Apr 2002 12:15:02 +0000 (12:15 +0000)]
Don't attempt to chflags(1) non-existent executable.

22 years agoRevert part of revision 1.49 which was supposed to be white space
joe [Wed, 17 Apr 2002 12:03:20 +0000 (12:03 +0000)]
Revert part of revision 1.49 which was supposed to be white space
only.  In the device probe we don't want to match unless there is
an iface structure already set up.

22 years agoMention that terminal type vt220 will work better if one needs
gerald [Wed, 17 Apr 2002 10:42:41 +0000 (10:42 +0000)]
Mention that terminal type vt220 will work better if one needs
interoperability with other systems like Solaris or GNU/Linux.

PR: 33810
Approved by: obrien

22 years agoFixed mdoc(7) warnings visible in troff mode only.
ru [Wed, 17 Apr 2002 07:37:42 +0000 (07:37 +0000)]
Fixed mdoc(7) warnings visible in troff mode only.

Spotted by: Rich Morin <rdm@cfcl.com>

22 years agoRemove a stray comment terminator that was hiding beyond 80 columns.
mdodd [Wed, 17 Apr 2002 07:04:58 +0000 (07:04 +0000)]
Remove a stray comment terminator that was hiding beyond 80 columns.

22 years ago- Add defines for ABR and UBR traffic types.
mdodd [Wed, 17 Apr 2002 07:00:56 +0000 (07:00 +0000)]
- Add defines for ABR and UBR traffic types.
- Add IDT bits to vendor/vendorapi/device enums.
- Add EISA to atm_bus enum.

22 years agoRevert to the ordinary `:' dependency operator for `mainstall'.
ru [Wed, 17 Apr 2002 05:53:57 +0000 (05:53 +0000)]
Revert to the ordinary `:' dependency operator for `mainstall'.
Revision 1.7 had "maninstall::" inside a loop.  Revision 1.36
unrolled the loop.

Reviewed by: bde

22 years agoRevert previous change. bsd.dep.mk,v 1.31 had a bug that was fixed
ru [Wed, 17 Apr 2002 05:46:41 +0000 (05:46 +0000)]
Revert previous change.  bsd.dep.mk,v 1.31 had a bug that was fixed
in revision 1.32 and made this change OBE.