]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoBetter documentation of append mode. This should have gone in -current
eivind [Fri, 22 Sep 2000 12:55:36 +0000 (12:55 +0000)]
Better documentation of append mode.  This should have gone in -current
directly.   Now also .Xr fseek reference.

Prodded by: sheldonh

24 years agoMerged from sys/i386/i386/machdep.c revision 1.410.
kato [Fri, 22 Sep 2000 12:54:50 +0000 (12:54 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.410.

24 years agoMerged from sys/i386/conf/GENERIC revision 1.278.
kato [Fri, 22 Sep 2000 12:53:49 +0000 (12:53 +0000)]
Merged from sys/i386/conf/GENERIC revision 1.278.

24 years agoMerged from sys/boot/i386/loader/main.c revision 1.23.
kato [Fri, 22 Sep 2000 12:51:22 +0000 (12:51 +0000)]
Merged from sys/boot/i386/loader/main.c revision 1.23.

24 years agoMerged from sys/boot/i386/libi386/Makefile revision 1.19.
kato [Fri, 22 Sep 2000 12:49:15 +0000 (12:49 +0000)]
Merged from sys/boot/i386/libi386/Makefile revision 1.19.

24 years agoStyle fixes:
eivind [Fri, 22 Sep 2000 12:22:36 +0000 (12:22 +0000)]
Style fixes:
* Add lots of comments
* Convert a couple of assertions to KASSERT()
* Minimal whitespace & misapplied {} fixes
* Convert #if 0 to #if COMPILING_LINT for code we presently do not
  support, but want to keep available.

Reviewed by: adrian, markm

24 years agoRemove addalias() prototype (staticized in kern/vfs_subr.c)
eivind [Fri, 22 Sep 2000 11:54:58 +0000 (11:54 +0000)]
Remove addalias() prototype (staticized in kern/vfs_subr.c)

24 years agoStaticize addalias()
eivind [Fri, 22 Sep 2000 11:54:48 +0000 (11:54 +0000)]
Staticize addalias()

24 years agoFix comment about the bsd-api-new-02a draft. This has been superceded
asmodai [Fri, 22 Sep 2000 10:52:00 +0000 (10:52 +0000)]
Fix comment about the bsd-api-new-02a draft.  This has been superceded
by RFC 2553.

24 years agoRemoved files not present in v1_15 import.
ru [Fri, 22 Sep 2000 10:05:18 +0000 (10:05 +0000)]
Removed files not present in v1_15 import.

24 years agoRemoved unneeded include files.
nyan [Fri, 22 Sep 2000 09:59:23 +0000 (09:59 +0000)]
Removed unneeded include files.

Submitted by: phk

24 years ago- Wrap functions and variables that aren't used in the alpha console probe
jhb [Fri, 22 Sep 2000 08:42:30 +0000 (08:42 +0000)]
- Wrap functions and variables that aren't used in the alpha console probe
  with #ifndef __alpha__/#endif
- Add function prototypes for functions used during the alpha console
  probe and gdb port setup inside of #ifdef __alpha__/#endif.

24 years agoFix several 64-bit-ism warnings due to sizeof(int) != sizeof(void *) on
jhb [Fri, 22 Sep 2000 08:40:05 +0000 (08:40 +0000)]
Fix several 64-bit-ism warnings due to sizeof(int) != sizeof(void *) on
the alpha.

24 years agoRemove atomic_*_{32,64} since they are now inline. If you haven't rebuilt
dfr [Fri, 22 Sep 2000 08:30:59 +0000 (08:30 +0000)]
Remove atomic_*_{32,64} since they are now inline. If you haven't rebuilt
modules since atomic.h was updated, now is the time.

24 years agoRemove the bogus check against "none" for release names (which
jkh [Fri, 22 Sep 2000 08:13:36 +0000 (08:13 +0000)]
Remove the bogus check against "none" for release names (which
really doesn't make any sense, what was I smoking) and allow
the more canonical usage of "any" for either side of the comparison
for release name or architecture (meaning you can also set CD_VERSION=any
in a cdrom.inf file to cause sysinstall to always match it and likewise
with the architecture, if specified).

Sensibly suggested by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>

24 years agoResurrect documentation of chflags(2)'s SF_ARCHIVED.
rse [Fri, 22 Sep 2000 06:58:22 +0000 (06:58 +0000)]
Resurrect documentation of chflags(2)'s SF_ARCHIVED.

PR: 21428
Reviewed by: ben

24 years agoRemove a forgotten line
brian [Fri, 22 Sep 2000 06:54:28 +0000 (06:54 +0000)]
Remove a forgotten line

Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>

24 years ago"zope language" --> "zope platform".
sobomax [Fri, 22 Sep 2000 06:53:44 +0000 (06:53 +0000)]
"zope language" --> "zope platform".

Requested by: asami

24 years agoAdd french and zope.
asami [Fri, 22 Sep 2000 06:32:55 +0000 (06:32 +0000)]
Add french and zope.

24 years agoAdd ports-french.
asami [Fri, 22 Sep 2000 06:30:38 +0000 (06:30 +0000)]
Add ports-french.

24 years agoFixing a sorting error in teh subsystem list. 7 < 8, not 8 < 7.
jhb [Fri, 22 Sep 2000 05:49:24 +0000 (05:49 +0000)]
Fixing a sorting error in teh subsystem list.  7 < 8, not 8 < 7.

24 years agoTeach MTX_EXIT_RECURSE that the recursion count is a 32-bit integer,
jhb [Fri, 22 Sep 2000 04:30:33 +0000 (04:30 +0000)]
Teach MTX_EXIT_RECURSE that the recursion count is a 32-bit integer,
not a 16-bit one.

24 years agoTypo in comment (decent performances -> decent performance).
wpaul [Fri, 22 Sep 2000 04:03:10 +0000 (04:03 +0000)]
Typo in comment (decent performances -> decent performance).

24 years agoMake pcn_miibus_readreg() latch onto the first PHY that it finds (as
wpaul [Fri, 22 Sep 2000 03:49:12 +0000 (03:49 +0000)]
Make pcn_miibus_readreg() latch onto the first PHY that it finds (as
a result of mii_phy_probe()) and use that rather than hardcoding a
constant. The hardcoded way was too specific to the particular card
I had and caused PHY probing to fail on at least one laptop with a
built-in AMD chip.

Reported by: rjk@grauel.com (Richard J Kuhns)

24 years agoCreate an event (idle_event) which is invoked every time around the
msmith [Fri, 22 Sep 2000 03:19:24 +0000 (03:19 +0000)]
Create an event (idle_event) which is invoked every time around the
idle loop.  Machine-dependant code can elect to eg. take power-saving
actions when this event is invoked.

24 years agoImplement halt-on-idle in the !SMP case, which should significantly
msmith [Fri, 22 Sep 2000 03:18:20 +0000 (03:18 +0000)]
Implement halt-on-idle in the !SMP case, which should significantly
reduce power consumption on most systems.

24 years agoMake the EVENTHANDLER mechanism MP-safe. Events can now be invoked
msmith [Fri, 22 Sep 2000 03:17:35 +0000 (03:17 +0000)]
Make the EVENTHANDLER mechanism MP-safe.  Events can now be invoked
without holding the Giant lock.

24 years agoo Merge in changes to the NetBSD sources:
imp [Fri, 22 Sep 2000 01:15:26 +0000 (01:15 +0000)]
o Merge in changes to the NetBSD sources:
pcmciavar.h 1.9->1.12
1.12, enami, minor coding nits
1.11, augustss, (pcmcia_devinfo NRFB)
1.10, cgd, add generic lookup routines
pcmcia.c 1.14->1.23
1.23, drochner, (probe code printing, NRFB)
1.22, augustss, KNF
1.21, uch, (hpcmips tweaks NRFB)
1.20, chopps, remove bogus debug
1.19, enami, minor coding nits
1.18, augustss, (pcmcia_devinfo NRFB)
1.17, nathanw, LP64 printf fixes
1.16, cgd, add generic lookup routines
1.15, aymeric, printf fixes
NRFB == not relevant to freebsd
o Expand the pccard matching routines to include the ability to match
  against the CIS strings since our current driver database is based on
  that.
o Add lots more ivars to get the information necessary to snag these values.

24 years agoImplement IPv6 support. Also restructure the way multi-homed hosts
wollman [Fri, 22 Sep 2000 01:06:40 +0000 (01:06 +0000)]
Implement IPv6 support.  Also restructure the way multi-homed hosts
are treated, regardless of protocol.

24 years agoDelete a bogus reference to T/TCP -- the problem still exists on Standard
wollman [Fri, 22 Sep 2000 01:04:59 +0000 (01:04 +0000)]
Delete a bogus reference to T/TCP -- the problem still exists on Standard
TCP.

24 years agoMake some small line-break tweaks.
wpaul [Thu, 21 Sep 2000 20:43:15 +0000 (20:43 +0000)]
Make some small line-break tweaks.

Submitted by: Sheldon Hearn

24 years agoFix a race in ASR_ccbAdd and ASR_ccbRemove, which were both manipulating
msmith [Thu, 21 Sep 2000 20:21:30 +0000 (20:21 +0000)]
Fix a race in ASR_ccbAdd and ASR_ccbRemove, which were both manipulating
the ccb queue without masking interrupts.

Submitted by: Petr Lampa <lampa@fee.vutbr.cz>

24 years agosome copyright cleanups
mjacob [Thu, 21 Sep 2000 20:16:04 +0000 (20:16 +0000)]
some copyright cleanups

24 years agoAdd the PCI device ID for the on-board ethernet controllers on the
wpaul [Thu, 21 Sep 2000 20:01:57 +0000 (20:01 +0000)]
Add the PCI device ID for the on-board ethernet controllers on the
Intel 815E motherboard, which I believe is an i82562. Seems to work
just fine with the fxp driver.

24 years agoo Permit UFS Extended Attributes to be associated with special devices
rwatson [Thu, 21 Sep 2000 19:06:02 +0000 (19:06 +0000)]
o Permit UFS Extended Attributes to be associated with special devices
  and FIFOs.

Obtained from: TrustedBSD Project

24 years agoo Add two constants mapping ACLs into extended attribute names
rwatson [Thu, 21 Sep 2000 19:05:30 +0000 (19:05 +0000)]
o Add two constants mapping ACLs into extended attribute names
o Add '.'s in comments to style(9)-ify them.
o Clean up whitespace a little.

Obtained from: TrustedBSD Project

24 years agoo Bring VOP_GETACL(9) and VOP_GETEXTATTR(9) man page "LOCKS" sections in
rwatson [Thu, 21 Sep 2000 18:51:48 +0000 (18:51 +0000)]
o Bring VOP_GETACL(9) and VOP_GETEXTATTR(9) man page "LOCKS" sections in
  sync with the implementation.  Vnode locks *are* required for these
  operations, as some underlying implementations will require them.

Obtained from: TrustedBSD Project

24 years agoo Change locking rules for VOP_GETACL() to indicate that vnode locks
rwatson [Thu, 21 Sep 2000 18:43:32 +0000 (18:43 +0000)]
o Change locking rules for VOP_GETACL() to indicate that vnode locks
  must be held when retrieving ACLs from vnodes.  This is required for
  EA-based UFS ACL implementations.
o Update vacl_get_acl() so that it does appropriate vnode locking.
o Remove static from M_ACL malloc define so that it is accessible for
  consumers of ACLs other than in kern_acl.c

Obtained from: TrustedBSD Project

24 years agoAllocate all memory (including within node constructors) with M_NOWAIT
archie [Thu, 21 Sep 2000 18:01:23 +0000 (18:01 +0000)]
Allocate all memory (including within node constructors) with M_NOWAIT
instead of M_WAITOK, to allow for maximum flexibility.

24 years agoAllocate memory with M_NOWAIT instead of M_WAITOK because we could
archie [Thu, 21 Sep 2000 17:33:33 +0000 (17:33 +0000)]
Allocate memory with M_NOWAIT instead of M_WAITOK because we could
be called in an interrupt context.

24 years agoAdd a couple of debug register helper functions to assist in setting
bsd [Thu, 21 Sep 2000 17:07:27 +0000 (17:07 +0000)]
Add a couple of debug register helper functions to assist in setting
and clearing watchpoints.

Reviewed by: jwd@FreeBSD.org, -hackers@

24 years agoInintialize the queue index stuff from what the f/w sends back- just
mjacob [Thu, 21 Sep 2000 17:06:45 +0000 (17:06 +0000)]
Inintialize the queue index stuff from what the f/w sends back- just
in case it's insane enough to not do what you tell it to.

Print out (LOGINFO level) initiator ID.

24 years agoRemove unneeded include
mjacob [Thu, 21 Sep 2000 17:05:32 +0000 (17:05 +0000)]
Remove unneeded include
(from phk@freebsd.org)

24 years agoFixed the `mysterious blank lines' problem. This was due to unconditional
ru [Thu, 21 Sep 2000 17:02:15 +0000 (17:02 +0000)]
Fixed the `mysterious blank lines' problem.  This was due to unconditional
use of the .ne requests.  groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines.  Solution is to only use them in troff mode.

Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.

Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.

Removed blank line that appeared as the first line on each nroff-formatted
manual page.

Obtained from: NetBSD

24 years agoremove unneeded includes
mjacob [Thu, 21 Sep 2000 16:32:38 +0000 (16:32 +0000)]
remove unneeded includes
(obtained from phk@freebsd.org)

24 years agocomment vfs_export functions, requested by: eivind
alfred [Thu, 21 Sep 2000 15:55:55 +0000 (15:55 +0000)]
comment vfs_export functions, requested by: eivind

24 years agoadd ``check free resource rage code''
sanpei [Thu, 21 Sep 2000 13:13:00 +0000 (13:13 +0000)]
add ``check free resource rage code''
for PC-Card which has no address in cis.

24 years agoFix LINT breakage by options ACPI_NO_OSDFUNC_INLINE.
iwasaki [Thu, 21 Sep 2000 13:01:19 +0000 (13:01 +0000)]
Fix LINT breakage by options ACPI_NO_OSDFUNC_INLINE.
Also space/tab-fix in NOTE.
Grrr, my bad.

Pointed-out by: eivind

24 years agoRemove unneeded #include that was a remnant of an earlier version of
truckman [Thu, 21 Sep 2000 09:04:17 +0000 (09:04 +0000)]
Remove unneeded #include that was a remnant of an earlier version of
my uidinfo patch.

Found by: phk

24 years agoThe final entry should be `required', not `sufficient'.
ru [Thu, 21 Sep 2000 07:47:36 +0000 (07:47 +0000)]
The final entry should be `required', not `sufficient'.

24 years agoAdd in and document two new debugging options used in the mutex code:
jhb [Thu, 21 Sep 2000 06:56:11 +0000 (06:56 +0000)]
Add in and document two new debugging options used in the mutex code:
SMP_DEBUG and WITNESS.

24 years agoFixed the calculations with UDP header length field.
ru [Thu, 21 Sep 2000 06:52:59 +0000 (06:52 +0000)]
Fixed the calculations with UDP header length field.
The field is in network byte order and contains the
size of the header.

Reviewed by: brian

24 years agoAdd in documentation and examples of the KTR kernel config options.
jhb [Thu, 21 Sep 2000 06:50:02 +0000 (06:50 +0000)]
Add in documentation and examples of the KTR kernel config options.

Prompted by: phk's kernel include script

24 years agoRemove unneeded includes.
markm [Thu, 21 Sep 2000 06:23:16 +0000 (06:23 +0000)]
Remove unneeded includes.

Submitted by: phk

24 years agoFix PR #21245: handle wep keys correctly and pretty print hex keys
wpaul [Thu, 21 Sep 2000 00:25:07 +0000 (00:25 +0000)]
Fix PR #21245: handle wep keys correctly and pretty print hex keys
as appropriate. Nick: this sort of does what your changes did, except
the hex/text printing is done automatically using isprint().

24 years agoFix buffer overflow when DISPLAY is longer than 43 characters. This
imp [Wed, 20 Sep 2000 23:07:04 +0000 (23:07 +0000)]
Fix buffer overflow when DISPLAY is longer than 43 characters.  This
is not exploitable because telnet doesn't run with elevated privs.

Didn't fix all the other potential buffer overflows.  Would be a good
task for someone who has lots of time to carefully study each case
because cut and paste solutions are dangerous for this code base.

Added $FreeBSD$ in the same way that command.c did it.

24 years agoAdd new function in AML interpreter; aml_invoke_method().
iwasaki [Wed, 20 Sep 2000 22:53:39 +0000 (22:53 +0000)]
Add new function in AML interpreter; aml_invoke_method().
Also remove unneeded includes in aml_obj.c and aml_parse.c.

This new function takes 'struct aml_name *' as a argument rather than
'char *' where aml_invoke_method_by_name() does.  It's worth to have
these two interfaces in many cases.

24 years agoo Remove 9 unnecessary includes.
imp [Wed, 20 Sep 2000 20:02:49 +0000 (20:02 +0000)]
o Remove 9 unnecessary includes.
o Add Vpp power at 5.0V rather than 0. Setting it to zero violates
  the pccard spec.  Most pcic devices in use today don't let us
  violate the spec, but some older ones do.  Bill Paul sent this to
  me a long time ago and I thought I'd commit it before now.
o Add some debug stuff hidden behind bootverbose.

24 years agoFix a typo
brian [Wed, 20 Sep 2000 19:59:44 +0000 (19:59 +0000)]
Fix a typo

Spotted by: Manfred Antar <null@pozo.com>

24 years agoNo need to generate opt_compat_oldisa.h
imp [Wed, 20 Sep 2000 19:52:03 +0000 (19:52 +0000)]
No need to generate opt_compat_oldisa.h

24 years agoremove 5 unnecessary includes, per phk's script
imp [Wed, 20 Sep 2000 19:34:17 +0000 (19:34 +0000)]
remove 5 unnecessary includes, per phk's script

24 years agoRemove 7 unnecessary includes frmo phk's script
imp [Wed, 20 Sep 2000 19:31:37 +0000 (19:31 +0000)]
Remove 7 unnecessary includes frmo phk's script

24 years agoRemove 8 unnecessary includes from phk's script
imp [Wed, 20 Sep 2000 19:05:32 +0000 (19:05 +0000)]
Remove 8 unnecessary includes from phk's script

24 years agoIN_CLASS*() macros assume host order and s_addr is network byte
ps [Wed, 20 Sep 2000 18:16:20 +0000 (18:16 +0000)]
IN_CLASS*() macros assume host order and s_addr is network byte
order, so we must convert them to host order.

24 years agoAdd support for the "nullconsole" console type, for systems with
archie [Wed, 20 Sep 2000 18:13:36 +0000 (18:13 +0000)]
Add support for the "nullconsole" console type, for systems with
neither a video console nor a serial port. Use it if the RB_MUTE
flag is set.

Submitted by: Doug Ambrisko <ambrisko@whistle.com>
Reviewed by: jhb

24 years agoRemove one debug line that snuck in by accident.
wpaul [Wed, 20 Sep 2000 17:32:17 +0000 (17:32 +0000)]
Remove one debug line that snuck in by accident.

24 years agoAdd a new driver for the AMD PCnet/FAST, FAST+ and Home PCI adapters.
wpaul [Wed, 20 Sep 2000 17:30:22 +0000 (17:30 +0000)]
Add a new driver for the AMD PCnet/FAST, FAST+ and Home PCI adapters.
Previously, these cards were supported by the lnc driver (and they
still are, but the pcn driver will claim them first), which is fine
except the lnc driver runs them in 16-bit LANCE compatibility mode.
The pcn driver runs these chips in 32-bit mode and uses the RX alignment
feature to achieve zero-copy receive. (Which puts it in the same
class as the xl, fxp and tl chipsets.) This driver is also MI, so it
will work on the x86 and alpha platforms. (The lnc driver is still
needed to support non-PCI cards. At some point, I'll need to newbusify
it so that it too will me MI.)

The Am79c978 HomePNA adapter is also supported.

24 years agoo Add additional comment describing vaccess() behavior.
rwatson [Wed, 20 Sep 2000 17:18:12 +0000 (17:18 +0000)]
o Add additional comment describing vaccess() behavior.

Requested by: eivind
Reviewed by: eivind, adrian

24 years agoAdd a homePNA PHY driver. This is really only a stub: MII-based homePNA
wpaul [Wed, 20 Sep 2000 17:04:30 +0000 (17:04 +0000)]
Add a homePNA PHY driver. This is really only a stub: MII-based homePNA
PHYs tend to look like 10mbps PHYs with no autonegotiation. This allows
us to display the proper media type and link status however.

24 years agoregenerate
wpaul [Wed, 20 Sep 2000 17:02:32 +0000 (17:02 +0000)]
regenerate

24 years agoAdd the ID for the built-in homePNA PHY in the AMD 79C798 controller.
wpaul [Wed, 20 Sep 2000 17:02:16 +0000 (17:02 +0000)]
Add the ID for the built-in homePNA PHY in the AMD 79C798 controller.

24 years agoNull commit to force an update after clearing the "-ko" keyword
jdp [Wed, 20 Sep 2000 15:54:44 +0000 (15:54 +0000)]
Null commit to force an update after clearing the "-ko" keyword
expansion, which somehow accidentally became set.

24 years agofix previous PIOCSRESOURCE code in assign_card_index
sanpei [Wed, 20 Sep 2000 14:54:21 +0000 (14:54 +0000)]
fix previous PIOCSRESOURCE code in assign_card_index

24 years agoClean up the VIA id's a bit and add the K[TX]133 chipsets
sos [Wed, 20 Sep 2000 07:05:44 +0000 (07:05 +0000)]
Clean up the VIA id's a bit and add the K[TX]133 chipsets

24 years agoRemove unneeded includes
sos [Wed, 20 Sep 2000 07:00:24 +0000 (07:00 +0000)]
Remove unneeded includes

Pointed out by: phk

24 years agoOops, un-spam this file - the last commit was an accident.
brian [Wed, 20 Sep 2000 06:16:23 +0000 (06:16 +0000)]
Oops, un-spam this file - the last commit was an accident.

Pointed out by: phk

24 years agoRemove the last two uses of ahc->unit in the FreeBSD version of the driver.
gibbs [Wed, 20 Sep 2000 04:46:15 +0000 (04:46 +0000)]
Remove the last two uses of ahc->unit in the FreeBSD version of the driver.
ahc->unit is depricated and will be going away as soon as the Linux
driver catches up.  In the FreeBSD case, it is always initialized to 0
and this caused some strangeness in registering multiple ahc controllers
with CAM.

Noticed by: Tor.Egge@fast.no

24 years agoOnly realloc() environ if we're sure that we know where it came from.
brian [Wed, 20 Sep 2000 03:05:37 +0000 (03:05 +0000)]
Only realloc() environ if we're sure that we know where it came from.

The recent problems with sshd were due to sshd reassigning
`environ' when setenv() thinks it owns it.  setenv() subsequently
realloc()s the new version of environ and *boom*

24 years agoIgnore power button and sleep button events for 5 sec.
iwasaki [Wed, 20 Sep 2000 01:53:11 +0000 (01:53 +0000)]
Ignore power button and sleep button events for 5 sec.
Wakeup event is generated by power button and/or sleep button on some
laptops but this also generates SCI interrupt, and shutdown the system
as result.  So this kind of mechanism is introduced so that acpi
driver ignore given events for certain period.

24 years agoImprove region I/O sub-routines by re-writing most of low level part
iwasaki [Wed, 20 Sep 2000 01:01:32 +0000 (01:01 +0000)]
Improve region I/O sub-routines by re-writing most of low level part
of AML interpreter.
 - Delete and cleanup a lot of almost duplicated code in kernel/userland.
 - Add new common functions for kernel/userland code.
      aml_adjust_readvalue(), aml_adjust_updatevalue(),
      aml_region_handle_alloc(), aml_region_handle_free() and
      aml_region_io().
 - Add primitive functions for both versions of kernel/userland in order to
   have shared code as much as possible.
      aml_region_read_simple(), aml_region_write_simple(),
      aml_region_prompt_read(), aml_region_prompt_write() and
      aml_region_prompt_update_value().
 - Consider update rule and access type in field flags. Also add a lot of
   definitions for the flags.
 - Fix bugs on bit manipulation for read/write operations.
 - Fix bugs on IndexField I/O part.  Also add workaround for temporary
   object corruption during StoreOp interpretation.

24 years agoIf this is a Davicom DM9102A and we're enabling the homePNA link, force
wpaul [Wed, 20 Sep 2000 00:59:17 +0000 (00:59 +0000)]
If this is a Davicom DM9102A and we're enabling the homePNA link, force
dc_link to 1 and don't activate the tick routine. Without this, dc_start()
always thinks the link is down and never transmits in homePNA mode.

24 years agoMention the AAC_COMPAT_LINUX option
msmith [Tue, 19 Sep 2000 23:56:27 +0000 (23:56 +0000)]
Mention the AAC_COMPAT_LINUX option

24 years agoFully initialize msqids[]. This could lead to ENOSPC and other strange
peter [Tue, 19 Sep 2000 22:59:22 +0000 (22:59 +0000)]
Fully initialize msqids[].  This could lead to ENOSPC and other strange
stuff.

PR: 21085
Submitted by:  Marcin Cieslak <saper@SYSTEM.PL>

24 years agoPut temporary output in ${TMPDIR:-/tmp}
brian [Tue, 19 Sep 2000 22:15:00 +0000 (22:15 +0000)]
Put temporary output in ${TMPDIR:-/tmp}
If $<basedir>_output is not set, don't redirect output

PR: 21395

24 years agoDon't clobber $? before using it.
brian [Tue, 19 Sep 2000 21:46:54 +0000 (21:46 +0000)]
Don't clobber $? before using it.

Submitted by: James Barkley <jbarkley@wgate.com>

24 years agoNGM_BPF_{G,S}ET_FILTER should be NGM_BPF_{G,S}ET_PROGRAM.
archie [Tue, 19 Sep 2000 21:34:43 +0000 (21:34 +0000)]
NGM_BPF_{G,S}ET_FILTER should be NGM_BPF_{G,S}ET_PROGRAM.

24 years agoFix unexploitable off by one error as mentioned on Bugtraq.
imp [Tue, 19 Sep 2000 21:22:20 +0000 (21:22 +0000)]
Fix unexploitable off by one error as mentioned on Bugtraq.

24 years agoo Whitespace reduction appled to FreeBSD CVS ID
rwatson [Tue, 19 Sep 2000 19:20:21 +0000 (19:20 +0000)]
o Whitespace reduction appled to FreeBSD CVS ID

Obtained from: TrustedBSD Project

24 years agoo General warning fixing commit
rwatson [Tue, 19 Sep 2000 19:14:31 +0000 (19:14 +0000)]
o General warning fixing commit
    - Include <stdlib.h> and <string.h> as needed for prototypes
    - Remove unneeded "error" variables
o Make cap_init() use cap_clear() instead of bzero()

Obtained from: TrustedBSD Project

24 years agoo Add cap_from_text(3) and cap_to_text(3) man pages.
rwatson [Tue, 19 Sep 2000 19:04:47 +0000 (19:04 +0000)]
o Add cap_from_text(3) and cap_to_text(3) man pages.
o Implementations will remain in the seperately distributed capability
  patch until the cap_t type changes are synchronized.

Obtained from: TrustedBSD Project

24 years agoo EACCES is not a possible error for acl_from_text(), so fix
rwatson [Tue, 19 Sep 2000 18:58:28 +0000 (18:58 +0000)]
o EACCES is not a possible error for acl_from_text(), so fix
  acl_from_text.3
o Minor whitespace cleanups relative to the TrustedBSD tree to reduce
  content-free differences.

Obtained from: TrustedBSD Project

24 years agoAdd thread-safe wrapper for fpathconf(2) syscall.
sobomax [Tue, 19 Sep 2000 18:01:03 +0000 (18:01 +0000)]
Add thread-safe wrapper for fpathconf(2) syscall.

Reviewed by: jlemon

24 years agoUse .Cm macro where appropriate.
ru [Tue, 19 Sep 2000 16:15:54 +0000 (16:15 +0000)]
Use .Cm macro where appropriate.

24 years agoAdd card_if.h
imp [Tue, 19 Sep 2000 14:24:55 +0000 (14:24 +0000)]
Add card_if.h

24 years agoPass the reinstallkernel target through from Makefile to Makefile.inc1.
markm [Tue, 19 Sep 2000 11:15:40 +0000 (11:15 +0000)]
Pass the reinstallkernel target through from Makefile to Makefile.inc1.

24 years agoAdd support for tagged queuing on ATA drives. There is only support for
sos [Tue, 19 Sep 2000 11:08:39 +0000 (11:08 +0000)]
Add support for tagged queuing on ATA drives. There is only support for
IBM's DPTA and DTLA series of drives (no other disk vendors are known
to support this) on non-Promise controllers (promise controllers lockup
when given the tagged queuing specific commands).
It gives especially master/slave comboes about 5% better performance.

Add support for the Promise ATA100 OEM chip (pdc20265)

Add support for the Cyrix 5530

Change the way status is read from the drives, use the alternate
status reg when possible.

Better support for DEVFS, the acdXtY devices are now created when needed.

Lots of little cleanups.

24 years agoBetter error message when booting an SMP kernel on an UP system.
eivind [Tue, 19 Sep 2000 10:40:52 +0000 (10:40 +0000)]
Better error message when booting an SMP kernel on an UP system.

24 years agoDocument ENABLE_VFS_IOOPT
eivind [Tue, 19 Sep 2000 10:36:19 +0000 (10:36 +0000)]
Document ENABLE_VFS_IOOPT

24 years agoRename lminor() to dev2unit(). This function gives a linear unit number
phk [Tue, 19 Sep 2000 10:28:44 +0000 (10:28 +0000)]
Rename lminor() to dev2unit().  This function gives a linear unit number
which hides the 'hole' in the minor bits.

Introduce unit2minor() to do the reverse operation.

Fix some some make_dev() calls which didn't use UID_* or GID_* macros.

Kill the v_hashchain alias macro, it hides the real relationship.

Introduce experimental SI_CHEAPCLONE flag set it on cloned bpfs.

24 years agoGC some LFS lint.
phk [Tue, 19 Sep 2000 10:25:01 +0000 (10:25 +0000)]
GC some LFS lint.