]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoMention which patches imported
Andrey A. Chernov [Fri, 13 Feb 2004 01:16:12 +0000 (01:16 +0000)]
Mention which patches imported

20 years agoRegister libarchive in bsd.libnames.mk and mdoc.local
Tim Kientzle [Fri, 13 Feb 2004 01:14:38 +0000 (01:14 +0000)]
Register libarchive in bsd.libnames.mk and mdoc.local

Submitted by: ru

20 years agoThis commit was generated by cvs2svn to compensate for changes in r125759,
Andrey A. Chernov [Fri, 13 Feb 2004 01:08:19 +0000 (01:08 +0000)]
This commit was generated by cvs2svn to compensate for changes in r125759,
which included commits to RCS files with non-trunk default branches.

20 years agoOfficial patches 001-005
Andrey A. Chernov [Fri, 13 Feb 2004 01:08:19 +0000 (01:08 +0000)]
Official patches 001-005

20 years agoStyle fixes: Use curly braces in Makefiles,
Tim Kientzle [Fri, 13 Feb 2004 00:58:48 +0000 (00:58 +0000)]
Style fixes: Use curly braces in Makefiles,
use cat (not cp) to copy files.

Submitted by: ru

20 years agoRegister libbluetooth and libsdp
Maksim Yevmenkin [Thu, 12 Feb 2004 23:50:56 +0000 (23:50 +0000)]
Register libbluetooth and libsdp

Reviewed by: imp (mentor), ru

20 years agoRemove the absolute count g_access_abs() function since experience has
Poul-Henning Kamp [Thu, 12 Feb 2004 22:42:11 +0000 (22:42 +0000)]
Remove the absolute count g_access_abs() function since experience has
shown that it is not useful.

Rename the relative count g_access_rel() function to g_access(), only
the name has changed.

Change all g_access_rel() calls in our CVS tree to call g_access() instead.

Add an #ifndef BURN_BRIDGES #define of g_access_rel() for source
code compatibility.

20 years agoFixed the fatal bug introduced in previous commit: don't strip
Ruslan Ermilov [Thu, 12 Feb 2004 22:06:33 +0000 (22:06 +0000)]
Fixed the fatal bug introduced in previous commit: don't strip
kgzldr.o -- kgzipping with such a loader produces bad images.

20 years agoClean CLEANFILES.
Ruslan Ermilov [Thu, 12 Feb 2004 21:43:50 +0000 (21:43 +0000)]
Clean CLEANFILES.

20 years agoDon't use makedev() to hack up dev_t's early in boot, do it right
Poul-Henning Kamp [Thu, 12 Feb 2004 21:32:59 +0000 (21:32 +0000)]
Don't use makedev() to hack up dev_t's early in boot, do it right
with make_dev() (and avoid doing it again later).

20 years agoFurther reduce the use of Giant in vm_map_delete(): Perform pmap_remove()
Alan Cox [Thu, 12 Feb 2004 20:56:06 +0000 (20:56 +0000)]
Further reduce the use of Giant in vm_map_delete(): Perform pmap_remove()
on system maps, besides the kmem_map, without Giant.

In collaboration with: tegge

20 years agoUse the PCIR_BAR() macro rather than a magic number to specify the BAR
John Baldwin [Thu, 12 Feb 2004 20:47:03 +0000 (20:47 +0000)]
Use the PCIR_BAR() macro rather than a magic number to specify the BAR
for controller memory.

20 years agoCorrect the cleanup of the alias dev_t for /dev/urandom: being an
Poul-Henning Kamp [Thu, 12 Feb 2004 20:46:49 +0000 (20:46 +0000)]
Correct the cleanup of the alias dev_t for /dev/urandom: being an
alias it depends on the aliased dev_t and disappears automatically
when that is removed.

Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>

20 years agoFix a whitespace nit.
John Baldwin [Thu, 12 Feb 2004 20:45:01 +0000 (20:45 +0000)]
Fix a whitespace nit.

20 years agosys/types.h must be included before sys/acl.h,
Tim Kientzle [Thu, 12 Feb 2004 20:35:59 +0000 (20:35 +0000)]
sys/types.h must be included before sys/acl.h,
as clearly documented in the acl manpage.

