]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoThe method link_preload_finish is not static.
Doug Rabson [Sat, 20 Sep 2003 17:39:32 +0000 (17:39 +0000)]
The method link_preload_finish is not static.

20 years agoRemove an invalid KASSERT. Apparently pmap_remove_all gets called on
Jake Burkholder [Sat, 20 Sep 2003 17:00:59 +0000 (17:00 +0000)]
Remove an invalid KASSERT.  Apparently pmap_remove_all gets called on
unmanaged pages.

20 years agoAdd missing file, it is sorely needed to make if_sk.c compile again.
Wilko Bulte [Sat, 20 Sep 2003 15:49:22 +0000 (15:49 +0000)]
Add missing file, it is sorely needed to make if_sk.c compile again.

20 years agoFix width of first column in FILES table to account for longer device name.
Stefan Eßer [Sat, 20 Sep 2003 15:16:56 +0000 (15:16 +0000)]
Fix width of first column in FILES table to account for longer device name.

20 years agoFix name of no-reset device (ulpn -> unlpt).
Stefan Eßer [Sat, 20 Sep 2003 15:13:35 +0000 (15:13 +0000)]
Fix name of no-reset device (ulpn -> unlpt).

20 years agoCorrect card type of Netgear WG311 and add WAG311 and WGT511T
Stefan Eßer [Sat, 20 Sep 2003 15:10:38 +0000 (15:10 +0000)]
Correct card type of Netgear WG311 and add WAG311 and WGT511T
which are based on the AR5212 and should just work (not verified).
Add Proxim Skyline 4032, the PCI version of th e4030.
Add revision suffix 'B' to D-Link DWL-G520/G650 entries, in order
to indicate that revision A1 cards are not supported by this driver
(both A1 and B1/B2 cards are sold in identical boxes).
Explicitly point out the existence of unsupported DWL-G520/G650
(rev. A1) cards in the CAVEATS section.
Approved by: sam

20 years agoNote added support for 3C940 and Marvell Semiconductor 88E1000* gigabit PHY
Wilko Bulte [Sat, 20 Sep 2003 11:10:51 +0000 (11:10 +0000)]
Note added support for 3C940 and Marvell Semiconductor 88E1000* gigabit PHY

Submitted by: Jung-uk Kim <jkim@niksun.com>
Based on: Nathan L. Binkert's OpenBSD patch for sk(4)

20 years agoAdd support for SK-9521 V2.0 and 3COM 3C940.
Wilko Bulte [Sat, 20 Sep 2003 10:53:08 +0000 (10:53 +0000)]
Add support for SK-9521 V2.0 and 3COM 3C940.

Tested at 100Mbit only, using Asus P4P800 onboard 3C940.
The -stable version of this patch I have in use for ~2 weeks now, and works
just fine for me.

Based on: Nathan L. Binkert's patch for OpenBSD
Patch submitted by and thanks to: Jung-uk Kim <jkim@niksun.com>
MFC after: 2 weeks

20 years agofixed memory leak.
SUZUKI Shinsuke [Sat, 20 Sep 2003 09:41:13 +0000 (09:41 +0000)]
fixed memory leak.

Obtained From: KAME

20 years agoDont reject a master device if it said slave failed.
Søren Schmidt [Sat, 20 Sep 2003 08:38:33 +0000 (08:38 +0000)]
Dont reject a master device if it said slave failed.

20 years agoIn umass_bbb_get_max_lun() move maxlun to before the DPRINTF so that
Gary Jennejohn [Sat, 20 Sep 2003 08:18:16 +0000 (08:18 +0000)]
In umass_bbb_get_max_lun() move maxlun to before the DPRINTF so that
the actual number of LUNs is printed.

20 years agoNew Proxim Harmony OEM card.
Warner Losh [Sat, 20 Sep 2003 05:27:18 +0000 (05:27 +0000)]
New Proxim Harmony OEM card.

Submitted by: Jeremy Bingham

20 years agosync to 1.70
Warner Losh [Sat, 20 Sep 2003 05:24:50 +0000 (05:24 +0000)]
sync to 1.70

20 years agoOEM version of Proxim Harmony card
Warner Losh [Sat, 20 Sep 2003 05:23:50 +0000 (05:23 +0000)]
OEM version of Proxim Harmony card

Submitted by: Jeremy Bingham

