]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoThis commit was generated by cvs2svn to compensate for changes in r122213,
harti [Fri, 7 Nov 2003 09:00:58 +0000 (09:00 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122213,
which included commits to RCS files with non-trunk default branches.

20 years agoVirgin import of signaling layer of NgATM (user part) 0.91
harti [Fri, 7 Nov 2003 09:00:58 +0000 (09:00 +0000)]
Virgin import of signaling layer of NgATM (user part) 0.91

20 years agoAdd compatibility for 4-stable.
simokawa [Fri, 7 Nov 2003 08:59:35 +0000 (08:59 +0000)]
Add compatibility for 4-stable.

Submitted by: imura

20 years agoAdd a sub-directory for the signalling layer headers of NgATM.
harti [Fri, 7 Nov 2003 08:57:42 +0000 (08:57 +0000)]
Add a sub-directory for the signalling layer headers of NgATM.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r122208,
harti [Fri, 7 Nov 2003 08:54:27 +0000 (08:54 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122208,
which included commits to RCS files with non-trunk default branches.

20 years agoRe-import of the original NgATM file version 0.91
harti [Fri, 7 Nov 2003 08:54:27 +0000 (08:54 +0000)]
Re-import of the original NgATM file version 0.91

20 years agoThese two files are generated with the ../genfiles script and are
harti [Fri, 7 Nov 2003 08:48:43 +0000 (08:48 +0000)]
These two files are generated with the ../genfiles script and are
not part of the imported distribution.

20 years agoVirgin import of signaling layer of NgATM shared kernel/user part 0.91
harti [Fri, 7 Nov 2003 08:46:22 +0000 (08:46 +0000)]
Virgin import of signaling layer of NgATM shared kernel/user part 0.91

20 years agoThis commit was generated by cvs2svn to compensate for changes in r122205,
harti [Fri, 7 Nov 2003 08:46:22 +0000 (08:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122205,
which included commits to RCS files with non-trunk default branches.

20 years agoDon't allow the 'make' target (which rebuilds make for bootstrapping)
kris [Fri, 7 Nov 2003 08:36:55 +0000 (08:36 +0000)]
Don't allow the 'make' target (which rebuilds make for bootstrapping)
to become confused by a file called 'make' in /usr/src

Submitted by: ru

20 years agoBetter attempt at fooling GEOM into working with burnable media.
sos [Fri, 7 Nov 2003 08:31:09 +0000 (08:31 +0000)]
Better attempt at fooling GEOM into working with burnable media.

20 years agoTrim trailing whitespace.
rwatson [Fri, 7 Nov 2003 04:48:24 +0000 (04:48 +0000)]
Trim trailing whitespace.

20 years agoSlight whitespace consistency improvement:
rwatson [Fri, 7 Nov 2003 04:47:14 +0000 (04:47 +0000)]
Slight whitespace consistency improvement:
  Trim trailing whitespace.
  Remove unmatched " " before ")".

20 years agoDrop r1.6 (warn_system_heders by default). Use stock version of
kan [Fri, 7 Nov 2003 03:30:31 +0000 (03:30 +0000)]
Drop r1.6 (warn_system_heders by default). Use stock version of
the file from now on.

20 years agoMerge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
kan [Fri, 7 Nov 2003 03:27:32 +0000 (03:27 +0000)]
Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
1.14 (-O/-O1 optimize alignment for time, not size).

Back out r1.22 which used to enable warnings in system headers by
default.

20 years agoMerge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
kan [Fri, 7 Nov 2003 03:23:43 +0000 (03:23 +0000)]
Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
(cross compiling issues).

20 years agoMerge r1.3 (suppress warnings on K&R main).
kan [Fri, 7 Nov 2003 03:21:29 +0000 (03:21 +0000)]
Merge r1.3 (suppress warnings on K&R main).

20 years agoNew GCC version.
kan [Fri, 7 Nov 2003 03:19:35 +0000 (03:19 +0000)]
New GCC version.

20 years agoMerge r1.11 (-mno-align-long-strings).
kan [Fri, 7 Nov 2003 03:17:46 +0000 (03:17 +0000)]
Merge r1.11 (-mno-align-long-strings).

20 years agoMerge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
kan [Fri, 7 Nov 2003 03:16:22 +0000 (03:16 +0000)]
Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).

20 years agoMerge r1.8 (printf format error fixes).
kan [Fri, 7 Nov 2003 03:13:51 +0000 (03:13 +0000)]
Merge r1.8 (printf format error fixes).

20 years agoDrop the revision 1.2 (don't let gcc(1) hide warnings in system headers)
kan [Fri, 7 Nov 2003 03:09:40 +0000 (03:09 +0000)]
Drop the revision 1.2 (don't let gcc(1) hide warnings in system headers)
and use stock version of this file now.

20 years agoNo FreeBSD-local changes in these files.
kan [Fri, 7 Nov 2003 03:05:29 +0000 (03:05 +0000)]
No FreeBSD-local changes in these files.

20 years agoAdd PCID for 6i controller
ps [Fri, 7 Nov 2003 03:01:48 +0000 (03:01 +0000)]
Add PCID for 6i controller

Submitted by: John Cagle <john.cagle@hp.com>

20 years agoThis commit was generated by cvs2svn to compensate for changes in r122186,
kan [Fri, 7 Nov 2003 02:44:13 +0000 (02:44 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122186,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.3.3 20031106 libf2c bits.
kan [Fri, 7 Nov 2003 02:44:13 +0000 (02:44 +0000)]
Gcc 3.3.3 20031106 libf2c bits.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r122184,
kan [Fri, 7 Nov 2003 02:44:11 +0000 (02:44 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122184,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.3.3 20031106 Objective C support bits.
kan [Fri, 7 Nov 2003 02:44:11 +0000 (02:44 +0000)]
Gcc 3.3.3 20031106 Objective C support bits.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r122182,
kan [Fri, 7 Nov 2003 02:44:01 +0000 (02:44 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122182,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.3.3 20031106 C++ support bits.
kan [Fri, 7 Nov 2003 02:44:01 +0000 (02:44 +0000)]
Gcc 3.3.3 20031106 C++ support bits.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r122180,
kan [Fri, 7 Nov 2003 02:43:04 +0000 (02:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122180,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.3.3 20031106.
kan [Fri, 7 Nov 2003 02:43:04 +0000 (02:43 +0000)]
Gcc 3.3.3 20031106.

20 years agoFix locking of the ip forwarding cache. We were holding a reference
sam [Fri, 7 Nov 2003 01:47:52 +0000 (01:47 +0000)]
Fix locking of the ip forwarding cache.  We were holding a reference
to a routing table entry w/o bumping the reference count or locking
against the entry being free'd.  This caused major havoc (for some
reason it appeared most frequently for folks running natd).  Fix
is to bump the reference count whenever we copy the route cache
contents into a private copy so the entry cannot be reclaimed out
from under us.  This is a short term fix as the forthcoming routing
table changes will eliminate this cache entirely.

Supported by: FreeBSD Foundation

20 years agoMake zh_CN.GBK fully work by making monetdef/msgdef/timedef symlinks to
davidxu [Thu, 6 Nov 2003 23:43:40 +0000 (23:43 +0000)]
Make zh_CN.GBK fully work by making monetdef/msgdef/timedef symlinks to
zh_CN.GB2312 locale files. zh_CN.GB18030 can be changed in same way,
but I havn't done this change since these files already exists.

20 years agoFix an incorrect quote character in an M4 test conditon. Basically, one
jhb [Thu, 6 Nov 2003 21:33:17 +0000 (21:33 +0000)]
Fix an incorrect quote character in an M4 test conditon.  Basically, one
of the verbose print statements that BTXLDR_VERBOSE enables wasn't properly
enabled.

20 years agocorrect behavior when ipv6mr_interface is 0. Matthias Drochner
ume [Thu, 6 Nov 2003 16:42:59 +0000 (16:42 +0000)]
correct behavior when ipv6mr_interface is 0.  Matthias Drochner

Notified by: itojun
Obtained from: NetBSD

20 years agodevice_get_name(9) and device_get_nameunit(9) return const char *, not int.
des [Thu, 6 Nov 2003 15:54:32 +0000 (15:54 +0000)]
device_get_name(9) and device_get_nameunit(9) return const char *, not int.

20 years agoOnly disable the old pin when doing a remap if it's current vector is still
jhb [Thu, 6 Nov 2003 14:47:53 +0000 (14:47 +0000)]
Only disable the old pin when doing a remap if it's current vector is still
the old vector.

Reported by: sam

20 years agoFixed some more missing punctuation in comments (most instances in this
bde [Thu, 6 Nov 2003 09:31:01 +0000 (09:31 +0000)]
Fixed some more missing punctuation in comments (most instances in this
file except for about 30 lines that have more errors and/or need rewording
to fit the punctuation).

20 years agoDisable the (currently unused) xe_reg_dump() function, until I know for
rsm [Thu, 6 Nov 2003 08:54:43 +0000 (08:54 +0000)]
Disable the (currently unused) xe_reg_dump() function, until I know for
sure that it's not needed any more.

Reviewed by: imp (mentor)

20 years agoList the three modules that I have that aren't connected to the build.
imp [Thu, 6 Nov 2003 08:46:52 +0000 (08:46 +0000)]
List the three modules that I have that aren't connected to the build.

20 years agoCorrect the structure packing.
ps [Thu, 6 Nov 2003 08:09:29 +0000 (08:09 +0000)]
Correct the structure packing.

Reported by: Vinod Kashyap <vkashyap@3WARE.com>

20 years agoFixed some style bugs (missing punctuation in comments). There are many
bde [Thu, 6 Nov 2003 07:59:53 +0000 (07:59 +0000)]
Fixed some style bugs (missing punctuation in comments).  There are many
more of these in proc.h alone.

20 years agoRemove "device acpi" from BOOTMFS kernel for boot floppy to unbreak the
kuriyama [Thu, 6 Nov 2003 07:58:37 +0000 (07:58 +0000)]
Remove "device acpi" from BOOTMFS kernel for boot floppy to unbreak the
release build.

20 years ago - Somehow I botched my last commit. Add an extra ( to fix things up. I'm
jeff [Thu, 6 Nov 2003 07:56:01 +0000 (07:56 +0000)]
 - Somehow I botched my last commit.  Add an extra ( to fix things up.  I'm
   still not sure how this happened.

Reported by: ps

20 years ago - Delay the allocation of memory for the pipe mutex until we need it.
alc [Thu, 6 Nov 2003 05:58:26 +0000 (05:58 +0000)]
 - Delay the allocation of memory for the pipe mutex until we need it.
   This avoids the need to free said memory in various error cases along
   the way.

20 years ago - Simplify pipespace() by eliminating the explicit creation of vm objects.
alc [Thu, 6 Nov 2003 05:08:12 +0000 (05:08 +0000)]
 - Simplify pipespace() by eliminating the explicit creation of vm objects.
   Instead, let the vm objects be lazily instantiated at fault time.  This
   results in the allocation of fewer vm objects and vm map entries due to
   aggregation in the vm system.

20 years agoAdd support for unaligned ld2, st2, st4 and st8. While here, make
marcel [Thu, 6 Nov 2003 04:26:40 +0000 (04:26 +0000)]
Add support for unaligned ld2, st2, st4 and st8. While here, make
sure we handle stacked registers properly by taking into account
that:
1. bspstore points after the frame (due to cover),
2. we need to adjust for intermediate NaT collections.

20 years agoUse if_printf() for FWEDEBUG.
simokawa [Thu, 6 Nov 2003 04:19:15 +0000 (04:19 +0000)]
Use if_printf() for FWEDEBUG.

20 years agos/driver/device/ for config file line
imp [Thu, 6 Nov 2003 03:59:03 +0000 (03:59 +0000)]
s/driver/device/ for config file line

20 years agoRemove the flags argument from mac_externalize_*_label(), as it's not
rwatson [Thu, 6 Nov 2003 03:42:43 +0000 (03:42 +0000)]
Remove the flags argument from mac_externalize_*_label(), as it's not
passed into policies or used internally to the MAC Framework.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

20 years ago - Remove the local definition of sched_pin and unpin. They are provided in
jeff [Thu, 6 Nov 2003 03:09:51 +0000 (03:09 +0000)]
 - Remove the local definition of sched_pin and unpin.  They are provided in
   sched.h now.
 - Respect the td pin count.

20 years ago - Add a pinned count to the thread so that cpu pinning may nest. This is
jeff [Thu, 6 Nov 2003 03:09:05 +0000 (03:09 +0000)]
 - Add a pinned count to the thread so that cpu pinning may nest.  This is
   not in scheduler specific data because eventually it will be required by
   all schedulers.
 - Implement sched_pin and unpin as an inline for now.  If a scheduler needs
   to do something more complicated than adjusting the pinned count we can
   move this into a function later in an api compatible way.

20 years agoOK, this might be a bit silly, but add another popcnt() candidate.
peter [Thu, 6 Nov 2003 01:24:25 +0000 (01:24 +0000)]
OK, this might be a bit silly, but add another popcnt() candidate.

20 years agoRephrase .Nd description to contain the key
kientzle [Thu, 6 Nov 2003 00:52:37 +0000 (00:52 +0000)]
Rephrase .Nd description to contain the key
words "pattern" and "test"; this should make it easier
to find with "man -k"

Approved by: gordon (mentor)

20 years agoSpelling and grammar fixes.
anholt [Wed, 5 Nov 2003 23:56:02 +0000 (23:56 +0000)]
Spelling and grammar fixes.

PR: kern/54658
Submitted by: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>

20 years agoPrevent leaking of fsid to non-root users in linux_statfs and linux_fstatfs.
anholt [Wed, 5 Nov 2003 23:52:54 +0000 (23:52 +0000)]
Prevent leaking of fsid to non-root users in linux_statfs and linux_fstatfs.
Matches native syscalls now.

PR: kern/58793
Submitted by: David P. Reese Jr. <daver@gomerbud.com>
MFC after: 1 week

20 years agoo make debug_mpsafenet globally visible
sam [Wed, 5 Nov 2003 23:42:51 +0000 (23:42 +0000)]
o make debug_mpsafenet globally visible
o move it from subr_bus.c to netisr.c where it more properly belongs
o add NET_PICKUP_GIANT and NET_DROP_GIANT macros that will be used to
  grab Giant as needed when MPSAFE operation is enabled

Supported by: FreeBSD Foundation

20 years agoEnable GB2312 locale.
davidxu [Wed, 5 Nov 2003 23:39:03 +0000 (23:39 +0000)]
Enable GB2312 locale.

20 years agoInstead of marking all 159 interrupts as available in the IRQ resource
jhb [Wed, 5 Nov 2003 23:19:44 +0000 (23:19 +0000)]
Instead of marking all 159 interrupts as available in the IRQ resource
manager, only add interrupts that have an associated source in the
interrupt table to the resource manager.

20 years agoWhen remapping an ISA interrupt from one intpin to another, disable the
jhb [Wed, 5 Nov 2003 23:15:52 +0000 (23:15 +0000)]
When remapping an ISA interrupt from one intpin to another, disable the
pin that is used by the default identity mapping if it still maps to the
old vector.  The ACPI case might need some tweaking for the SCI interrupt
case since ACPI likes to address the intpin using both the IRQ remapped to
it as well as the previous existing PCI IRQ mapped to it.

Reported by: kan

20 years agoTwo style nits.
jhb [Wed, 5 Nov 2003 23:07:39 +0000 (23:07 +0000)]
Two style nits.

20 years agoAdd GB2312 locale files.
davidxu [Wed, 5 Nov 2003 22:59:02 +0000 (22:59 +0000)]
Add GB2312 locale files.

20 years agoAdd GB2312 encoding file.
davidxu [Wed, 5 Nov 2003 22:54:54 +0000 (22:54 +0000)]
Add GB2312 encoding file.

20 years agoAdd gb2312 encoding.
davidxu [Wed, 5 Nov 2003 22:52:51 +0000 (22:52 +0000)]
Add gb2312 encoding.

20 years agoAdd r_earth, r_moon, r_sun, representing the terrestrial, lunar, and
mph [Wed, 5 Nov 2003 22:29:48 +0000 (22:29 +0000)]
Add r_earth, r_moon, r_sun, representing the terrestrial, lunar, and
solar radii.  The corresponding masses (m_earth, etc.) were already
present.

Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.

20 years agoAdd a small testcase for the new -f-f mode.
phk [Wed, 5 Nov 2003 22:26:39 +0000 (22:26 +0000)]
Add a small testcase for the new -f-f mode.

20 years agoGive mtree(8) the ability to take [two -f spec] arguments and compare
phk [Wed, 5 Nov 2003 22:26:08 +0000 (22:26 +0000)]
Give mtree(8) the ability to take [two -f spec] arguments and compare
the two specifications to each other.

20 years ago - add explanation of what an active file system is
kensmith [Wed, 5 Nov 2003 22:17:37 +0000 (22:17 +0000)]
- add explanation of what an active file system is
- explain the reason for permitting 32 read errors for a dump

PR: docs/35602 and docs/35607
Reviewed by: jhb
Approved by: blackend (mentor)

20 years agoMake sure argv[x] exists before using it.
johan [Wed, 5 Nov 2003 21:56:21 +0000 (21:56 +0000)]
Make sure argv[x] exists before using it.

PR: 56696
Reported by: Igor Truszkowski <igort@intergate.pl>
Submitted by: maxim@
Approved by: sos@
MFC after: 2 weeks

20 years agoThis commit was generated by cvs2svn to compensate for changes in r122137,
njl [Wed, 5 Nov 2003 20:51:25 +0000 (20:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r122137,
which included commits to RCS files with non-trunk default branches.

20 years agoFix a bug in iasl(8) that caused it to core dump while parsing a DSDT
njl [Wed, 5 Nov 2003 20:51:25 +0000 (20:51 +0000)]
Fix a bug in iasl(8) that caused it to core dump while parsing a DSDT
on ia64.  The bug is present in i386 as well but didn't show up due to
more relaxed page protections.  This fix has been submitted to the vendor.

Submitted by: marcel

20 years agoChange config file syntax to be less FreeBSD 3.x
imp [Wed, 5 Nov 2003 20:48:36 +0000 (20:48 +0000)]
Change config file syntax to be less FreeBSD 3.x

20 years agoRename spec() and verify() functions to have mtree_ prefix and take
phk [Wed, 5 Nov 2003 20:07:40 +0000 (20:07 +0000)]
Rename spec() and verify() functions to have mtree_ prefix and take
explicit file descriptor instead of assuming stdin.

20 years agoTake advantage of the fact that we know the err(3) function does not
phk [Wed, 5 Nov 2003 20:05:05 +0000 (20:05 +0000)]
Take advantage of the fact that we know the err(3) function does not
return to eliminate some else clauses and gain some "outdenting".

20 years agoMake this WARNS=6 clean by:
johan [Wed, 5 Nov 2003 19:20:41 +0000 (19:20 +0000)]
Make this WARNS=6 clean by:
 - declaring 'mode2str' as returning a 'const char *'
 - prototyping all function
 - rename the argument 'version' to 'ver', not to shadow
        the now prototyped function 'version'.

Also mark it as WARNS?= 6 clean to try to keep it clean.

Tested by: make universe (including amd64)

20 years agoFix Scott's email address.
trhodes [Wed, 5 Nov 2003 18:43:54 +0000 (18:43 +0000)]
Fix Scott's email address.

Noticed by: an email discussion with bmah

20 years agostyle(9)
deischen [Wed, 5 Nov 2003 18:19:24 +0000 (18:19 +0000)]
style(9)

Reviewed by: bde

20 years agoDon't declare the malloc lock; use the declaration provided in libc.
deischen [Wed, 5 Nov 2003 18:18:45 +0000 (18:18 +0000)]
Don't declare the malloc lock; use the declaration provided in libc.

Noticed by: bde

20 years agoRemove #include of spinlock.h from libc_private.h. Declare spinlocks as
deischen [Wed, 5 Nov 2003 18:17:30 +0000 (18:17 +0000)]
Remove #include of spinlock.h from libc_private.h.  Declare spinlocks as
struct _spinlock.  Keep the typedef in for now; another set of changes
may come around to clean up consumers of spinlocks.

Requested by: bde

20 years agobyebye in6_ifawithscope(). it was a function for old source
ume [Wed, 5 Nov 2003 17:19:31 +0000 (17:19 +0000)]
byebye in6_ifawithscope().  it was a function for old source
address selection.

Obtained from: KAME

20 years agoInclude machine/asmacros.h instead of machine/asm.h.
nyan [Wed, 5 Nov 2003 17:01:51 +0000 (17:01 +0000)]
Include machine/asmacros.h instead of machine/asm.h.

Submitted by: bde

20 years agoThe my(4) drivers require miibus(4) to function properly.
trhodes [Wed, 5 Nov 2003 16:54:32 +0000 (16:54 +0000)]
The my(4) drivers require miibus(4) to function properly.

20 years agoExcise the xe supported devices from the hardware list and, instead,
bmah [Wed, 5 Nov 2003 16:21:52 +0000 (16:21 +0000)]
Excise the xe supported devices from the hardware list and, instead,
make a link to the new xe(4) manpage.

20 years ago- Adjust some of the bitfields in the ioapic_intsrc struct to be unsigned
jhb [Wed, 5 Nov 2003 16:18:06 +0000 (16:18 +0000)]
- Adjust some of the bitfields in the ioapic_intsrc struct to be unsigned
  rather than signed.  This fixes some cosmetics such as verbose printf's
  for IRQs greater than 127.
- The calculation for next_ioapic_base was also adjusted so that it will
  only complain once for each hole in the IRQs provided by ACPI for IO
  APICs.

Reported by: Michal Mertl <mime@traveller.cz>

20 years agoAdd a workaround for MP Tables that list the same PCI IRQ twice with
jhb [Wed, 5 Nov 2003 16:14:10 +0000 (16:14 +0000)]
Add a workaround for MP Tables that list the same PCI IRQ twice with
the same APIC / pin destination in both cases.

Reported by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>

20 years agomake sure to treat destrination address as KAME internal form
ume [Wed, 5 Nov 2003 16:09:21 +0000 (16:09 +0000)]
make sure to treat destrination address as KAME internal form
of embedscope.

20 years agoPull ataraid out from under giant.
sos [Wed, 5 Nov 2003 15:41:20 +0000 (15:41 +0000)]
Pull ataraid out from under giant.
Use the right bio_* fields for internal stuff.

20 years agoRemoved the garbage options DPT_ALLOW_MEMIO, HIFN_NO_RNG,
bde [Wed, 5 Nov 2003 14:37:48 +0000 (14:37 +0000)]
Removed the garbage options DPT_ALLOW_MEMIO, HIFN_NO_RNG,
IPFIREWALL_FORWARD, NTIMECOUNTER, OHCI_DEBUG, UGEN_DEBUG, UHCI_DEBUG,
UHID_DEBUG, UHUB_DEBUG, UKBD_DEBUG, ULPT_DEBUG, UMASS_DEBUG, UMS_DEBUG,
URIO_DEBUG and VINUM_AUTOSTART.

20 years agoRemoved reference to the garbage (and soon to be deleted) option
bde [Wed, 5 Nov 2003 14:34:36 +0000 (14:34 +0000)]
Removed reference to the garbage (and soon to be deleted) option
DPT_ALLOW_MEMIO.

20 years agoRemoved references to the garbage (and soon to be deleted) options
bde [Wed, 5 Nov 2003 14:32:27 +0000 (14:32 +0000)]
Removed references to the garbage (and soon to be deleted) options
DPT_ALLOW_MEMIO, IPFIREWALL_FORWARD and NTIMECOUNTER

20 years agoFixed misformatting of the options lines for CD9660_ICONV,
bde [Wed, 5 Nov 2003 12:52:35 +0000 (12:52 +0000)]
Fixed misformatting of the options lines for CD9660_ICONV,
DA_OLD_QUIRKS, DCONS_BUF_SIZE, DCONS_FORCE_CONSOLE, DCONS_FORCE_GDB,
DCONS_POLL_HZ, DIRECTIO, HIFN_DEBUG, HIFN_RNDTEST, KSTACK_MAX_PAGES,
LIBMBPOOL, MBUF_STRESS_TEST, MSDOSFS_ICONV, NETGRAPH_ATM_ATMPIF,
NSWBUF_MIN, NTFS_ICONV, P1003_1B_SEMAPHORES, RAID_AUTOCONFIG,
SCHED_4BSD, SOCKBUF_DEBUG, UBSEC_DEBUG, UBSEC_RNDTEST, UDF_ICONV,
UVSCOM_DEFAULT_OPKTSIZE and WATCHDOG.

20 years agoMoved $FreeBSD$ to the beginning of the file.
bde [Wed, 5 Nov 2003 12:20:16 +0000 (12:20 +0000)]
Moved $FreeBSD$ to the beginning of the file.

Don't put the name of the file in a comment.  $FreeBSD$ gives more than
enough about the file's pathname.

Fixed misdescription of the file.  It isn't the whole unified Makefile...

Moved the settings of WERROR and of the standard extra CFLAGS
-finline-limit and -fno-strict-aliasing to a less wrong place.  They
were in the section for profiling.

20 years ago- refrect recent changes.
ume [Wed, 5 Nov 2003 12:00:32 +0000 (12:00 +0000)]
- refrect recent changes.
- add table of contents.
- add section 4.8 - Operations with IPsec tunnel mode.
- add section 9 - Policy on technology with intellectual property
  right restriction
- more about KAME's codeing style.

Obtained from: KAME

20 years agoFixed a reference to a nonexistent variable in previous commit. Renaming
bde [Wed, 5 Nov 2003 11:56:58 +0000 (11:56 +0000)]
Fixed a reference to a nonexistent variable in previous commit.  Renaming
of ffs_reload()'s mountp parameter to mp in rev.1.28 of ffs_vnops.c
had not been merged here.

ext2fs_reload() is still missing locking from not merging other changes
to ffs_reload(), but none of these is related to recent locking changes.

20 years agoMake the driver conditionally MPSAFE. MPSAFEty defaults to not-mpsafe
harti [Wed, 5 Nov 2003 11:47:31 +0000 (11:47 +0000)]
Make the driver conditionally MPSAFE. MPSAFEty defaults to not-mpsafe
but can be enabled by setting hw.atm.hatmN.mpsafe in the kernel
environment to a non-zero value before loading the driver. When
the problems with network MPSAFEty have been sorted out this will
be removed and the driver will default to MPSAFE.

20 years agoWhen compiled with debugging trace the number of transmit mbufs that
harti [Wed, 5 Nov 2003 11:43:06 +0000 (11:43 +0000)]
When compiled with debugging trace the number of transmit mbufs that
we own. Warn if something strange happens (number drops below zero or
there appears to be a leak).

20 years agoInitialize the USED flag in new external receive buffers to 0, not to 1.
harti [Wed, 5 Nov 2003 11:15:47 +0000 (11:15 +0000)]
Initialize the USED flag in new external receive buffers to 0, not to 1.
We put them directly onto the free list instead of calling the
external mbuf free routine (that routine would have cleaned the flag).

This fixes a bug which manifests itself in falsely reporting a lot of used
buffers when configuring the interface down.

20 years agoReplace the lock-less algorithm for the free item list with a more
harti [Wed, 5 Nov 2003 10:32:21 +0000 (10:32 +0000)]
Replace the lock-less algorithm for the free item list with a more
conservative lock. The problem with the lock-less algorithm is that
it suffers from the ABA problem. Running an application with funnels
a couple of 100kpkts/s through the netgraph system on a dual CPU system
with MPSAFE drivers will panic almost immediatly with the old algorithm.

It may be possible to eliminate the contention between threads that insert
free items into the list and those that get free items by using the
Michael/Scott queue algorithm that has two locks.

20 years agoUpdate.
sos [Wed, 5 Nov 2003 10:08:34 +0000 (10:08 +0000)]
Update.