Thanks to bde for catching this blunder.

20 years agoGive both consumers and providers a {void *private, u_int index} which
Poul-Henning Kamp [Thu, 12 Feb 2004 20:32:11 +0000 (20:32 +0000)]
Give both consumers and providers a {void *private, u_int index} which
the implementing class can use to hang internal info from.

20 years agoUpdate the prototype for tcpsignature_apply() to reflect the spelling of
Bruce M Simpson [Thu, 12 Feb 2004 20:16:09 +0000 (20:16 +0000)]
Update the prototype for tcpsignature_apply() to reflect the spelling of
the types used by m_apply()'s callback function, f, as documented in mbuf(9).

Noticed by: njl

20 years agostyle(9) pass; whitespace and comments.
Bruce M Simpson [Thu, 12 Feb 2004 20:12:48 +0000 (20:12 +0000)]
style(9) pass; whitespace and comments.

Submitted by: njl

20 years agoRemove an unnecessary initialization that crept in from the code which
Bruce M Simpson [Thu, 12 Feb 2004 20:08:28 +0000 (20:08 +0000)]
Remove an unnecessary initialization that crept in from the code which
verifies TCP-MD5 digests.

Noticed by: njl

20 years agoMFffs (ffs_vfsops.c 1.227: clean up open mode bandaid). This reduces
Bruce Evans [Thu, 12 Feb 2004 17:54:58 +0000 (17:54 +0000)]
MFffs (ffs_vfsops.c 1.227: clean up open mode bandaid).  This reduces
gratuitous differences with ffs a little.