20 years agoA new proxim harmony oem card spotted in the field.
Warner Losh [Sat, 20 Sep 2003 05:21:58 +0000 (05:21 +0000)]
A new proxim harmony oem card spotted in the field.

Submitted by: Jeremy Bingham

20 years agoo Properly spell my last name. Bad Hiten, no cookie :-)
Marcel Moolenaar [Sat, 20 Sep 2003 04:13:16 +0000 (04:13 +0000)]
o  Properly spell my last name. Bad Hiten, no cookie :-)
o  Use the email address I put in my signature.

20 years ago - Somewhere along the line I stupidly removed critical logic from
Jeff Roberson [Sat, 20 Sep 2003 02:05:58 +0000 (02:05 +0000)]
 - Somewhere along the line I stupidly removed critical logic from
   sched_ptcpu_update().  This caused erroneous cpu times in TOP for
   processes that were asleep.  Replace the code that was removed.

20 years ago - In reassignbuf() don't unlock vp and lock newvp if they are the same.
Jeff Roberson [Sat, 20 Sep 2003 00:21:48 +0000 (00:21 +0000)]
 - In reassignbuf() don't unlock vp and lock newvp if they are the same.
   Doing so creates a race where the buf is on neither list.
 - Only vfree() in an error case in vclean() if VSHOULDFREE() thinks we
   should.
 - Convert the error case in vclean() to INVARIANTS from DIAGNOSTIC as this
   really should not happen and is fast to check.

20 years agoNew errata: SA-03:13.
Bruce A. Mah [Sat, 20 Sep 2003 00:17:52 +0000 (00:17 +0000)]
New errata:  SA-03:13.

20 years agoNew release note: SA-03:13.
Bruce A. Mah [Sat, 20 Sep 2003 00:01:29 +0000 (00:01 +0000)]
New release note:  SA-03:13.

Modified release notes:  GNOME 2.4, KDE 3.1.4.

20 years ago - Remove spls(). The locking that has replaced them is in place and they
Jeff Roberson [Fri, 19 Sep 2003 23:52:06 +0000 (23:52 +0000)]
 - Remove spls().  The locking that has replaced them is in place and they
   no longer serve as guidelines for future work.

20 years ago - Remove interlock protection around VI_XLOCK. The interlock is not
Jeff Roberson [Fri, 19 Sep 2003 23:37:49 +0000 (23:37 +0000)]
 - Remove interlock protection around VI_XLOCK.  The interlock is not
   sufficient to guarantee that this race is not hit.  The XLOCK will likely
   have to be redesigned due to the way reference counting and mutexes work
   in FreeBSD.  We currently can not be guaranteed that xlock was not set
   and cleared while we were blocked on the interlock while waiting to check
   for XLOCK.  This would lead us to reference a vnode which was not the
   vnode we requested.
 - Add a backtrace() call inside of INVARIANTS in the hopes of finding out if
   this condition is ever hit.  It should not, since we should be retaining
   a reference to the vnode in these cases.  The reference would be sufficient
   to block recycling.

20 years agoMake KSE_STACKSIZE machine dependent by moving it from thr_kern.c to
Marcel Moolenaar [Fri, 19 Sep 2003 23:28:13 +0000 (23:28 +0000)]
Make KSE_STACKSIZE machine dependent by moving it from thr_kern.c to
pthread_md.h. This commit only moves the definition; it does not
change it for any of the platforms. This more easily allows 64-bit
architectures (in particular) to pick a slightly larger stack size.

20 years ago - Remove the working-set algorithm. Instead, use the per cpu buckets as the
Jeff Roberson [Fri, 19 Sep 2003 23:27:46 +0000 (23:27 +0000)]
 - Remove the working-set algorithm.  Instead, use the per cpu buckets as the
   working set cache.  This has several advantages.  Firstly, we never touch
   the per cpu queues now in the timeout handler.  This removes one more
   reason for having per cpu locks.  Secondly, it reduces the size of the zone
   by 8 bytes, bringing it under 200 bytes for a single proc x86 box.  This
   tidies up other logic as well.
 - The 'destroy' flag no longer needs to be passed to zone_drain() since it
   always frees everything in the zone's slabs.
 - cache_drain() is now only called from zone_dtor() and so it destroys by
   default.  It also does not need the destroy parameter now.

20 years agoAdd a release note for the sendmail 8.12.10 import
Gregory Neil Shapiro [Fri, 19 Sep 2003 23:23:55 +0000 (23:23 +0000)]
Add a release note for the sendmail 8.12.10 import

20 years agoUpdate for 8.12.10 import
Gregory Neil Shapiro [Fri, 19 Sep 2003 23:20:46 +0000 (23:20 +0000)]
Update for 8.12.10 import

20 years agoFix sendmail 8.12.10 import conflicts
Gregory Neil Shapiro [Fri, 19 Sep 2003 23:14:57 +0000 (23:14 +0000)]
Fix sendmail 8.12.10 import conflicts

20 years agoThis commit was generated by cvs2svn to compensate for changes in r120256,
Gregory Neil Shapiro [Fri, 19 Sep 2003 23:11:30 +0000 (23:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r120256,
which included commits to RCS files with non-trunk default branches.

20 years agoImport sendmail 8.12.10
Gregory Neil Shapiro [Fri, 19 Sep 2003 23:11:30 +0000 (23:11 +0000)]
Import sendmail 8.12.10

20 years ago - Remove the cache colorization code. We can't use it due to all of the
Jeff Roberson [Fri, 19 Sep 2003 23:04:44 +0000 (23:04 +0000)]
 - Remove the cache colorization code.  We can't use it due to all of the
   broken consumers of the malloc interface who assume that the allocated
   address will be an even multiple of the size.
 - Remove disabled time delay code on uma_reclaim().  The comment there said
   it all.  It was not an effective strategy and it should not be left in
   #if 0'd for all eternity.

20 years ago_ia64_break_setcontext() now takes a mcontext_t. While here, define
Marcel Moolenaar [Fri, 19 Sep 2003 23:00:28 +0000 (23:00 +0000)]
_ia64_break_setcontext() now takes a mcontext_t. While here, define
THR_SETCONTEXT as PANIC(). The THR_SETCONTEXT macro is currently not
used, which means that the definition we had could be wrong, overly
pessimistic or unknowingly right. I don't like the odds...

The new _ia64_break_setcontext() and corresponding kernel fixes make
KSE mostly usable. There's still a case where we don't properly
restore a context and end up with a NaT consumption fault (typically
an indication for not handling NaT collection points correctly),
but at least now mutex_d works...

20 years agoStop using the setcontext() syscall to restore an async context.
Marcel Moolenaar [Fri, 19 Sep 2003 22:54:05 +0000 (22:54 +0000)]
Stop using the setcontext() syscall to restore an async context.
Instead use the break instruction with an immediate specially
created for us.

20 years agoFix the most significant KSE breakage caused by not restoring the
Marcel Moolenaar [Fri, 19 Sep 2003 22:51:26 +0000 (22:51 +0000)]
Fix the most significant KSE breakage caused by not restoring the
restart instruction bits in the PSR. As such, we were returning
from interrupt to the instruction in the bundle that caused us
to enter the kernel, only now we're returning to a completely
different bundle.

While close here: add two KASSERTs to make sure that we restore
sync contexts only when entered the kernel through a syscall and
restore an async context only when entered the kernel through an
interrupt, trap or fault.

While not exactly here, but close enough: use suword64() when we
copy the dirty registers from the kernel stack to the user stack.
The code was intended to be be replaced shortly after being added,
but that was a couple of weeks ago. I might as well avoid that it
is a source for panics until it's replaced.

20 years agoAdd HP 4400C, Belkin F5U208 VideoBusII
John Birrell [Fri, 19 Sep 2003 22:42:51 +0000 (22:42 +0000)]
Add HP 4400C, Belkin F5U208 VideoBusII

20 years agoRevamp trap(): make it more explicit which kinds of traps/faults we
Marcel Moolenaar [Fri, 19 Sep 2003 22:41:52 +0000 (22:41 +0000)]
Revamp trap(): make it more explicit which kinds of traps/faults we
can get (or not) and what we do with them. This fixes the behaviour
for NaT consumption and speculation faults in that we now don't panic
for user faults.

Remove the dopanic label and move the code to a function. This makes
it easier in the simulator to set a breakpoint.

While here, remove the special handling of the old break-based syscall
path and move it to where we handle the break vector. While here,
reserve a new break immediate for KSE. We currently use the old break-
based syscall to deal with restoring async contexts. However, it has
the side-effect of also setting the signal mask and callong ast() on
the way out. The new break immediate simply restores the context and
returns without calling ast().

20 years ago - There are an endless stream of style(9) errors in this file. Fix a few.
Jeff Roberson [Fri, 19 Sep 2003 22:31:45 +0000 (22:31 +0000)]
 - There are an endless stream of style(9) errors in this file.  Fix a few.
   Also catch some spelling errors.

20 years agoDocument portsize.
John Birrell [Fri, 19 Sep 2003 22:27:54 +0000 (22:27 +0000)]
Document portsize.

20 years agorevert rev 1.64; this is not needed with rev 1.49 of lock.h
Sam Leffler [Fri, 19 Sep 2003 22:03:59 +0000 (22:03 +0000)]
revert rev 1.64; this is not needed with rev 1.49 of lock.h
as LOCK_DEBUG is implied by MUTEX_PROFILING which stops inline expansion
of the mutex operations

Supported by: FreeBSD Foundation

20 years agowhen MUTEX_PROFILING is enabled turn on LOCK_DEBUG; otherwise all the mutex's
Sam Leffler [Fri, 19 Sep 2003 22:01:56 +0000 (22:01 +0000)]
when MUTEX_PROFILING is enabled turn on LOCK_DEBUG; otherwise all the mutex's
get dumped into a single bucket with line #0 and file NULL

Supported by: FreeBSD Foundation

20 years agoo the kernel sysctl uses 'avg' for a key; change to suit
Sam Leffler [Fri, 19 Sep 2003 21:52:29 +0000 (21:52 +0000)]
o the kernel sysctl uses 'avg' for a key; change to suit
o change header field widths to match the kernel so columns line up

20 years agoMention the puc(4) glue driver in a commented-out example so the user
Joerg Wunsch [Fri, 19 Sep 2003 20:04:55 +0000 (20:04 +0000)]
Mention the puc(4) glue driver in a commented-out example so the user
of "dumb" PCI-based serial/parallel boards get a hint how to enable
them.

I wasn't sure about the ia64, pc98, powerpc, and sparc64 archs whether
they'd support puc(4) or not.

20 years agoAdd an entry for the VScom (Titan?) PCI-800L 8-port serial multiport
Joerg Wunsch [Fri, 19 Sep 2003 19:55:08 +0000 (19:55 +0000)]
Add an entry for the VScom (Titan?) PCI-800L 8-port serial multiport
card.

Thanks to bde for his help in configuring the undocumented bars in
this driver...

MFC after: 1 month

20 years agoEliminate one case of VI_UNLOCK followed by an immediate
Alexander Kabaev [Fri, 19 Sep 2003 19:13:54 +0000 (19:13 +0000)]
Eliminate one case of VI_UNLOCK followed by an immediate
VI_LOCK.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r120239,
Nate Lawson [Fri, 19 Sep 2003 19:08:55 +0000 (19:08 +0000)]
This commit was generated by cvs2svn to compensate for changes in r120239,
which included commits to RCS files with non-trunk default branches.

20 years agoFix an overflow in the resource list code for Address16, 32, 64, and
Nate Lawson [Fri, 19 Sep 2003 19:08:55 +0000 (19:08 +0000)]
Fix an overflow in the resource list code for Address16, 32, 64, and
extended irq lists.  If the resource has a trailing byte but not the full
resource string, do not attempt to parse the resource string.  This fixes
panics on transition to battery and shutdown for Larry.  Patch has been
submitted to vendor and they will incorporate in next release.

Tested by: Larry Rosenman <ler@lerctr.org>
PR: kern/56254

20 years agoDocument MUTEX_NOINLINE.
John Baldwin [Fri, 19 Sep 2003 19:04:30 +0000 (19:04 +0000)]
Document MUTEX_NOINLINE.

Reported by: sam

20 years agoDon't inline mutex operations if MUTEX_PROFILING is enabled.
John Baldwin [Fri, 19 Sep 2003 18:59:52 +0000 (18:59 +0000)]
Don't inline mutex operations if MUTEX_PROFILING is enabled.

Reported by: sam

20 years agofix build
Sam Leffler [Fri, 19 Sep 2003 17:18:32 +0000 (17:18 +0000)]
fix build

20 years ago(atapi_action): avoid memory leak in a marginal invalid ccb case.
Thomas Quinot [Fri, 19 Sep 2003 16:25:44 +0000 (16:25 +0000)]
(atapi_action): avoid memory leak in a marginal invalid ccb case.
(free_hcb): defend against calling TAILQ_REMOVE on an hcb that was
 not inserted on pending_hcbs.

20 years agoAllow the KERN_PROC_PROC sysctl to be used without the useless 4th
Tim J. Robbins [Fri, 19 Sep 2003 14:16:50 +0000 (14:16 +0000)]
Allow the KERN_PROC_PROC sysctl to be used without the useless 4th
name component, for consistency with KERN_PROC_ALL. Support for the
4-argument form will be removed some time before 5.2-R.

20 years agoAlways check the sensekey field on ATAPI returns
Søren Schmidt [Fri, 19 Sep 2003 12:46:12 +0000 (12:46 +0000)]
Always check the sensekey field on ATAPI returns
Add INQUIRY to cmd2str.

20 years agoIgnore ECHILD from waitpid(2) (our child may have been reaped by the
Dag-Erling Smørgrav [Fri, 19 Sep 2003 11:33:03 +0000 (11:33 +0000)]
Ignore ECHILD from waitpid(2) (our child may have been reaped by the
calling process's SIGCHLD handler)

PR: bin/45669

20 years agoFix broken shell code.
Dag-Erling Smørgrav [Fri, 19 Sep 2003 11:29:51 +0000 (11:29 +0000)]
Fix broken shell code.

20 years ago - Don't inspect the zone in page_alloc(). It may be NULL.
Jeff Roberson [Fri, 19 Sep 2003 09:22:04 +0000 (09:22 +0000)]
 - Don't inspect the zone in page_alloc().  It may be NULL.
 - Don't cache more items than the zone would like in uma_zalloc_bucket().

20 years agoAdd support for stop files, the existence of which signals tbmaster to
Dag-Erling Smørgrav [Fri, 19 Sep 2003 09:15:10 +0000 (09:15 +0000)]
Add support for stop files, the existence of which signals tbmaster to
skip particular platforms or configs, or simply stop running.

20 years agoCheck that $verbose is defined before using it in a comparison.
Dag-Erling Smørgrav [Fri, 19 Sep 2003 09:12:32 +0000 (09:12 +0000)]
Check that $verbose is defined before using it in a comparison.

20 years agoFix this script to produce working bootable floppies on 4.x.
Ruslan Ermilov [Fri, 19 Sep 2003 09:08:41 +0000 (09:08 +0000)]
Fix this script to produce working bootable floppies on 4.x.

20 years agoFor boot floppies, build a lightweight version of loader(8)
Ruslan Ermilov [Fri, 19 Sep 2003 09:06:15 +0000 (09:06 +0000)]
For boot floppies, build a lightweight version of loader(8)
without Forth support.  Saves 28K of kern.flp and boot.flp
on i386.

Reviewed by: jhb

20 years ago - Move the logic for dealing with the uma_boot_pages cache into the
Jeff Roberson [Fri, 19 Sep 2003 08:53:33 +0000 (08:53 +0000)]
 - Move the logic for dealing with the uma_boot_pages cache into the
   page_alloc() function from the slab_zalloc() function.  This allows us
   to unconditionally call uz_allocf().
 - In page_alloc() cleanup the boot_pages logic some.  Previously memory from
   this cache that was not used by the time the system started was left in
   the cache and never used.  Typically this wasn't more than a few pages,
   but now we will use this cache so long as memory is available.

20 years ago - Fix the silly flag situation in UMA. Remove redundant ZFLAG/ZONE flags
Jeff Roberson [Fri, 19 Sep 2003 08:37:44 +0000 (08:37 +0000)]
 - Fix the silly flag situation in UMA.  Remove redundant ZFLAG/ZONE flags
   by accepting the user supplied flags directly.  Previously this was not
   done so that flags for the same field would not be defined in two
   different files.  Add comments in each header instructing future
   developers on how now to shoot their feet.
 - Fix a test for !OFFPAGE which should have been a test for HASH.  This would
   have caused a panic if we had ever destructed a malloc zone.  This also
   opens up the possibility that other zones could use the vsetobj() method
   rather than a hash.

20 years agoChange TRAPF_USERMODE and CLOCKF_USERMODE to not test for CPL == 3,
Marcel Moolenaar [Fri, 19 Sep 2003 07:48:22 +0000 (07:48 +0000)]
Change TRAPF_USERMODE and CLOCKF_USERMODE to not test for CPL == 3,
but for CPL != 0. For some reason yet unknown it is possible for the
CPL to be 2. This would previously be counted as kernel mode, which
resulted in nasty panics. By changing the test it is now treated as
user mode, which is more correct. We still need to figure out how it
is possible that the privilege level can be 2 (or 1 for that matter),
because it's not used by us. We only use 3 (user mode) and 0 (kernel
mode).

20 years ago - Don't abuse M_DEVBUF, define a tag for UMA hashes.
Jeff Roberson [Fri, 19 Sep 2003 07:23:50 +0000 (07:23 +0000)]
 - Don't abuse M_DEVBUF, define a tag for UMA hashes.

20 years ago - Eliminate a pair of unnecessary variables.
Jeff Roberson [Fri, 19 Sep 2003 06:41:06 +0000 (06:41 +0000)]
 - Eliminate a pair of unnecessary variables.

20 years ago - Initialize a pool of bucket zones so that we waste less space on zones that
Jeff Roberson [Fri, 19 Sep 2003 06:26:45 +0000 (06:26 +0000)]
 - Initialize a pool of bucket zones so that we waste less space on zones that
   don't cache as many items.
 - Introduce the bucket_alloc(), bucket_free() functions to wrap bucket
   allocation.  These functions select the appropriate bucket zone to
   allocate from or free to.
 - Rename ub_ptr to ub_cnt to reflect a change in its use.  ub_cnt now reflects
   the count of free items in the bucket.  This gets rid of many unnatural
   subtractions by 1 throughout the code.
 - Add ub_entries which reflects the number of entries possibly held in a
   bucket.

20 years agoMerge vm_pageout_free_page_calc() into vm_pageout(), eliminating some
Alan Cox [Fri, 19 Sep 2003 05:03:45 +0000 (05:03 +0000)]
Merge vm_pageout_free_page_calc() into vm_pageout(), eliminating some
unneeded code.

20 years ago - Only use UMA to cache malloc requests up to PAGE_SIZE. Values larger than
Jeff Roberson [Fri, 19 Sep 2003 04:39:08 +0000 (04:39 +0000)]
 - Only use UMA to cache malloc requests up to PAGE_SIZE.  Values larger than
   this are requested very infrequently and waste memory when we cache
   spares.

20 years agoRemove jumbo buffer #defines that I ended up not needing.
Bill Paul [Fri, 19 Sep 2003 02:35:03 +0000 (02:35 +0000)]
Remove jumbo buffer #defines that I ended up not needing.

20 years agoadd Atheros driver
Sam Leffler [Fri, 19 Sep 2003 01:42:24 +0000 (01:42 +0000)]
add Atheros driver

20 years agoo add some more retail card identifiers
Sam Leffler [Fri, 19 Sep 2003 01:41:18 +0000 (01:41 +0000)]
o add some more retail card identifiers
o remove caveat about 11g operation; seems to work ok

20 years agoInclude "opt_kstack_pages.h". We export KSTACK_PAGES to assembly and
Marcel Moolenaar [Fri, 19 Sep 2003 00:37:41 +0000 (00:37 +0000)]
Include "opt_kstack_pages.h". We export KSTACK_PAGES to assembly and
better have the right value.

20 years agoIn re_diag(), there's no need for us to call re_start() ourselves:
Bill Paul [Thu, 18 Sep 2003 18:32:15 +0000 (18:32 +0000)]
In re_diag(), there's no need for us to call re_start() ourselves:
IF_HANDOFF() does it for us behind the scenes. Remove the extra call
to re_start() otherwise we try to transmit twice.

In re_encap(), fix the code that guards against consuming too many
descriptors in the TX ring so that it actually works. With the
new 8169S chip, I was able to hit a corner case that drained the
free descriptor count all the way to 0. This is not supposed to
be possible.

20 years agoName moderate security settings "Moderate", not "Medium"
Eivind Eklund [Thu, 18 Sep 2003 17:36:20 +0000 (17:36 +0000)]
Name moderate security settings "Moderate", not "Medium"

20 years agoone more opossite conditiion.
Hajimu UMEMOTO [Thu, 18 Sep 2003 17:26:56 +0000 (17:26 +0000)]
one more opossite conditiion.

Reported by: "lg" <zevlg@yandex.ru>

20 years agoFix a busted constant related to PCI configuration acess method #1. The
John Baldwin [Thu, 18 Sep 2003 17:00:03 +0000 (17:00 +0000)]
Fix a busted constant related to PCI configuration acess method #1.  The
reserved bits in the port that must be zero are 24:30, not 20:30.  Bits
16:23 are used to set the bus number.  This meant that when we tested for
config mechanism #1, if the previous PCI configuration transaction sent
used a bus number greater than 15, one of the bits in 20:23 would be
non-zero and we would fail to use config mechanism #1 and thus fail to see
that PCI existed on the machine at all.

Obtained from: Shanley's PCI System Architecture book
Tested by: des
Proxied through: njl

20 years agoCosmetics
Søren Schmidt [Thu, 18 Sep 2003 16:44:54 +0000 (16:44 +0000)]
Cosmetics

20 years agoBe a bit more restrictive in the probe so we dont hang around
Søren Schmidt [Thu, 18 Sep 2003 16:43:08 +0000 (16:43 +0000)]
Be a bit more restrictive in the probe so we dont hang around
on empty channels in most cases.

20 years agoRemove excess paranoia. There is no need to chech for the crypto/ dir
Mark Murray [Thu, 18 Sep 2003 16:35:43 +0000 (16:35 +0000)]
Remove excess paranoia. There is no need to chech for the crypto/ dir
any more, and this check has been removed elsewhere.

20 years agoPropagate ioctl() failure to exit status
Eivind Eklund [Thu, 18 Sep 2003 16:20:32 +0000 (16:20 +0000)]
Propagate ioctl() failure to exit status

20 years ago- Reorder to group the non-obsolete options together
Eivind Eklund [Thu, 18 Sep 2003 16:18:45 +0000 (16:18 +0000)]
- Reorder to group the non-obsolete options together
- Change from "will be deprecated in 5.1" to "was deprecated in 5.1"

20 years ago Support the Hawking Technology's UF100 Pegasus II 10/100 USB Ethernet.
David E. O'Brien [Thu, 18 Sep 2003 15:41:07 +0000 (15:41 +0000)]
 Support the Hawking Technology's UF100 Pegasus II 10/100 USB Ethernet.

20 years agoReferring to FreeBSD versions later than 2.0R as "fairly recent" is pretty
Poul-Henning Kamp [Thu, 18 Sep 2003 15:13:57 +0000 (15:13 +0000)]
Referring to FreeBSD versions later than 2.0R as "fairly recent" is pretty
archaic at this point in time.  Pretend nobody runs FreeBSD 1.x anymore
in order to not confuse people needlessly.

Laplink support probably doesn't even work at this point in time anyway...

20 years agopthread api should return error code in return value, not in errno.
David Xu [Thu, 18 Sep 2003 12:19:28 +0000 (12:19 +0000)]
pthread api should return error code in return value, not in errno.

21 years agoPerl 5.8.0 has been in ports for a long time. Add the correct directory
Dag-Erling Smørgrav [Thu, 18 Sep 2003 10:44:42 +0000 (10:44 +0000)]
Perl 5.8.0 has been in ports for a long time.  Add the correct directory
to manpath.config so use.perl won't needs to add it.

21 years agoAdd a default setting of NO for the gbde auto attach script, and
Doug Barton [Thu, 18 Sep 2003 09:59:37 +0000 (09:59 +0000)]
Add a default setting of NO for the gbde auto attach script, and
document the options.

21 years agoMerged from sys/isa/fd.c revisions 1.259 and 1.260.
Yoshihiro Takahashi [Thu, 18 Sep 2003 09:49:08 +0000 (09:49 +0000)]
Merged from sys/isa/fd.c revisions 1.259 and 1.260.

21 years agoEnable DRM update note on pc98.
Yoshihiro Takahashi [Thu, 18 Sep 2003 09:27:31 +0000 (09:27 +0000)]
Enable DRM update note on pc98.

21 years agoProperly handle error code returns from the lower levels ATAPI code.
Søren Schmidt [Thu, 18 Sep 2003 09:22:14 +0000 (09:22 +0000)]
Properly handle error code returns from the lower levels ATAPI code.

21 years agoFix typo, tdp -> tcp
Doug Barton [Thu, 18 Sep 2003 09:21:09 +0000 (09:21 +0000)]
Fix typo, tdp -> tcp

PR: conf/56939
Submitted by: Alain Kalker <miki@dds.nl>

21 years agoUpdate comment about compression to refer to CPU limitations instead of T1s
Eivind Eklund [Thu, 18 Sep 2003 08:19:39 +0000 (08:19 +0000)]
Update comment about compression to refer to CPU limitations instead of T1s

21 years agoFixed most of the remaining style bugs in rev.1.194. Mainly better
Bruce Evans [Thu, 18 Sep 2003 07:46:40 +0000 (07:46 +0000)]
Fixed most of the remaining style bugs in rev.1.194.  Mainly better
wording in comments.

21 years agoDon't forget to reenable interrupts after a breakpoint and trace traps from
Bruce Evans [Thu, 18 Sep 2003 07:01:30 +0000 (07:01 +0000)]
Don't forget to reenable interrupts after a breakpoint and trace traps from
user mode.  This goes with rev.1.468 of machdep.c which changed the gates
for these traps to interrupt gates.  Having the interrupts disabled for
these traps from user mode is just an unwanted side effect.

This fixes at least 1 case of "panic: absolutely cannot call
smp_ipi_shootdown with interrupts already disabled".  Too much code was
run with interrupts disabled, and it sometimes hit a sanity check.

Fix verified by: deischen

21 years agoAdd necessary newlines.
Nate Lawson [Thu, 18 Sep 2003 05:12:45 +0000 (05:12 +0000)]
Add necessary newlines.

21 years agoShorten the message announcing fixed power/sleep buttons.
Nate Lawson [Thu, 18 Sep 2003 05:01:03 +0000 (05:01 +0000)]
Shorten the message announcing fixed power/sleep buttons.

21 years agoImplement the O modifier. The O modifier sorts the words in a
Marcel Moolenaar [Thu, 18 Sep 2003 03:15:57 +0000 (03:15 +0000)]
Implement the O modifier. The O modifier sorts the words in a
variable. The implementation is based upon the patch sent to
arch@, but modified to be compatible with NetBSD. The modifier
that does a reverse sort has been dropped for now, but the
ability to add one later has been preserved.

21 years agoAdd vm object locking to vnode_pager_lock(). (This triggers the movement
Alan Cox [Thu, 18 Sep 2003 02:26:03 +0000 (02:26 +0000)]
Add vm object locking to vnode_pager_lock().  (This triggers the movement
of a VM_OBJECT_LOCK() in vm_fault().)

21 years agoBandaid locking change: mark static rule mutex recursive so re-entry when
Sam Leffler [Wed, 17 Sep 2003 22:06:47 +0000 (22:06 +0000)]
Bandaid locking change: mark static rule mutex recursive so re-entry when
sending an ICMP packet doesn't cause a panic.  A better solution is needed;
possibly defering the transmit to a dedicated thread.

Observed by: "Aaron Wohl" <freebsd@soith.com>

21 years agoshuffle code so we don't "continue" and miss a needed unlock operation
Sam Leffler [Wed, 17 Sep 2003 21:13:16 +0000 (21:13 +0000)]
shuffle code so we don't "continue" and miss a needed unlock operation

Observed by: Wiktor Niesiobedzki <w@evip.pl>

21 years agoBump FreeBSD_version to note that ports that want constants for the
John Baldwin [Wed, 17 Sep 2003 20:37:02 +0000 (20:37 +0000)]
Bump FreeBSD_version to note that ports that want constants for the
16550 should use <dev/ic/ns16550.h> rather than <dev/sio/sioreg.h>

21 years agoo add support for setting 128-bit WEP keys
Sam Leffler [Wed, 17 Sep 2003 19:27:43 +0000 (19:27 +0000)]
o add support for setting 128-bit WEP keys
o use IEEE80211_KEYBUF_SIZE instead of magic numbers
o distinguish between 40-, 104-, and 128-bit WEP keys when printing status

21 years agofix build on 64-bit platforms
Sam Leffler [Wed, 17 Sep 2003 18:14:49 +0000 (18:14 +0000)]
fix build on 64-bit platforms