20 years agoFixed some minor style bugs (English usage and formatting of binary
Bruce Evans [Thu, 12 Feb 2004 16:52:24 +0000 (16:52 +0000)]
Fixed some minor style bugs (English usage and formatting of binary
operators) in and near revs.1.169-1.170 (open mode bandaid).  This
(or better a proper fix) should have been done before cloning the
bandaid to many other file systems.

20 years agoConnect libarchive to the build.
Tim Kientzle [Thu, 12 Feb 2004 16:41:33 +0000 (16:41 +0000)]
Connect libarchive to the build.

20 years agoOnly indent once for continuation lines when not lining up with
Bruce Evans [Thu, 12 Feb 2004 16:25:12 +0000 (16:25 +0000)]
Only indent once for continuation lines when not lining up with
parentheses if the continuation indent is exactly half of the main
indent.  Indenting one contination indent for every level of
parentheses gives bad results in most cases and is not what is done
in about 90% of properly hand-formatted KNF code (sys/kern/*.c,
nvi/common/*.c).  The main advantage of the non-default KNF options
-nlp -ci4 is that continuation lines don't accidentally line up with
the next main indentation level or march to the right, and increasing
their indentation defeats this.

This behaviour change is limited to when the continuation indent is
exactly half of the main indent to avoid adding yet another option.

20 years agoWork-in-progress for the 'Kauai' ATA device in Mac notebooks. The
Peter Grehan [Thu, 12 Feb 2004 09:17:16 +0000 (09:17 +0000)]
Work-in-progress for the 'Kauai' ATA device in Mac notebooks. The
device seems to be the macio ATA cell with a PCI front-end, and
has no relation to PIIX-style ATA/PCI devices.

20 years agoAdd sys file required for IEEE fp functions.
Peter Grehan [Thu, 12 Feb 2004 09:12:11 +0000 (09:12 +0000)]
Add sys file required for IEEE fp functions.

Submitted by:  Suleiman Souhlal <refugee@segfaulted.com>

20 years agoAdd forgotten IEEE functions. The Perl 5.8 port now compiles.
Peter Grehan [Thu, 12 Feb 2004 09:11:06 +0000 (09:11 +0000)]
Add forgotten IEEE functions. The Perl 5.8 port now compiles.

Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
Obtained from:  NetBSD

20 years agoReverse lock order by using local variable. This will shut up "acquiring
Jun Kuriyama [Thu, 12 Feb 2004 08:52:08 +0000 (08:52 +0000)]
Reverse lock order by using local variable.  This will shut up "acquiring
duplicate lock of same type" message.

Reviewed by: mckusick

20 years agoAdd %%sender%% to the recipient list.
Dag-Erling Smørgrav [Thu, 12 Feb 2004 08:19:13 +0000 (08:19 +0000)]
Add %%sender%% to the recipient list.

20 years agoSet the default sender address to <tinderbox@freebsd.org>, and the
Dag-Erling Smørgrav [Thu, 12 Feb 2004 08:18:48 +0000 (08:18 +0000)]
Set the default sender address to <tinderbox@freebsd.org>, and the
default recipient to %%sender%%.

20 years agoTidy up makefiles.
Ruslan Ermilov [Thu, 12 Feb 2004 08:10:34 +0000 (08:10 +0000)]
Tidy up makefiles.

Tested by: marcel

20 years agostyle(9): wrap at 80 columns.
Nate Lawson [Thu, 12 Feb 2004 05:05:56 +0000 (05:05 +0000)]
style(9): wrap at 80 columns.

20 years agoHandle proper formatting and a buffer overrun when running an old sh on
Nate Lawson [Thu, 12 Feb 2004 05:03:37 +0000 (05:03 +0000)]
Handle proper formatting and a buffer overrun when running an old sh on
a system that has sys_nsig > NSIG (i.e. when libc is upgraded.)

Submitted by: Matt Dillon
Reviewed by: bde

20 years agolibarchive itself is now completely clean at WARNS=10 on all architectures.
Tim Kientzle [Thu, 12 Feb 2004 04:11:40 +0000 (04:11 +0000)]
libarchive itself is now completely clean at WARNS=10 on all architectures.

Unfortunately, the stock zlib.h is not:
  line 885: 'err' parameter shadows global 'err' definition from <err.h>

Back the WARNS level down to 3 to accomodate borked zlib.h.

20 years agoRemove register keyword and constify tmp values. This fixes
Peter Grehan [Thu, 12 Feb 2004 03:23:13 +0000 (03:23 +0000)]
Remove register keyword and constify tmp values. This fixes
PPC compile warning - PPC is the only consumer of this code
path.

20 years agoAlways socantsendmore() before deallocating a socket. This, in turn,
Brian Feldman [Thu, 12 Feb 2004 01:48:40 +0000 (01:48 +0000)]
Always socantsendmore() before deallocating a socket.  This, in turn,
calls selwakeup() if necessary (which it is, if you don't want freed
memory hanging around on your td->td_selq).

Props to: alfred

20 years agoCorrect instance of *timeout that should have been timeout.
Bill Paul [Wed, 11 Feb 2004 23:11:12 +0000 (23:11 +0000)]
Correct instance of *timeout that should have been timeout.

Noticed by: mlaier

20 years agokzip(8) is long dead.
Ruslan Ermilov [Wed, 11 Feb 2004 22:25:25 +0000 (22:25 +0000)]
kzip(8) is long dead.

20 years agoWhen reparenting a process to init, make sure that p_sigparent is
Don Lewis [Wed, 11 Feb 2004 22:06:02 +0000 (22:06 +0000)]
When reparenting a process to init, make sure that p_sigparent is
set to SIGCHLD.  This avoids the creation of orphaned Linux-threaded
zombies that init is unable to reap.  This can occur when the parent
process sets its SIGCHLD to SIG_IGN.  Fix a similar situation in the
PT_DETACH code.

Tested by: "Steven Hartland" <killing AT multiplay.co.uk>

20 years agoOverhaul makefiles.
Ruslan Ermilov [Wed, 11 Feb 2004 22:01:17 +0000 (22:01 +0000)]
Overhaul makefiles.

20 years agoAdd yet more bulletproofing. This is to guard against the case that
Bill Paul [Wed, 11 Feb 2004 21:53:40 +0000 (21:53 +0000)]
Add yet more bulletproofing. This is to guard against the case that
ndis_init_nic() works one during attach, but fails later. Many things
will blow up if ndis_init_nic() fails and we aren't careful.

20 years ago_start.S -> _start.s as the latter is pure asm file.
Ruslan Ermilov [Wed, 11 Feb 2004 21:17:04 +0000 (21:17 +0000)]
_start.S -> _start.s as the latter is pure asm file.

Repocopied by: joe

20 years agoDo not cast dval.
Maksim Yevmenkin [Wed, 11 Feb 2004 21:09:13 +0000 (21:09 +0000)]
Do not cast dval.
Make global _usage_page unsigned.

Reviewed by: imp (mentor)

20 years agoCreate symbolic link for g_print_bio(9) manual page.
Pawel Jakub Dawidek [Wed, 11 Feb 2004 18:43:20 +0000 (18:43 +0000)]
Create symbolic link for g_print_bio(9) manual page.

Approved by: scottl (mentor)

20 years agoDocument g_print_bio() function.
Pawel Jakub Dawidek [Wed, 11 Feb 2004 18:36:31 +0000 (18:36 +0000)]
Document g_print_bio() function.

Approved by: scottl (mentor)

20 years agoAdded g_print_bio() function to print informations about given bio.
Pawel Jakub Dawidek [Wed, 11 Feb 2004 18:21:32 +0000 (18:21 +0000)]
Added g_print_bio() function to print informations about given bio.

Approved by: phk, scottl (mentor)

20 years agoArgh! Fix a bogon. lim_cur() was returning the hard (max) limit rather
John Baldwin [Wed, 11 Feb 2004 18:04:13 +0000 (18:04 +0000)]
Argh!  Fix a bogon.  lim_cur() was returning the hard (max) limit rather
than the soft (cur) limit.

Submitted by: bde

20 years agoRemoved more vestiges of vfs_ioopt:
Bruce Evans [Wed, 11 Feb 2004 15:27:26 +0000 (15:27 +0000)]
Removed more vestiges of vfs_ioopt:
- rev.1.42 of ffs_readwrite.c added a special case in ffs_read() for reads
  that are initially at EOF, and rev.1.62 of ufs_readwrite.c fixed
  timestamp bugs in it.  Removal of most of vfs_ioopt made it just and
  optimization, and removal of the vm object reference calls made it less
  than an optimization.  It was cloned in rev.1.94 of ufs_readwrite.c as
  part of cloning ffs_extwrite() although it was always less than an
  optimization in ffs_extwrite().
- some comments, compound statements and vertical whitespace were vestiges
  of dead code.

20 years agoUse automatic major number allocation for the nfs4 device instead of
Tim J. Robbins [Wed, 11 Feb 2004 13:31:30 +0000 (13:31 +0000)]
Use automatic major number allocation for the nfs4 device instead of
stealing #29, which is already reserved for mcd.

20 years agoInterrupt statistics, vmstat -i now works.
Peter Grehan [Wed, 11 Feb 2004 13:18:31 +0000 (13:18 +0000)]
Interrupt statistics, vmstat -i now works.

Submitted by:  Suleiman Souhlal <refugee@segfaulted.com>
Slightly modified by: grehan
Derived from:  i386

20 years agoUn-reserve major 144 (nsmb) now that we are using automatic allocation.
Tim J. Robbins [Wed, 11 Feb 2004 12:58:06 +0000 (12:58 +0000)]
Un-reserve major 144 (nsmb) now that we are using automatic allocation.

20 years agoUse automatic major number allocation for nsmb devices.
Tim J. Robbins [Wed, 11 Feb 2004 12:49:49 +0000 (12:49 +0000)]
Use automatic major number allocation for nsmb devices.

20 years agoClean up header files, which fixes compile warning.
Peter Grehan [Wed, 11 Feb 2004 10:49:30 +0000 (10:49 +0000)]
Clean up header files, which fixes compile warning.

20 years ago- constify devinfo strings to eliminate compile warning
Peter Grehan [Wed, 11 Feb 2004 10:15:15 +0000 (10:15 +0000)]
- constify devinfo strings to eliminate compile warning
- remove trailing whitespace

20 years ago(atapi_cb): Reenable automatic retrieve of sense data on error, making
Thomas Quinot [Wed, 11 Feb 2004 10:14:08 +0000 (10:14 +0000)]
(atapi_cb): Reenable automatic retrieve of sense data on error, making
 it asynchronous to avoid incorrect use of ata_atapicmd within an
 ATAPI callback.

Tested by: harti

20 years agoAdded GEOM kernel API manuals to the build.
Pawel Jakub Dawidek [Wed, 11 Feb 2004 10:09:17 +0000 (10:09 +0000)]
Added GEOM kernel API manuals to the build.

Reviewed by: scottl
Approved by: phk, scottl (mentor)

20 years agoAdded first part of GEOM kernel API manuals pages.
Pawel Jakub Dawidek [Wed, 11 Feb 2004 10:06:18 +0000 (10:06 +0000)]
Added first part of GEOM kernel API manuals pages.
Documented function and macros are:
- DECLARE_GEOM_CLASS(),
- g_attach(),
- g_detach(),
- g_new_bio(),
- g_clone_bio(),
- g_destroy_bio(),
- g_new_consumer(),
- g_destroy_consumer(),
- g_read_data(),
- g_write_data(),
- g_post_event(),
- g_waitfor_event(),
- g_cancel_event(),
- g_new_geomf(),
- g_destroy_geom(),
- g_new_providerf(),
- g_destroy_provider(),
- g_error_provider(),
- g_provider_by_name(),
- g_wither_geom().
and more to come.

I want to thanks following people for help with those documents:
Slawek Zak <zaks@prioris.mini.pw.edu.pl>
Simon L. Nielsen <simon@FreeBSD.org>
Pieter de Boer <g.p.de.boer@st.hanze.nl>
and of course
Poul-Henning Kamp <phk@FreeBSD.org>

Reviewed by: phk, scottl
Approved by: phk, scottl (mentor)

20 years agoFix a typo; left out preprocessor conditional for sigoff variable, which
Bruce M Simpson [Wed, 11 Feb 2004 09:46:54 +0000 (09:46 +0000)]
Fix a typo; left out preprocessor conditional for sigoff variable, which
is only used by TCP_SIGNATURE code.

Noticed by: Roop Nanuwa

20 years agoSlight tweak to previous commit: don't forget to call _http_seterr() if
Dag-Erling Smørgrav [Wed, 11 Feb 2004 09:35:27 +0000 (09:35 +0000)]
Slight tweak to previous commit: don't forget to call _http_seterr() if
we get a genuine 416 reply.

20 years agoWhen restarting a transfer that has already completed, the server will
Dag-Erling Smørgrav [Wed, 11 Feb 2004 09:31:39 +0000 (09:31 +0000)]
When restarting a transfer that has already completed, the server will
reply with a 416 error code (requested range not satisfiable) because
we ask it to start at the end of the file.  Handle this gracefully by
considering a 416 reply a success if the requested offset exactly
matches the length of the file and the requested length is zero.

20 years agoRe-wrap some comments.
Dag-Erling Smørgrav [Wed, 11 Feb 2004 09:23:35 +0000 (09:23 +0000)]
Re-wrap some comments.

20 years agoGet rid of unnecessary use of m4(1) by using cpp(1) instead.
Ruslan Ermilov [Wed, 11 Feb 2004 08:42:38 +0000 (08:42 +0000)]
Get rid of unnecessary use of m4(1) by using cpp(1) instead.
(John tells me there were problems when trying this before,
but it appears to be safe these day.)

OK'ed by: jhb
Repocopied by: joe

20 years ago- fix compile warnings
Peter Grehan [Wed, 11 Feb 2004 08:07:19 +0000 (08:07 +0000)]
- fix compile warnings
- removed obsolete NetBSD-derived ADB conditionals

20 years ago- fixed trailing whitespace and indentation
Peter Grehan [Wed, 11 Feb 2004 07:58:43 +0000 (07:58 +0000)]
- fixed trailing whitespace and indentation
- removed unused variable to fix compile warning

20 years agoFix compile warning
Peter Grehan [Wed, 11 Feb 2004 07:48:19 +0000 (07:48 +0000)]
Fix compile warning

20 years ago- remove trailing whitespace
Peter Grehan [Wed, 11 Feb 2004 07:44:56 +0000 (07:44 +0000)]
- remove trailing whitespace
- fix compile warnings. badaddr() will go to a header file soon.

20 years agoCleaned up param.h:
Peter Grehan [Wed, 11 Feb 2004 07:27:34 +0000 (07:27 +0000)]
Cleaned up param.h:

 - culled long-dead #define's
 - segment register defs moved to sr.h
 - NPMAPS moved to pmap.h
 - KERNBASE moved to vmparam.h
 - removed include of <machine/cpu.h> and fixed src files that
   relied on this.

Modifying segment register code no longer causes gcc rebuilds :-)

20 years agoInvalide pcb's fpu cpu # by setting it to INT_MAX, not NULL.
Peter Grehan [Wed, 11 Feb 2004 07:19:15 +0000 (07:19 +0000)]
Invalide pcb's fpu cpu # by setting it to INT_MAX, not NULL.

20 years agoGNU tar in the base system is now called "gtar"
Tim Kientzle [Wed, 11 Feb 2004 05:44:20 +0000 (05:44 +0000)]
GNU tar in the base system is now called "gtar"

"tar" is now just a link to "gtar".

This lays the groundwork for an orderly migration
from GNU tar to some other tar.  (First, we introduce
the new tar program, then we migrate the 'tar' name,
then we remove gtar, with intervals of months between
these steps.)

Approved by: gordon

20 years agoAdd sysctl hw.uma_mdpages to track how many pages have been allocated
Peter Grehan [Wed, 11 Feb 2004 04:42:48 +0000 (04:42 +0000)]
Add sysctl hw.uma_mdpages to track how many pages have been allocated
by UMA_MD_SMALL_ALLOC

20 years agoInitial import of RFC 2385 (TCP-MD5) digest support.
Bruce M Simpson [Wed, 11 Feb 2004 04:34:34 +0000 (04:34 +0000)]
Initial import of RFC 2385 (TCP-MD5) digest support.

This is the second of two commits; bring in the userland support to finish.

Teach libipsec and setkey about the tcp-md5 class of security associations,
thus allowing administrators to add per-host keys to the SADB for use by
the tcpsignature_compute() function.

Document that a single SPI must be used until such time as the code which
adds support to the SPD to specify flows for tcp-md5 treatment is suitable
for production.

Sponsored by: sentex.net

20 years agoInitial import of RFC 2385 (TCP-MD5) digest support.
Bruce M Simpson [Wed, 11 Feb 2004 04:26:04 +0000 (04:26 +0000)]
Initial import of RFC 2385 (TCP-MD5) digest support.

This is the first of two commits; bringing in the kernel support first.
This can be enabled by compiling a kernel with options TCP_SIGNATURE
and FAST_IPSEC.

For the uninitiated, this is a TCP option which provides for a means of
authenticating TCP sessions which came into being before IPSEC. It is
still relevant today, however, as it is used by many commercial router
vendors, particularly with BGP, and as such has become a requirement for
interconnect at many major Internet points of presence.

Several parts of the TCP and IP headers, including the segment payload,
are digested with MD5, including a shared secret. The PF_KEY interface
is used to manage the secrets using security associations in the SADB.

There is a limitation here in that as there is no way to map a TCP flow
per-port back to an SPI without polluting tcpcb or using the SPD; the
code to do the latter is unstable at this time. Therefore this code only
supports per-host keying granularity.

Whilst FAST_IPSEC is mutually exclusive with KAME IPSEC (and thus IPv6),
TCP_SIGNATURE applies only to IPv4. For the vast majority of prospective
users of this feature, this will not pose any problem.

This implementation is output-only; that is, the option is honoured when
responding to a host initiating a TCP session, but no effort is made
[yet] to authenticate inbound traffic. This is, however, sufficient to
interwork with Cisco equipment.

Tested with a Cisco 2501 running IOS 12.0(27), and Quagga 0.96.4 with
local patches. Patches for tcpdump to validate TCP-MD5 sessions are also
available from me upon request.

Sponsored by: sentex.net

20 years agoPrefer buttons defined in the AML over the ones in the FADT. Some
Nate Lawson [Wed, 11 Feb 2004 02:57:33 +0000 (02:57 +0000)]
Prefer buttons defined in the AML over the ones in the FADT.  Some
systems define power/sleep buttons in both places but only deliver
notifies to the ones defined in the AML.

Also, reduce length of various function handler names.

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:

20 years agoDocument the functions m_apply() and m_getptr().
Bruce M Simpson [Wed, 11 Feb 2004 02:39:24 +0000 (02:39 +0000)]
Document the functions m_apply() and m_getptr().

Requested by: Maxim Konovalov

20 years agoCorrectly create interrupt key for PCI, which is the OpenFirmware
Peter Grehan [Tue, 10 Feb 2004 23:57:35 +0000 (23:57 +0000)]
Correctly create interrupt key for PCI, which is the OpenFirmware
pci-hi/med/lo + node 'interrupts' property. This worked by
accident until recent notebooks required correct operation.

Tested by:  Suleiman Souhlal <refugee@segfaulted.com>

20 years agoAdd some bulletproofing: don't allow the ndis_get_info() or ndis_set_info()
Bill Paul [Tue, 10 Feb 2004 23:01:53 +0000 (23:01 +0000)]
Add some bulletproofing: don't allow the ndis_get_info() or ndis_set_info()
routines to do anything except return error if the miniport adapter context
is not set (meaning we either having init'ed the driver yet, or the
initialization failed).

Also, be sure to NULL out the adapter context along with the
miniport characteristics pointers if calling the MiniportInitialize()
method fails.

20 years agoFlush stdout when -A option is used.
Munechika SUMIKAWA [Tue, 10 Feb 2004 22:50:57 +0000 (22:50 +0000)]
Flush stdout when -A option is used.

Obtained from: KAME
MFC after: 1 week

20 years agoSince loader(8) on SPARC64 is a pure ELF executable (as opposed
Ruslan Ermilov [Tue, 10 Feb 2004 22:11:36 +0000 (22:11 +0000)]
Since loader(8) on SPARC64 is a pure ELF executable (as opposed
to other architectures), there is no reason not to strip(1) it.

Tested by: kensmith

20 years agoOnly reset the phy when it is absolutely required.
Prafulla Deuskar [Tue, 10 Feb 2004 21:31:09 +0000 (21:31 +0000)]
Only reset the phy when it is absolutely required.
This should fix the issues with long *init* times when
you do ifconfig em0 alias.

MFC after: 3 days

20 years agoFix a panic in pseudofs(9) that could occur when doing an I/O
Jacques Vidrine [Tue, 10 Feb 2004 21:06:47 +0000 (21:06 +0000)]
Fix a panic in pseudofs(9) that could occur when doing an I/O
operation with a large request or large offset.

Reported by: Joel Ray Holveck <joelh@piquan.org>
Submitted by: des

20 years agostyle cleanup: Remove duplicate $FreeBSD$ tags.
Colin Percival [Tue, 10 Feb 2004 20:48:08 +0000 (20:48 +0000)]
style cleanup: Remove duplicate $FreeBSD$ tags.

These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).

Approved by: rwatson (mentor)

20 years agostyle cleanup: Remove duplicate $FreeBSD$ tags.
Colin Percival [Tue, 10 Feb 2004 20:45:28 +0000 (20:45 +0000)]
style cleanup: Remove duplicate $FreeBSD$ tags.

These files had tags after teh copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).

Approved by: rwatson (mentor)

20 years agostyle cleanup: Remove duplicate $FreeBSD$ tags.
Colin Percival [Tue, 10 Feb 2004 20:42:33 +0000 (20:42 +0000)]
style cleanup: Remove duplicate $FreeBSD$ tags.

These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).

Approved by: rwatson (mentor)

20 years agostyle cleanup: Remove duplicate $FreeBSD$ tags.
Colin Percival [Tue, 10 Feb 2004 20:40:17 +0000 (20:40 +0000)]
style cleanup: Remove duplicate $FreeBSD$ tags.

These files had tags at the start of the file
(incorrect, removed), and after the copyright
notices (correct).

Approved by: rwatson (mentor)

20 years agoadd verbage about how once BUS_TEARDOWN_INTR returns, the interrupt will
John-Mark Gurney [Tue, 10 Feb 2004 20:34:44 +0000 (20:34 +0000)]
add verbage about how once BUS_TEARDOWN_INTR returns, the interrupt will
no longer be active or called..

Also document requirement that no mutexes be held across calls to these
functions..

Reviewed by: jhb, rwatson

20 years agoOfficial patches 001-005
Andrey A. Chernov [Tue, 10 Feb 2004 20:17:58 +0000 (20:17 +0000)]
Official patches 001-005

PR:             62555

20 years agoRun /etc/rc.d/routing at the appropriate time.
Dag-Erling Smørgrav [Tue, 10 Feb 2004 19:10:34 +0000 (19:10 +0000)]
Run /etc/rc.d/routing at the appropriate time.

Spotted by: mat

20 years agoAdd some presidential birthdays.
Wes Peters [Tue, 10 Feb 2004 18:41:52 +0000 (18:41 +0000)]
Add some presidential birthdays.

20 years agoCorrect a long-standing race condition in the inactive queue scan. (See
Alan Cox [Tue, 10 Feb 2004 18:34:27 +0000 (18:34 +0000)]
Correct a long-standing race condition in the inactive queue scan.  (See
the added comment for low-level details.)  The effect of this race
condition is a panic "vm_page_cache: caching a dirty page, ..."

Reviewed by: tegge
MFC after: 7 days

20 years agoAdd my birthday (for those interested)
Max Laier [Tue, 10 Feb 2004 16:23:17 +0000 (16:23 +0000)]
Add my birthday (for those interested)

Approved by: bms (mentor)

20 years agoSpelling.
Bruce M Simpson [Tue, 10 Feb 2004 16:11:08 +0000 (16:11 +0000)]
Spelling.

20 years agoNow we have g_topology_assert_not(), so use it to detect deadlocks.
Pawel Jakub Dawidek [Tue, 10 Feb 2004 15:55:17 +0000 (15:55 +0000)]
Now we have g_topology_assert_not(), so use it to detect deadlocks.

Approved by: phk, scottl (mentor)

20 years agoAdded macro which will be used to assert, that the topology lock is not held.
Pawel Jakub Dawidek [Tue, 10 Feb 2004 15:53:28 +0000 (15:53 +0000)]
Added macro which will be used to assert, that the topology lock is not held.

Approved by: phk, scottl (mentor)

20 years agoChange the kernels definition of NODEV from ((dev_t)-1) to NULL.
Poul-Henning Kamp [Tue, 10 Feb 2004 15:23:47 +0000 (15:23 +0000)]
Change the kernels definition of NODEV from ((dev_t)-1) to NULL.

20 years agoDocument the '-h hostname' option, which seems to have been present
Peter Pentchev [Tue, 10 Feb 2004 15:12:01 +0000 (15:12 +0000)]
Document the '-h hostname' option, which seems to have been present
ever since rev. 1.1 of bootpd.c.
While I'm here, rearrange the synopsis a bit: sort the options and
clarify that -i and -s are mutually exclusive.

Reported by: Atanas Buchvarov <nasko@nove.bg>
MFC after: 3 days

20 years agodon't call sbuf_clear() right after sbuf_new(), it is not necessary.
Poul-Henning Kamp [Tue, 10 Feb 2004 10:54:19 +0000 (10:54 +0000)]
don't call sbuf_clear() right after sbuf_new(), it is not necessary.

20 years agoFix numerous constness and aliasing issues.
Dag-Erling Smørgrav [Tue, 10 Feb 2004 10:13:21 +0000 (10:13 +0000)]
Fix numerous constness and aliasing issues.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r125647,
Dag-Erling Smørgrav [Tue, 10 Feb 2004 10:11:23 +0000 (10:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r125647,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor import of OpenPAM Eelgrass.
Dag-Erling Smørgrav [Tue, 10 Feb 2004 10:11:23 +0000 (10:11 +0000)]
Vendor import of OpenPAM Eelgrass.

20 years agoRemove a redundant command. No MFC, this was removed in STABLE.
Tom Rhodes [Tue, 10 Feb 2004 07:29:04 +0000 (07:29 +0000)]
Remove a redundant command.  No MFC, this was removed in STABLE.
Update the date.

20 years agoRemove 'broken in some cases' Xref to Kerberos.
Tom Rhodes [Tue, 10 Feb 2004 07:08:54 +0000 (07:08 +0000)]
Remove 'broken in some cases' Xref to Kerberos.

PR: 30443
Cool with: markm (who approved this ages ago)