svn commit: r308728 - head/share/man/man4

2016-11-16 Thread Christian Brueffer
Author: brueffer
Date: Wed Nov 16 13:22:57 2016
New Revision: 308728
URL: https://svnweb.freebsd.org/changeset/base/308728

Log:
  Various minor cleanups.

Modified:
  head/share/man/man4/bnxt.4

Modified: head/share/man/man4/bnxt.4
==
--- head/share/man/man4/bnxt.4  Wed Nov 16 11:37:43 2016(r308727)
+++ head/share/man/man4/bnxt.4  Wed Nov 16 13:22:57 2016(r308728)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 12, 2016
+.Dd November 16, 2016
 .Dt BNXT 4
 .Os
 .Sh NAME
@@ -89,7 +89,7 @@ Broadcom BCM57304 NetXtreme-C Virtual Fu
 Broadcom BCM57404 NetXtreme-E Virtual Function
 .El
 .Sh SYSCTL VARIABLES
-These variables must be set before loading the driver, either via 
+These variables must be set before loading the driver, either via
 .Xr loader.conf 5
 or through the use of
 .Xr kenv 1 .
@@ -165,11 +165,12 @@ variables are read-only:
 .Bl -tag -width indent
 .It Va dev.bnxt.X.if_name
 Current interface name of the device.
-This will normally be 
+This will normally be
 .Va bnxtX ,
 but this can be changed using
 .Cm ifconfig name .
-This sysctl allows correlating an interface with a child of dev.bnxt.
+This sysctl allows correlating an interface with a child of
+.Va dev.bnxt .
 .It Va dev.bnxt.X.nvram.*
 Information about the NVRAM device which contains the device firmware.
 .It Va dev.bnxt.X.ver.*
@@ -191,10 +192,10 @@ reasons to ignore Ethernet frames.
 .It "bnxt%d: %s command returned %s error."
 Device firmware rejected a command from the driver.
 There might be a driver/firmware HWRM API mismatch.
-.It "bnxt%d: Timeout sending %s (timeout: %d) seq %d\n"
+.It "bnxt%d: Timeout sending %s (timeout: %d) seq %d"
 Device firmware unresponsive.
 A PCI device reset is likely needed.
-.It "bnxt%d: Timeout sending %s (timeout: %d) msg {0x%x 0x%x} len:%d v: %d\n"
+.It "bnxt%d: Timeout sending %s (timeout: %d) msg {0x%x 0x%x} len:%d v: %d"
 Partial firmware response.
 A PCI device reset is likely needed.
 .Pp
@@ -203,20 +204,21 @@ As of this writing, the system must be r
 .Sh SEE ALSO
 .Xr altq 4 ,
 .Xr arp 4 ,
+.Xr iflib 4 ,
 .Xr netintro 4 ,
 .Xr ng_ether 4 ,
 .Xr vlan 4 ,
-.Xr ifconfig 8 ,
-.Xr iflib 4
+.Xr ifconfig 8
 .Sh HISTORY
 The
 .Nm
 device driver first appeared in
 .Fx 12.0 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 driver was written by
-.An Jack Vogel Aq Mt jfvo...@gmail.com .
+.An Jack Vogel Aq Mt jfvo...@gmail.com ,
 and is currently maintained by
 .An Stephen Hurd Aq Mt stephen.h...@broadcom.com .
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r308729 - head/release/doc/en_US.ISO8859-1/hardware

2016-11-16 Thread Christian Brueffer
Author: brueffer
Date: Wed Nov 16 13:27:39 2016
New Revision: 308729
URL: https://svnweb.freebsd.org/changeset/base/308729

Log:
  Add bnxt(4) to the hardware notes.

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.xml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.xml   Wed Nov 16 
13:22:57 2016(r308728)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.xml   Wed Nov 16 
13:27:39 2016(r308729)
@@ -800,6 +800,8 @@
 
   &hwlist.bge;
 
+  &hwlist.bnxt;
+
   &hwlist.bxe;
 
   &hwlist.cas;
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r309060 - head/tools/tools/nanobsd/Files/root

2016-11-23 Thread Christian Brueffer
Author: brueffer
Date: Wed Nov 23 16:54:27 2016
New Revision: 309060
URL: https://svnweb.freebsd.org/changeset/base/309060

Log:
  Fix comment typo.
  
  PR:   208484
  Submitted by: madpilot
  MFC after:1 week

Modified:
  head/tools/tools/nanobsd/Files/root/save_cfg

Modified: head/tools/tools/nanobsd/Files/root/save_cfg
==
--- head/tools/tools/nanobsd/Files/root/save_cfgWed Nov 23 14:15:51 
2016(r309059)
+++ head/tools/tools/nanobsd/Files/root/save_cfgWed Nov 23 16:54:27 
2016(r309060)
@@ -66,7 +66,7 @@ do
#   i) -> add file to ignore list (/cfg/.ignore 
hiereachy) and never save
# try to add this file to /cfg.
#
-   # touch is ised to add files to /cfg to keep the script 
flow straight and easy
+   # touch is used to add files to /cfg to keep the script 
flow straight and easy
#
read -p "New file /etc/$filename found. Add to /cfg 
(y/n/i)? " key
case "$key" in
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r309065 - head/share/man/man4

2016-11-23 Thread Christian Brueffer
Author: brueffer
Date: Wed Nov 23 18:45:15 2016
New Revision: 309065
URL: https://svnweb.freebsd.org/changeset/base/309065

Log:
  Fix various mdoc issues reported by mandoc -Tlint.

Modified:
  head/share/man/man4/armv8crypto.4
  head/share/man/man4/bhnd.4
  head/share/man/man4/bhndb.4
  head/share/man/man4/chromebook_platform.4
  head/share/man/man4/hv_vss.4
  head/share/man/man4/mpr.4
  head/share/man/man4/mps.4
  head/share/man/man4/ng_checksum.4
  head/share/man/man4/ng_mppc.4
  head/share/man/man4/ntb_hw.4
  head/share/man/man4/rtwn.4
  head/share/man/man4/rtwn_pci.4
  head/share/man/man4/rtwn_usb.4

Modified: head/share/man/man4/armv8crypto.4
==
--- head/share/man/man4/armv8crypto.4   Wed Nov 23 18:31:34 2016
(r309064)
+++ head/share/man/man4/armv8crypto.4   Wed Nov 23 18:45:15 2016
(r309065)
@@ -50,7 +50,7 @@ armv8crypto_load="YES"
 .Ed
 .Sh DESCRIPTION
 Starting with the ARMv8 architecture ARM Limited has added optional
-cryptography instructions to accelerate AES, SHA-1, SHA-2, and 
+cryptography instructions to accelerate AES, SHA-1, SHA-2, and
 finite field arithmetic.
 .Pp
 The processor capability is reported as AES in the Instruction Set

Modified: head/share/man/man4/bhnd.4
==
--- head/share/man/man4/bhnd.4  Wed Nov 23 18:31:34 2016(r309064)
+++ head/share/man/man4/bhnd.4  Wed Nov 23 18:45:15 2016(r309065)
@@ -67,8 +67,8 @@ the
 .Xr bcma 4
 BHND driver.
 .Sh SEE ALSO
-.Xr bhndb 4 ,
 .Xr bcma 4 ,
+.Xr bhndb 4 ,
 .Xr siba 4
 .Sh HISTORY
 The

Modified: head/share/man/man4/bhndb.4
==
--- head/share/man/man4/bhndb.4 Wed Nov 23 18:31:34 2016(r309064)
+++ head/share/man/man4/bhndb.4 Wed Nov 23 18:45:15 2016(r309065)
@@ -53,7 +53,7 @@ driver supports
 host bridge cores such as those used by Broadcom HND PCI,
 PCMCIA, and SDIO network adapters.
 .Sh SEE ALSO
-.Xr bhnd 4
+.Xr bhnd 4 ,
 .Xr bwn 4
 .Sh HISTORY
 The

Modified: head/share/man/man4/chromebook_platform.4
==
--- head/share/man/man4/chromebook_platform.4   Wed Nov 23 18:31:34 2016
(r309064)
+++ head/share/man/man4/chromebook_platform.4   Wed Nov 23 18:45:15 2016
(r309065)
@@ -59,7 +59,7 @@ Those have to be compiled into the kerne
 .Sh SEE ALSO
 .Xr cyapa 4 ,
 .Xr iicbus 4 ,
-.Xr isl 4 ,
+.Xr isl 4
 .Sh AUTHORS
 .An -nosplit
 The

Modified: head/share/man/man4/hv_vss.4
==
--- head/share/man/man4/hv_vss.4Wed Nov 23 18:31:34 2016
(r309064)
+++ head/share/man/man4/hv_vss.4Wed Nov 23 18:45:15 2016
(r309065)
@@ -352,9 +352,10 @@ main(int argc, char* argv[]) {
}
return 0;
 }
+.Ed
 .Sh SEE ALSO
-.Xr hv_vss_daemon 8 ,
-.Xr hv_utils 4
+.Xr hv_utils 4 ,
+.Xr hv_vss_daemon 8
 .Sh HISTORY
 The daemon was introduced in October 2016 and developed by Microsoft Corp.
 .Sh AUTHORS

Modified: head/share/man/man4/mpr.4
==
--- head/share/man/man4/mpr.4   Wed Nov 23 18:31:34 2016(r309064)
+++ head/share/man/man4/mpr.4   Wed Nov 23 18:45:15 2016(r309065)
@@ -83,7 +83,6 @@ Broadcom Ltd./Avago Tech (LSI) SAS 3216 
 Broadcom Ltd./Avago Tech (LSI) SAS 3224 (24 Port SAS)
 .El
 .Sh CONFIGURATION
-.Pp
 In all tunable descriptions below, X represents the adapter number.
 .Pp
 To disable MSI interrupts for all
@@ -156,7 +155,6 @@ The current number of active I/O command
 dev.mpr.X.io_cmds_active
 .Xr sysctl 8
 variable.
-.Ed
 .Pp
 To set the maximum number of pages that will be used per I/O for all adapters,
 set this tunable in

Modified: head/share/man/man4/mps.4
==
--- head/share/man/man4/mps.4   Wed Nov 23 18:31:34 2016(r309064)
+++ head/share/man/man4/mps.4   Wed Nov 23 18:45:15 2016(r309065)
@@ -95,7 +95,6 @@ Intel Integrated RAID Module RMS25KB040
 Intel Integrated RAID Module RMS25KB080
 .El
 .Sh CONFIGURATION
-.Pp
 In all tunable descriptions below, X represents the adapter number.
 .Pp
 To disable MSI interrupts for all
@@ -168,7 +167,6 @@ The current number of active I/O command
 dev.mps.X.io_cmds_active
 .Xr sysctl 8
 variable.
-.Ed
 .Pp
 To set the maximum number of pages that will be used per I/O for all adapters,
 set this tunable in

Modified: head/share/man/man4/ng_checksum.4
==
--- head/share/man/man4/ng_checksum.4   Wed Nov 23 18:31:34 2016
(r309064)
+++ head/share/man/man4/ng_checksum.4   Wed Nov 23 18:45:15 2016
(r309065)
@@ -134,8 +134,8 @@ can calculate CSUM_IP_UDP|CSUM_IP_TCP.
 The
 .Nm
 node ty

svn commit: r309066 - head/share/man/man9

2016-11-23 Thread Christian Brueffer
Author: brueffer
Date: Wed Nov 23 19:19:11 2016
New Revision: 309066
URL: https://svnweb.freebsd.org/changeset/base/309066

Log:
  Fix various mdoc issues reported by mandoc -Tlint.

Modified:
  head/share/man/man9/bus_map_resource.9
  head/share/man/man9/cnv.9
  head/share/man/man9/counter.9
  head/share/man/man9/osd.9
  head/share/man/man9/pmap_zero_page.9
  head/share/man/man9/rman.9
  head/share/man/man9/tcp_functions.9

Modified: head/share/man/man9/bus_map_resource.9
==
--- head/share/man/man9/bus_map_resource.9  Wed Nov 23 18:45:15 2016
(r309065)
+++ head/share/man/man9/bus_map_resource.9  Wed Nov 23 19:19:11 2016
(r309066)
@@ -135,6 +135,8 @@ By default memory mappings use the
 .Dv VM_MEMATTR_UNCACHEABLE
 attribute.
 .El
+.Sh RETURN VALUES
+Zero is returned on success, otherwise an error is returned.
 .Sh EXAMPLES
 This maps a PCI memory BAR with the write-combining memory attribute and
 reads the first 32-bit word:
@@ -153,9 +155,6 @@ reads the first 32-bit word:
bus_map_resource(dev, SYS_RES_MEMORY, r, &args, &map);
val = bus_read_4(&map, 0);
 .Ed
-.Pp
-.Sh RETURN VALUES
-Zero is returned on success, otherwise an error is returned.
 .Sh SEE ALSO
 .Xr bus_activate_resource 9 ,
 .Xr bus_alloc_resource 9 ,

Modified: head/share/man/man9/cnv.9
==
--- head/share/man/man9/cnv.9   Wed Nov 23 18:45:15 2016(r309065)
+++ head/share/man/man9/cnv.9   Wed Nov 23 19:19:11 2016(r309066)
@@ -80,7 +80,7 @@
 .Fn cnvlist_take_nvlist_array "void *cookiep" "size_t *nitemsp"
 .Ft int
 .Fn cnvlist_take_descriptor "void *cookiep"
-.Ft "const int *'
+.Ft "const int *"
 .Fn cnvlist_take_descriptor_array "void *cookiep" "size_t *nitemsp"
 .\"
 .Ft void
@@ -189,11 +189,11 @@ nvlist_destroy(nvl);
 return (0);
 .Ed
 .Sh SEE ALSO
-.Xr nv 9 ,
 .Xr close 2 ,
-.Xr free 3
+.Xr free 3 ,
+.Xr nv 9
 .Sh AUTHORS
-.An -nosplit
 The
 .Nm cnv
 API was created during the Google Summer Of Code 2016 by
+.An Adam Starak .

Modified: head/share/man/man9/counter.9
==
--- head/share/man/man9/counter.9   Wed Nov 23 18:45:15 2016
(r309065)
+++ head/share/man/man9/counter.9   Wed Nov 23 19:19:11 2016
(r309066)
@@ -224,7 +224,6 @@ static counter_u64_t array[MY_SIZE];
 SYSCTL_COUNTER_U64_ARRAY(_debug, OID_AUTO, counter_array, CTLFLAG_RW,
 &array[0], MY_SIZE, "Test counter array");
 .Ed
-.Pp
 .Sh SEE ALSO
 .Xr atomic 9 ,
 .Xr critical 9 ,

Modified: head/share/man/man9/osd.9
==
--- head/share/man/man9/osd.9   Wed Nov 23 18:45:15 2016(r309065)
+++ head/share/man/man9/osd.9   Wed Nov 23 19:19:11 2016(r309066)
@@ -412,7 +412,8 @@ return zero on success or ENOMEM if the 
 triggered an internal
 .Xr realloc 9
 which failed
-.Fn ( osd_set_reserved
+.Ns (
+.Fn osd_set_reserved
 will always succeed when
 .Fa rsv
 is non-NULL).

Modified: head/share/man/man9/pmap_zero_page.9
==
--- head/share/man/man9/pmap_zero_page.9Wed Nov 23 18:45:15 2016
(r309065)
+++ head/share/man/man9/pmap_zero_page.9Wed Nov 23 19:19:11 2016
(r309066)
@@ -49,7 +49,6 @@ The
 function is used to zero-fill an area of a page.
 The range specified must not cross a page boundary; it must be contained
 entirely within a single page.
-.Pp
 .Sh IMPLEMENTATION NOTES
 This function is required to be implemented for each architecture supported by
 .Fx .

Modified: head/share/man/man9/rman.9
==
--- head/share/man/man9/rman.9  Wed Nov 23 18:45:15 2016(r309065)
+++ head/share/man/man9/rman.9  Wed Nov 23 19:19:11 2016(r309066)
@@ -468,8 +468,8 @@ function returns a pointer to the device
 .Xr bus_alloc_resource 9 ,
 .Xr bus_map_resource 9 ,
 .Xr bus_release_resource 9 ,
-.Xr bus_space 9 ,
 .Xr bus_set_resource 9 ,
+.Xr bus_space 9 ,
 .Xr mutex 9
 .Sh AUTHORS
 This manual page was written by

Modified: head/share/man/man9/tcp_functions.9
==
--- head/share/man/man9/tcp_functions.9 Wed Nov 23 18:45:15 2016
(r309065)
+++ head/share/man/man9/tcp_functions.9 Wed Nov 23 19:19:11 2016
(r309066)
@@ -312,6 +312,7 @@ the current default function block.
 The
 .Fa blk
 argument references a function block that is not currently registered.
+.El
 .Sh SEE ALSO
 .Xr connect 2 ,
 .Xr listen 2 ,
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r309100 - head/release/doc/en_US.ISO8859-1/hardware

2016-11-24 Thread Christian Brueffer
Author: brueffer
Date: Thu Nov 24 10:35:49 2016
New Revision: 309100
URL: https://svnweb.freebsd.org/changeset/base/309100

Log:
  Sync the rtwn(4) entry with the manpage.

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.xml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.xml   Thu Nov 24 
10:34:42 2016(r309099)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.xml   Thu Nov 24 
10:35:49 2016(r309100)
@@ -1000,8 +1000,9 @@
 
   &hwlist.rsu;
 
-  Realtek RTL8188CE based PCIe IEEE 802.11b/g/n wireless network
-   adapters (&man.rtwn.4; driver)
+  Realtek RTL8192C, RTL8188E, RTL8812A and RTL8821A based
+   PCIe IEEE 802.11b/g/n wireless network adapters (&man.rtwn.4;
+   driver)
 
   &hwlist.rum;
 
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r310026 - head/sbin/decryptcore

2016-12-13 Thread Christian Brueffer
Author: brueffer
Date: Tue Dec 13 18:15:11 2016
New Revision: 310026
URL: https://svnweb.freebsd.org/changeset/base/310026

Log:
  Language and mdoc cleanup.

Modified:
  head/sbin/decryptcore/decryptcore.8

Modified: head/sbin/decryptcore/decryptcore.8
==
--- head/sbin/decryptcore/decryptcore.8 Tue Dec 13 18:05:14 2016
(r310025)
+++ head/sbin/decryptcore/decryptcore.8 Tue Dec 13 18:15:11 2016
(r310026)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 10, 2016
+.Dd December 13, 2016
 .Dt DECRYPTCORE 8
 .Os
 .Sh NAME
@@ -45,7 +45,7 @@
 .Sh DESCRIPTION
 The
 .Nm
-first decrypts
+utility first decrypts
 .Ar keyfile
 using
 .Ar privatekeyfile
@@ -53,7 +53,7 @@ and then uses the resulting key to decry
 .Ar encryptedcore
 saved by
 .Xr savecore 8 .
-Result is saved in
+The result is saved in
 .Ar core .
 .Pp
 Alternatively a user can decrypt a core dump numbered
@@ -91,24 +91,22 @@ Specify location of an encrypted core.
 .It Fl c Ar core
 Specify location of a resulting decrypted core dump.
 .It Fl d Ar crashdir
-Specify an alternative crash dump directory. The default crash dump directory 
is
+Specify an alternative crash dump directory.
+The default crash dump directory is
 .Pa /var/crash .
 .It Fl n Ar dumpnr
 Specify a number of a crash dump to be decrypted.
 .El
 .Sh EXIT STATUS
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Ex -std
 .Sh SEE ALSO
+.Xr kgdb 1 ,
 .Xr capsicum 4 ,
 .Xr dumpon 8 ,
-.Xr kgdb 1 ,
 .Xr savecore 8 ,
 .Xr syslogd 8
 .Sh AUTHORS
 The
 .Nm
-was implemented by
-.An -nosplit
+utility was implemented by
 .An Konrad Witaszczyk Aq Mt d...@freebsd.org .
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r353780 - head/share/man/man4

2019-10-20 Thread Christian Brueffer
Author: brueffer
Date: Sun Oct 20 20:57:57 2019
New Revision: 353780
URL: https://svnweb.freebsd.org/changeset/base/353780

Log:
  Add a manpage for ng_pipe(4).
  
  Submitted by: Lutz Donnerhacke 
  Reviewed by:  bcr (previous version)
  MFC after:1 week
  Differential Revision:https://reviews.freebsd.org/D22067

Added:
  head/share/man/man4/ng_pipe.4   (contents, props changed)
Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileSun Oct 20 20:29:17 2019
(r353779)
+++ head/share/man/man4/MakefileSun Oct 20 20:57:57 2019
(r353780)
@@ -351,6 +351,7 @@ MAN=aac.4 \
ng_netflow.4 \
ng_one2many.4 \
ng_patch.4 \
+   ng_pipe.4 \
ng_ppp.4 \
ng_pppoe.4 \
ng_pptpgre.4 \

Added: head/share/man/man4/ng_pipe.4
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man4/ng_pipe.4   Sun Oct 20 20:57:57 2019
(r353780)
@@ -0,0 +1,215 @@
+.\" Copyright (c) 2019 Lutz Donnerhacke
+.\" Copyright (c) 2004-2008 University of Zagreb
+.\" Copyright (c) 2007-2008 FreeBSD Foundation
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd October 17, 2019
+.Dt NG_PIPE 4
+.Os
+.Sh NAME
+.Nm ng_pipe
+.Nd Traffic manipulating netgraph node type
+.Sh SYNOPSIS
+.In netgraph/ng_pipe.h
+.Sh DESCRIPTION
+The
+.Nm pipe
+node type manipulates traffic by emulating bandwidth and delay, as well as
+random packet losses.
+.Sh HOOKS
+This node type supports the following hooks:
+.Bl -tag -width ".Va upper"
+.It Va upper
+Hook leading to upper layer protocols.
+.It Va lower
+Hook leading to lower layer protocols.
+.El
+.Pp
+Traffic flowing from
+.Va upper
+to
+.Va lower
+is considered
+.Sy downstream
+traffic.
+Traffic flowing from
+.Va lower
+to
+.Va upper
+is considered
+.Sy upstream
+traffic.
+.Sh MODE OF OPERATION
+Data received on a hook - both in upstream and downstream direction -
+is put into an inbound queue.
+If inbound queue is full, discard one frame
+depending on dropping policy (from the head or from the tail of the
+queue).
+.Pp
+There are three mutually exclusive modes for the input queue:
+.Bl -tag -width foo
+.It Dv "First In First Out (FIFO)"
+A single queue holds packets in chronological order.
+.It Dv Weighted fair queuing (WFQ)
+There are multiple queues for different traffic flows (based on IPv4
+IPs).
+The longest queue is truncated if necessary.
+This approach
+assumes that the stalling flow is the flow with the most packets currently
+on hold.
+.It Dv Deficit Round Robin (DRR)
+This mode is similar to WFQ, but packets are not taken out in
+strict chronological order.
+In principle oldest packets come first,
+but not too many packets from the same flow.
+.El
+.Pp
+It is possible to configure a duplication probability.
+As the dice
+decides, the currently active packet stays in the queue while a copy
+of the packet is sent out.
+Nothing prevents a packet from being
+duplicated multiple times.
+.Pp
+Packets are dropped with an increasing probability depending on the
+size of the packet, if a
+.Va ber
+(bit error rate) is configured.
+.Pp
+Surviving packets are delayed by the time the packet would need to
+travel through a link of the configured bandwidth.
+If this outbound
+queue is full, the packet is dropped.
+.Sh CONTROL MESSAGES
+This node type supports the generic control messages and the following
+specific messages.
+.Bl -tag -width foo
+.It Dv NGM_PIPE_SET

svn commit: r360190 - head/share/man/man4

2020-04-22 Thread Christian Brueffer
Author: brueffer
Date: Wed Apr 22 07:47:04 2020
New Revision: 360190
URL: https://svnweb.freebsd.org/changeset/base/360190

Log:
  Correct efi(8) reference.
  
  Submitted by: Gordon Bergling
  Differential Revision:https://reviews.freebsd.org/D24441

Modified:
  head/share/man/man4/smbios.4

Modified: head/share/man/man4/smbios.4
==
--- head/share/man/man4/smbios.4Wed Apr 22 07:24:30 2020
(r360189)
+++ head/share/man/man4/smbios.4Wed Apr 22 07:47:04 2020
(r360190)
@@ -23,7 +23,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 6, 2020
+.Dd April 22, 2020
 .Dt SMBIOS 4
 .Os
 .Sh NAME
@@ -46,7 +46,7 @@ smbios_load="YES"
 .Sh DESCRIPTION
 The System Management BIOS (SMBIOS) describes hardware components.
 .Sh SEE ALSO
-.Xr efi 4
+.Xr efi 8
 .Rs
 .%T System Management BIOS (SMBIOS) Reference Specification
 .%N DMTF DSP0134
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359633 - head/share/man/man4

2020-04-04 Thread Christian Brueffer
Author: brueffer
Date: Sat Apr  4 21:38:00 2020
New Revision: 359633
URL: https://svnweb.freebsd.org/changeset/base/359633

Log:
  Add a manpage for smbios(4).
  
  Submitted by: Gordon Bergling
  MFC after:1 week
  Differential Revision:https://reviews.freebsd.org/D23714

Added:
  head/share/man/man4/smbios.4   (contents, props changed)
Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileSat Apr  4 17:08:58 2020
(r359632)
+++ head/share/man/man4/MakefileSat Apr  4 21:38:00 2020
(r359633)
@@ -471,6 +471,7 @@ MAN=aac.4 \
sk.4 \
${_smartpqi.4} \
smb.4 \
+   smbios.4 \
smbus.4 \
smp.4 \
smsc.4 \

Added: head/share/man/man4/smbios.4
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man4/smbios.4Sat Apr  4 21:38:00 2020
(r359633)
@@ -0,0 +1,63 @@
+.\" Copyright (c) 2020 Gordon Bergling 
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd April 4, 2020
+.Dt SMBIOS 4
+.Os
+.Sh NAME
+.Nm smbios 
+.Nd "System Management BIOS"
+.Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device smbios"
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+smbios_load="YES"
+.Ed
+.Sh DESCRIPTION
+The System Management BIOS (SMBIOS) describes hardware components.
+.Sh SEE ALSO
+.Xr efi 4
+.Rs
+.%T System Management BIOS (SMBIOS) Reference Specification
+.%N DMTF DSP0134
+.Re
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Fx 4.8 .
+.Sh AUTHORS
+The
+.Nm
+device driver was written by
+.An Matthew N. Dodd Aq Mt win...@jurai.net .
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r359633 - head/share/man/man4

2020-04-06 Thread Christian Brueffer
On 2020-04-05 01:48, Rodney W. Grimes wrote:
> 
>> On Sat, 2020-04-04 at 17:10 -0700, Rodney W. Grimes wrote:
 Author: brueffer
 Date: Sat Apr  4 21:38:00 2020
 New Revision: 359633
 URL: https://svnweb.freebsd.org/changeset/base/359633

 Log:
Add a manpage for smbios(4).

Submitted by:   Gordon Bergling
>>>
>>> There should be an AUTHORS section entry for him writting the man
>>> page.
>>
>> Is that not optional?  I've never added one to any manpage I've ever
>> written, and don't especially want it to be added.
> 
> Yes, of cource it is optional, but perhaps he was not aware that
> option even existed as he probably copied the man page from some
> other work which may of not had that attribution.
> 

Gordon,

please see above, would you like to be added to the AUTHORS section?

Cheers,

Chris
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359656 - head/share/man/man4

2020-04-06 Thread Christian Brueffer
Author: brueffer
Date: Mon Apr  6 09:59:21 2020
New Revision: 359656
URL: https://svnweb.freebsd.org/changeset/base/359656

Log:
  Add Gordon Bergling to the authors section; remove trailing whitespace.
  
  Suggested by: rgrimes
  Approved by:  Gordon Bergling
  X-MFC-with:   r359633

Modified:
  head/share/man/man4/smbios.4

Modified: head/share/man/man4/smbios.4
==
--- head/share/man/man4/smbios.4Mon Apr  6 09:50:20 2020
(r359655)
+++ head/share/man/man4/smbios.4Mon Apr  6 09:59:21 2020
(r359656)
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2020 Gordon Bergling 
+.\" Copyright (c) 2020 Gordon Bergling
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -23,11 +23,11 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 4, 2020
+.Dd April 6, 2020
 .Dt SMBIOS 4
 .Os
 .Sh NAME
-.Nm smbios 
+.Nm smbios
 .Nd "System Management BIOS"
 .Sh SYNOPSIS
 To compile this driver into the kernel,
@@ -61,3 +61,5 @@ The
 .Nm
 device driver was written by
 .An Matthew N. Dodd Aq Mt win...@jurai.net .
+This manual page was written by
+.An Gordon Bergling Aq Mt gbergl...@gmail.com .
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r359731 - head/share/man/man5

2020-04-08 Thread Christian Brueffer
Author: brueffer
Date: Wed Apr  8 20:00:30 2020
New Revision: 359731
URL: https://svnweb.freebsd.org/changeset/base/359731

Log:
  Add a basic manpage for smbfs(5).
  
  Submitted by: Gordon Bergling
  MFC after:1 week
  Differential Revision:https://reviews.freebsd.org/D23905

Added:
  head/share/man/man5/smbfs.5   (contents, props changed)
Modified:
  head/share/man/man5/Makefile

Modified: head/share/man/man5/Makefile
==
--- head/share/man/man5/MakefileWed Apr  8 18:43:00 2020
(r359730)
+++ head/share/man/man5/MakefileWed Apr  8 20:00:30 2020
(r359731)
@@ -63,6 +63,7 @@ MAN=  acct.5 \
resolver.5 \
services.5 \
shells.5 \
+   smbfs.5 \
src.conf.5 \
stab.5 \
style.Makefile.5 \

Added: head/share/man/man5/smbfs.5
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man5/smbfs.5 Wed Apr  8 20:00:30 2020(r359731)
@@ -0,0 +1,79 @@
+.\" Copyright (c) 2020 Gordon Bergling
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd April 8, 2020
+.Dt SMBFS 5
+.Os
+.Sh NAME
+.Nm smbfs
+.Nd "SMB FS"
+.Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "option NETSMB"
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+smbfs_load="YES"
+.Ed
+.Sh DESCRIPTION
+The SMB driver is an implementation of the CIFS (Common Internet Filesystem)
+network protocol.
+.Sh SEE ALSO
+.Xr smbutil 1 ,
+.Xr mount_smbfs 8
+.Sh STANDARDS
+.Rs
+.%U https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cifs/
+.%T Common Internet File System (CIFS) Protocol
+.%R MS-CIFS
+.%D December 2018
+.Re
+.Pp
+.Rs
+.%U https://tools.ietf.org/html/draft-heizer-cifs-v1-spec-00
+.%T Common Internet File System Protocol (CIFS/1.0)
+.%D June 13, 1996
+.%A I. Heizer
+.%A P. Leach
+.%A D. Perry
+.Re
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Fx 4.4 .
+.Sh AUTHORS
+The
+.Nm
+device driver was written by
+.An Boris Popov Aq Mt b...@freebsd.org .
+The manual page was contributed by
+.An Gordon Bergling Aq Mt gbergl...@gmail.com .
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r221305 - head/share/man/man4

2011-05-01 Thread Christian Brueffer
Author: brueffer
Date: Sun May  1 20:46:37 2011
New Revision: 221305
URL: http://svn.freebsd.org/changeset/base/221305

Log:
  Minor cleanup.

Modified:
  head/share/man/man4/vxge.4

Modified: head/share/man/man4/vxge.4
==
--- head/share/man/man4/vxge.4  Sun May  1 20:14:10 2011(r221304)
+++ head/share/man/man4/vxge.4  Sun May  1 20:46:37 2011(r221305)
@@ -49,13 +49,12 @@ The
 .Nm
 driver provides support for Neterion X3100 adapters.
 The driver supports TCP Segmentation Offload (TSO/LSO), 
-Large Receive Offlaod (LRO), Jumbo Frames, Receive Traffic Hash (RTH),
+Large Receive Offload (LRO), Jumbo Frames, Receive Traffic Hash (RTH),
 VLAN, Promiscuous mode and Multi function mode.
 .Pp
-
 The
 .Nm
-driver supports following function modes:
+driver supports the following function modes:
 .Bd -ragged -offset indent
 .Cd "SF1_VP17 - 1 function with 17 VPATHs"
 .Ed
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207829 - head/share/man/man4

2010-05-09 Thread Christian Brueffer
Author: brueffer
Date: Sun May  9 21:34:05 2010
New Revision: 207829
URL: http://svn.freebsd.org/changeset/base/207829

Log:
  Various wording, spelling and markup fixes.
  
  PR:   145251
  Submitted by: Hywel Mallett  (partly)
  MFC after:3 week

Modified:
  head/share/man/man4/iscsi_initiator.4

Modified: head/share/man/man4/iscsi_initiator.4
==
--- head/share/man/man4/iscsi_initiator.4   Sun May  9 20:32:00 2010
(r207828)
+++ head/share/man/man4/iscsi_initiator.4   Sun May  9 21:34:05 2010
(r207829)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 23, 2007
+.Dd May 9, 2010
 .Dt ISCSI_INITIATOR 4
 .Os
 .Sh NAME
@@ -48,34 +48,39 @@ iscsi_initiator_load="YES"
 The
 .Nm
 implements the kernel side of the Internet SCSI (iSCSI) network
-protocol standard, the user land companion is
+protocol standard.
+The userland companion is
 .Xr iscontrol 8 ,
 and permits access to remote
 .Em virtual
 SCSI devices via
 .Xr cam 4 .
 .Sh SYSCTL VARIABLES
-.Bl -tag -width ".Va net.iscsi.n.targeaddress"
+.Bl -tag -width "net.iscsi.n.targedaddress"
 .It Va debug.iscsi_initiator
 set the debug-level, 0 means no debugging, 9 for maximum.
 .It Va net.iscsi.isid
 the initiator part of the Session Identifier.
-.It "the following are informative only:"
+.El
+.Pp
+The following are informative only:
+.Pp
+.Bl -tag -width "net.iscsi.n.targedaddress"
 .It Va net.iscsi.driver_version
 the current version of the driver.
 .It Va net.iscsi.sessions
 the number of current active sessions.
 .It Va net.iscsi.n.targetname
-is the targe name of session
+the target name of session
 .Em n .
-.It Va net.iscsi.n.targeaddress
-is the IP address of the target of session
+.It Va net.iscsi.n.targedaddress
+the IP address of the target of session
 .Em n .
 .It Va net.iscsi.n.stats
-are some statistics for session
+statistics for session
 .Em n
 .It Va net.iscsi.n.pid
-is the 
+the 
 .Em "process id"
 of the userland side of session
 .Em n ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207923 - head/lib/libc/sys

2010-05-11 Thread Christian Brueffer
Author: brueffer
Date: Tue May 11 17:02:12 2010
New Revision: 207923
URL: http://svn.freebsd.org/changeset/base/207923

Log:
  Document FIONREAD, FIONWRITE and FIONSPACE.
  
  Obtained from:NetBSD
  Submitted by: emaste
  MFC after:1 week

Modified:
  head/lib/libc/sys/ioctl.2

Modified: head/lib/libc/sys/ioctl.2
==
--- head/lib/libc/sys/ioctl.2   Tue May 11 17:01:14 2010(r207922)
+++ head/lib/libc/sys/ioctl.2   Tue May 11 17:02:12 2010(r207923)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 14, 2007
+.Dd May 11, 2010
 .Dt IOCTL 2
 .Os
 .Sh NAME
@@ -80,6 +80,30 @@ Macros and defines used in specifying an
 .Fa request
 are located in the file
 .In sys/ioctl.h .
+.Sh GENERIC IOCTLS
+Some generic ioctls are not implemented for all types of file
+descriptors.
+These include:
+.Bl -tag -width "xx"
+.It Dv FIONREAD int
+Get the number of bytes that are immediately available for reading.
+.It Dv FIONWRITE int
+Get the number of bytes in the descriptor's send queue.
+These bytes are data which has been written to the descriptor but
+which are being held by the kernel for further processing.
+The nature of the required processing depends on the underlying device.
+For TCP sockets, these bytes have not yet been acknowledged by the
+other side of the connection.
+.It Dv FIONSPACE int
+Get the free space in the descriptor's send queue.
+This value is the size of the send queue minus the number of bytes
+being held in the queue.
+Note: while this value represents the number of bytes that may be
+added to the queue, other resource limitations may cause a write
+not larger than the send queue's space to be blocked.
+One such limitation would be a lack of network buffers for a write
+to a network connection.
+.El
 .Sh RETURN VALUES
 If an error has occurred, a value of -1 is returned and
 .Va errno
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207945 - head/contrib/ipfilter/man

2010-05-11 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 00:56:53 2010
New Revision: 207945
URL: http://svn.freebsd.org/changeset/base/207945

Log:
  Comment in the BUGS section header. Matches what's in ipfilter 5.10.
  
  PR:   144880
  Submitted by: Glen Barber 
  MFC after:1 week

Modified:
  head/contrib/ipfilter/man/ipmon.8

Modified: head/contrib/ipfilter/man/ipmon.8
==
--- head/contrib/ipfilter/man/ipmon.8   Tue May 11 23:19:28 2010
(r207944)
+++ head/contrib/ipfilter/man/ipmon.8   Wed May 12 00:56:53 2010
(r207945)
@@ -181,6 +181,6 @@ recorded data.
 /etc/services
 .SH SEE ALSO
 ipl(4), ipf(8), ipfstat(8), ipnat(8)
-.\".SH BUGS
+.SH BUGS
 .PP
 If you find any, please send email to me at darr...@pobox.com
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207946 - head/lib/libc/stdlib

2010-05-11 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 01:13:49 2010
New Revision: 207946
URL: http://svn.freebsd.org/changeset/base/207946

Log:
  The previous revision actually removed the bug being hinted at, so
  go ahead and remove the hint.
  
  PR:   143944
  Submitted by: Jeremy Huddleston 
  MFC after:1 week

Modified:
  head/lib/libc/stdlib/strtod.3

Modified: head/lib/libc/stdlib/strtod.3
==
--- head/lib/libc/stdlib/strtod.3   Wed May 12 00:56:53 2010
(r207945)
+++ head/lib/libc/stdlib/strtod.3   Wed May 12 01:13:49 2010
(r207946)
@@ -32,7 +32,7 @@
 .\" @(#)strtod.3   8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd March 2, 2003
+.Dd May 11, 2010
 .Dt STRTOD 3
 .Os
 .Sh NAME
@@ -169,8 +169,7 @@ The
 .Fn strtod
 function
 conforms to
-.St -isoC-99 ,
-with the exception of the bug noted below.
+.St -isoC-99 .
 .Sh AUTHORS
 The author of this software is
 .An David M. Gay .
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207947 - head/usr.sbin/uathload

2010-05-11 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 01:33:51 2010
New Revision: 207947
URL: http://svn.freebsd.org/changeset/base/207947

Log:
  The -d flag is non-optional.
  
  PR:   143694
  Submitted by: Nikolai Saoukh 
  MFC after:1 week

Modified:
  head/usr.sbin/uathload/uathload.8

Modified: head/usr.sbin/uathload/uathload.8
==
--- head/usr.sbin/uathload/uathload.8   Wed May 12 01:13:49 2010
(r207946)
+++ head/usr.sbin/uathload/uathload.8   Wed May 12 01:33:51 2010
(r207947)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 7, 2009
+.Dd May 11, 2010
 .Dt UATHLOAD 8
 .Os
 .Sh NAME
@@ -34,7 +34,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl v
-.Op Fl d Ar ugen-device
+.Fl d Ar ugen-device
 .Op Ar firmware-file
 .Sh DESCRIPTION
 The
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207948 - head/usr.bin/make

2010-05-11 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 02:00:11 2010
New Revision: 207948
URL: http://svn.freebsd.org/changeset/base/207948

Log:
  - Missing full stops
  - Upper case the first character of an description
  - Section headings do not need to be quoted. From OpenBSD's make.1, revision 
1.81
  - Plural of suffix is suffixes. From OpenBSD's make.1, revision 1.61
  - s/seperating/separating/
  
  PR:   135165
  Submitted by: Alan R. S. Bueno 
  MFC after:1 week

Modified:
  head/usr.bin/make/make.1

Modified: head/usr.bin/make/make.1
==
--- head/usr.bin/make/make.1Wed May 12 01:33:51 2010(r207947)
+++ head/usr.bin/make/make.1Wed May 12 02:00:11 2010(r207948)
@@ -990,7 +990,7 @@ Otherwise
 is the substring of
 .Ar old_string
 to be replaced in
-.Ar new_string
+.Ar new_string .
 .It Cm :T
 Replaces each word in the variable with its last component.
 .It Cm :U
@@ -1138,7 +1138,7 @@ The
 may be any one of the following:
 .Bl -tag -width "Cm XX"
 .It Cm ||
-logical
+Logical
 .Tn OR
 .It Cm &&
 Logical
@@ -1328,7 +1328,7 @@ made before the sources that succeed it 
 Loops are not being
 detected and targets that form loops will be silently ignored.
 .El
-.Sh "SPECIAL TARGETS"
+.Sh SPECIAL TARGETS
 Special targets may not be included with other targets, i.e., they must be
 the only target specified.
 .Bl -tag -width Ic
@@ -1620,7 +1620,7 @@ command in the file.
 .It Ic .SUFFIXES
 Each source specifies a suffix to
 .Nm .
-If no sources are specified, any previous specified suffices are deleted.
+If no sources are specified, any previous specified suffixes are deleted.
 .It Ic .WARN
 Each source specifies a warning flag as previously described for the
 .Fl x
@@ -1633,7 +1633,7 @@ environment variables so that a warning 
 line will influence all sub-makes.
 Several flags can be specified on a single
 .Ic .WARN
-target by seperating them with blanks.
+target by separating them with blanks.
 .El
 .Sh REMAKING MAKEFILES
 If the special target
@@ -1779,7 +1779,7 @@ The evaluation of
 .Ar expression
 in a test is very simple-minded.
 Currently, the only form that works is
-.Ql .if ${VAR} op something
+.Ql .if ${VAR} op something .
 For instance, you should write tests as
 .Ql .if ${VAR} == "string"
 not the other way around, which would give you an error.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207964 - head/sbin/kldstat

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 15:47:43 2010
New Revision: 207964
URL: http://svn.freebsd.org/changeset/base/207964

Log:
  Casting size_t to uintmax_t is not necessary anymore. This also
  removes the need for stdint.h inclusion.
  
  PR:   146046
  Submitted by: Alexander Best 
  Reviewed by:  kan
  MFC after:1 week

Modified:
  head/sbin/kldstat/kldstat.c

Modified: head/sbin/kldstat/kldstat.c
==
--- head/sbin/kldstat/kldstat.c Wed May 12 13:45:46 2010(r207963)
+++ head/sbin/kldstat/kldstat.c Wed May 12 15:47:43 2010(r207964)
@@ -28,7 +28,6 @@
 __FBSDID("$FreeBSD$");
 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -60,8 +59,8 @@ static void printfile(int fileid, int ve
 if (kldstat(fileid, &stat) < 0)
warn("can't stat file id %d", fileid);
 else
-   printf("%2d %4d %p %-8jx %s",
-  stat.id, stat.refs, stat.address, (uintmax_t)stat.size, 
+   printf("%2d %4d %p %-8zx %s",
+  stat.id, stat.refs, stat.address, stat.size, 
   stat.name);
 
 if (verbose) {
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207975 - head/share/man/man4

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 17:12:38 2010
New Revision: 207975
URL: http://svn.freebsd.org/changeset/base/207975

Log:
  IBM ServeRAID M5015 SAS/SATA works.
  
  PR:   144614
  Submitted by: pluknet 
  MFC after:1 week

Modified:
  head/share/man/man4/mfi.4

Modified: head/share/man/man4/mfi.4
==
--- head/share/man/man4/mfi.4   Wed May 12 17:11:38 2010(r207974)
+++ head/share/man/man4/mfi.4   Wed May 12 17:12:38 2010(r207975)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 2, 2010
+.Dd May 12, 2010
 .Dt MFI 4
 .Os
 .Sh NAME
@@ -91,6 +91,8 @@ Dell PERC5
 .It
 Dell PERC6
 .It
+IBM ServeRAID M5015 SAS/SATA
+.It
 IBM ServeRAID-MR10i
 .It
 Intel RAID Controller SROMBSAS18E
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207979 - head/sys/modules

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 17:30:46 2010
New Revision: 207979
URL: http://svn.freebsd.org/changeset/base/207979

Log:
  Build the ixgbe(4) and mwlfw(4) modules by default.
  
  PR:   144494
  Submitted by: John Giacomoni , brucec

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==
--- head/sys/modules/Makefile   Wed May 12 17:22:11 2010(r207978)
+++ head/sys/modules/Makefile   Wed May 12 17:30:46 2010(r207979)
@@ -144,6 +144,7 @@ SUBDIR= ${_3dfx} \
${_iwn} \
${_iwnfw} \
${_ixgb} \
+   ${_ixgbe} \
jme \
joy \
kbdmux \
@@ -190,6 +191,7 @@ SUBDIR= ${_3dfx} \
msk \
mvs \
mwl \
+   mwlfw \
mxge \
my \
${_ncp} \
@@ -465,6 +467,7 @@ _iwifw= iwifw
 _iwn=  iwn
 _iwnfw=iwnfw
 _ixgb= ixgb
+_ixgbe=ixgbe
 _mly=  mly
 _nfe=  nfe
 _nve=  nve
@@ -537,6 +540,7 @@ _iwifw= iwifw
 _iwn=  iwn
 _iwnfw=iwnfw
 _ixgb= ixgb
+_ixgbe=ixgbe
 _lindev=   lindev
 _linprocfs=linprocfs
 _linsysfs= linsysfs
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207982 - head/release/doc/en_US.ISO8859-1/hardware

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 17:53:05 2010
New Revision: 207982
URL: http://svn.freebsd.org/changeset/base/207982

Log:
  Add et(4), sge(4) and mwl(4).

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Wed May 12 
17:44:00 2010(r207981)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Wed May 12 
17:53:05 2010(r207982)
@@ -842,6 +842,8 @@
 
   &hwlist.ep;
 
+  &hwlist.et;
+
   &hwlist.ex;
 
   &hwlist.fe;
@@ -890,6 +892,8 @@
 
   &hwlist.sf;
 
+  &hwlist.sge;
+
   &hwlist.sis;
 
   &hwlist.sk;
@@ -981,6 +985,9 @@
   [&arch.i386;, &arch.amd64;] Marvell Libertas IEEE 802.11b/g
 PCI network adapters (&man.malo.4; driver)
 
+  Marvell 88W8363 IEEE 802.11n wireless network
+   adapters (&man.mwl.4; driver)
+
   &hwlist.ral;
 
   &hwlist.rum;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207990 - head/share/man/man4

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 19:20:32 2010
New Revision: 207990
URL: http://svn.freebsd.org/changeset/base/207990

Log:
  Make this ready for automatic hardware notes generation.

Modified:
  head/share/man/man4/run.4

Modified: head/share/man/man4/run.4
==
--- head/share/man/man4/run.4   Wed May 12 19:20:03 2010(r207989)
+++ head/share/man/man4/run.4   Wed May 12 19:20:32 2010(r207990)
@@ -98,7 +98,9 @@ driver can be configured at runtime with
 or on boot with
 .Xr hostname.if 5 .
 .Sh HARDWARE
-The following adapters should work:
+The 
+.Nm
+driver supports the following wireless adapters:
 .Pp
 .Bl -tag -width Ds -offset indent -compact
 .It Airlink101 AWLL6090
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207991 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 19:24:31 2010
New Revision: 207991
URL: http://svn.freebsd.org/changeset/base/207991

Log:
  Automatically generate hardware notes for run(4).

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml
  head/release/doc/share/misc/dev.archlist.txt

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Wed May 12 
19:20:32 2010(r207990)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Wed May 12 
19:24:31 2010(r207991)
@@ -992,6 +992,8 @@
 
   &hwlist.rum;
 
+  &hwlist.run;
+
   &hwlist.uath;
 
   &hwlist.upgt;

Modified: head/release/doc/share/misc/dev.archlist.txt
==
--- head/release/doc/share/misc/dev.archlist.txtWed May 12 19:20:32 
2010(r207990)
+++ head/release/doc/share/misc/dev.archlist.txtWed May 12 19:24:31 
2010(r207991)
@@ -104,6 +104,7 @@ rc  i386
 rali386,amd64
 ruei386,pc98,amd64
 rumi386,amd64
+runi386,amd64
 safe   i386,pc98,amd64
 sbpi386,sparc64,ia64,amd64
 sisi386,pc98,ia64,amd64
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r207998 - head/sbin/restore

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 20:21:44 2010
New Revision: 207998
URL: http://svn.freebsd.org/changeset/base/207998

Log:
  Fix grammar in a line of output.
  
  PR:   145343
  Submitted by: Hywel Mallett 
  MFC after:1 week

Modified:
  head/sbin/restore/symtab.c

Modified: head/sbin/restore/symtab.c
==
--- head/sbin/restore/symtab.c  Wed May 12 20:15:05 2010(r207997)
+++ head/sbin/restore/symtab.c  Wed May 12 20:21:44 2010(r207998)
@@ -443,7 +443,7 @@ dumpsymtable(char *filename, long checkp
FILE *fd;
struct symtableheader hdr;
 
-   vprintf(stdout, "Check pointing the restore\n");
+   vprintf(stdout, "Checkpointing the restore\n");
if (Nflag)
return;
if ((fd = fopen(filename, "w")) == NULL) {
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r208002 - head

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Wed May 12 21:20:04 2010
New Revision: 208002
URL: http://svn.freebsd.org/changeset/base/208002

Log:
  Note 8.0-RELEASE.
  
  PR:   143824
  Submitted by: pluknet 

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Wed May 12 20:58:08 2010(r208001)
+++ head/UPDATING   Wed May 12 21:20:04 2010(r208002)
@@ -83,6 +83,9 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 9.
 
The meanings correspond to the relevant IPv4 variables.
 
+20091125:
+   8.0-RELEASE.
+
 20091113:
The default terminal emulation for syscons(4) has been changed
from cons25 to xterm on all platforms except pc98.  This means
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r208024 - head/release/doc/en_US.ISO8859-1/hardware

2010-05-12 Thread Christian Brueffer
Author: brueffer
Date: Thu May 13 03:56:57 2010
New Revision: 208024
URL: http://svn.freebsd.org/changeset/base/208024

Log:
  et.4 doesn't have a HARDWARE section. Unbreak the build by manually
  describing the supported et(4) chips.

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Thu May 13 
02:03:00 2010(r208023)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Thu May 13 
03:56:57 2010(r208024)
@@ -842,7 +842,8 @@
 
   &hwlist.ep;
 
-  &hwlist.et;
+  Agere ET1310 Gigabit Ethernet adapters
+   (&man.et.4; driver)
 
   &hwlist.ex;
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r208053 - head/share/man/man4

2010-05-13 Thread Christian Brueffer
Author: brueffer
Date: Fri May 14 01:10:20 2010
New Revision: 208053
URL: http://svn.freebsd.org/changeset/base/208053

Log:
  Mention LSI Logic FC949E.
  
  PR:   110359
  Submitted by: Vivek Khera 
  MFC after:3 days

Modified:
  head/share/man/man4/mpt.4

Modified: head/share/man/man4/mpt.4
==
--- head/share/man/man4/mpt.4   Fri May 14 00:00:19 2010(r208052)
+++ head/share/man/man4/mpt.4   Fri May 14 01:10:20 2010(r208053)
@@ -35,7 +35,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 15, 2009
+.Dd May 13, 2010
 .Dt MPT 4
 .Os
 .Sh NAME
@@ -105,6 +105,7 @@ LSI Logic FC949X
 (Dual 4Gb/s
 .Tn Fibre Channel )
 .It
+LSI Logic FC949E,
 LSI Logic FC949ES
 (Dual 4Gb/s
 .Tn Fibre Channel PCI-Express)
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r208054 - head/usr.sbin/cron/crontab

2010-05-13 Thread Christian Brueffer
Author: brueffer
Date: Fri May 14 01:25:30 2010
New Revision: 208054
URL: http://svn.freebsd.org/changeset/base/208054

Log:
  List /var/cron/tabs in FILES and add descriptions for the other entries.
  
  PR:   145912
  Submitted by: Julian H. Stacey 
  Obtained from:OpenBSD
  MFC after:1 week

Modified:
  head/usr.sbin/cron/crontab/crontab.1

Modified: head/usr.sbin/cron/crontab/crontab.1
==
--- head/usr.sbin/cron/crontab/crontab.1Fri May 14 01:10:20 2010
(r208053)
+++ head/usr.sbin/cron/crontab/crontab.1Fri May 14 01:25:30 2010
(r208054)
@@ -17,7 +17,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 29, 1993
+.Dd May 13, 2010
 .Dt CRONTAB 1
 .Os
 .Sh NAME
@@ -114,7 +114,11 @@ from the editor, the modified crontab wi
 .Sh FILES
 .Bl -tag -width /var/cron/allow -compact
 .It Pa /var/cron/allow
+List of users allowed to use crontab
 .It Pa /var/cron/deny
+List of users prohibited from using crontab
+.It Pa /var/cron/tabs
+Directory for personal crontab files
 .El
 .Sh DIAGNOSTICS
 A fairly informative usage message appears if you run it with a bad command
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r208056 - head/usr.sbin/mtree

2010-05-13 Thread Christian Brueffer
Author: brueffer
Date: Fri May 14 01:45:05 2010
New Revision: 208056
URL: http://svn.freebsd.org/changeset/base/208056

Log:
  Wording fixes.
  
  PR:   143454
  Submitted by: Warren Block 
  MFC after:3 days

Modified:
  head/usr.sbin/mtree/mtree.8

Modified: head/usr.sbin/mtree/mtree.8
==
--- head/usr.sbin/mtree/mtree.8 Fri May 14 01:43:13 2010(r208055)
+++ head/usr.sbin/mtree/mtree.8 Fri May 14 01:45:05 2010(r208056)
@@ -88,7 +88,7 @@ Do not complain about files that are in 
 specification.
 .It Fl i
 Indent the output 4 spaces each time a directory level is descended when
-create a specification with the
+creating a specification with the
 .Fl c
 option.
 This does not affect either the /set statements or the comment before each
@@ -126,7 +126,7 @@ instead of from the standard input.
 .Pp
 If this option is specified twice, the two specifications are compared
 to each other rather than to the file hierarchy.
-The specifications be sorted like output generated using
+The specifications will be sorted like output generated using
 .Fl c .
 The output format in this case is somewhat remniscent of
 .Xr comm 1 ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r228898 - head/sbin/dumpfs

2011-12-26 Thread Christian Brueffer
Author: brueffer
Date: Mon Dec 26 16:47:45 2011
New Revision: 228898
URL: http://svn.freebsd.org/changeset/base/228898

Log:
  Add missing -l flag to usage().
  
  PR:   163629
  Submitted by: olgeni
  MFC after:1 week

Modified:
  head/sbin/dumpfs/dumpfs.c

Modified: head/sbin/dumpfs/dumpfs.c
==
--- head/sbin/dumpfs/dumpfs.c   Mon Dec 26 10:58:21 2011(r228897)
+++ head/sbin/dumpfs/dumpfs.c   Mon Dec 26 16:47:45 2011(r228898)
@@ -499,6 +499,6 @@ ufserr(const char *name)
 static void
 usage(void)
 {
-   (void)fprintf(stderr, "usage: dumpfs [-fm] filesys | device\n");
+   (void)fprintf(stderr, "usage: dumpfs [-flm] filesys | device\n");
exit(1);
 }
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r229585 - head/share/man/man4

2012-01-05 Thread Christian Brueffer
Author: brueffer
Date: Thu Jan  5 11:16:42 2012
New Revision: 229585
URL: http://svn.freebsd.org/changeset/base/229585

Log:
  Fix typo.
  
  MFC after:1 week

Modified:
  head/share/man/man4/bce.4

Modified: head/share/man/man4/bce.4
==
--- head/share/man/man4/bce.4   Thu Jan  5 11:14:54 2012(r229584)
+++ head/share/man/man4/bce.4   Thu Jan  5 11:16:42 2012(r229585)
@@ -251,7 +251,7 @@ status block.
 .It "bce%d: Could not allocate status block DMA memory!"
 The driver could not allocate DMA addressable memory for the controller's
 status block.
-.It "bce_d: Could not map status block DMA memory!"
+.It "bce%d: Could not map status block DMA memory!"
 The driver could not map the status block memory into the controller's DMA
 address space.
 .It "bce%d: Could not allocate statistics block DMA tag!"
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r229977 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2012-01-11 Thread Christian Brueffer
Author: brueffer
Date: Wed Jan 11 18:38:52 2012
New Revision: 229977
URL: http://svn.freebsd.org/changeset/base/229977

Log:
  Add hpt27xx to the hardware notes,
  
  While here, add the 2012 copyright.
  
  MFC after:1 week

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml
  head/release/doc/share/misc/dev.archlist.txt

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Wed Jan 11 
18:34:57 2012(r229976)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Wed Jan 11 
18:38:52 2012(r229977)
@@ -32,6 +32,7 @@
   2009
   2010
   2011
+  2012
   mailto:d...@freebsd.org";>The &os; Documentation 
Project
 
 
@@ -773,6 +774,8 @@
 
   &hwlist.esp;
 
+  &hwlist.hpt27xx;
+
   &hwlist.hptiop;
 
   &hwlist.hptmv;

Modified: head/release/doc/share/misc/dev.archlist.txt
==
--- head/release/doc/share/misc/dev.archlist.txtWed Jan 11 18:34:57 
2012(r229976)
+++ head/release/doc/share/misc/dev.archlist.txtWed Jan 11 18:38:52 
2012(r229977)
@@ -72,6 +72,7 @@ exi386,amd64
 fe i386,pc98,amd64
 fwohci i386,sparc64,ia64,amd64,powerpc
 hifn   i386,pc98,amd64
+hpt27xxi386,amd64
 hptiop i386,amd64
 hptmv  i386,amd64
 hptrr  i386,amd64
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r230450 - head/share/man/man4

2012-01-22 Thread Christian Brueffer
Author: brueffer
Date: Sun Jan 22 10:16:24 2012
New Revision: 230450
URL: http://svn.freebsd.org/changeset/base/230450

Log:
  General cleanup.
  
  Prodded by:   grehan

Modified:
  head/share/man/man4/virtio.4
  head/share/man/man4/virtio_balloon.4
  head/share/man/man4/virtio_blk.4
  head/share/man/man4/vtnet.4

Modified: head/share/man/man4/virtio.4
==
--- head/share/man/man4/virtio.4Sun Jan 22 08:06:36 2012
(r230449)
+++ head/share/man/man4/virtio.4Sun Jan 22 10:16:24 2012
(r230450)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 4, 2011
+.Dd January 22, 2012
 .Dt VIRTIO 4
 .Os
 .Sh NAME
@@ -48,24 +48,25 @@ virtio_pci_load="YES"
 .Sh DESCRIPTION
 VirtIO is a specification for para-virtualized I/O in a virtual machine (VM).
 Traditionally, the hypervisor emulated real devices such as an Ethernet
-interface or disk controller to provide the VM with I/O. This emulation is
-often inefficient.
+interface or disk controller to provide the VM with I/O.
+This emulation is often inefficient.
 .Pp
 VirtIO defines an interface for efficient I/O between the hypervisor and VM.
-The 
-.Xr virtio 4 
+The
+.Xr virtio 4
 module provides a shared memory transport called a virtqueue.
 The
 .Xr virtio_pci 4
 device driver represents an emulated PCI device that the hypervisor makes
-available to the VM. This device provides the probing, configuration, and 
-interrupt notifications need to interact with the hypervisor.
+available to the VM.
+This device provides the probing, configuration, and 
+interrupt notifications needed to interact with the hypervisor.
 .Fx
 supports the following VirtIO devices:
 .Bl -hang -offset indent -width 
 .It Nm Ethernet
 An emulated Ethernet device is provided by the
-.Xr if_vtnet 4
+.Xr vtnet 4
 device driver.
 .It Nm Block
 An emulated disk controller is provided by the
@@ -78,9 +79,9 @@ provided by the
 device driver.
 .El
 .Sh SEE ALSO
-.Xr if_vtnet 4 ,
+.Xr virtio_balloon 4 ,
 .Xr virtio_blk 4 ,
-.Xr virtio_balloon 4
+.Xr vtnet 4
 .Sh HISTORY
 Support for VirtIO first appeared in
 .Fx 9.0 .

Modified: head/share/man/man4/virtio_balloon.4
==
--- head/share/man/man4/virtio_balloon.4Sun Jan 22 08:06:36 2012
(r230449)
+++ head/share/man/man4/virtio_balloon.4Sun Jan 22 10:16:24 2012
(r230450)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 4, 2011
+.Dd January 22, 2012
 .Dt VIRTIO_BALLOON 4
 .Os
 .Sh NAME
@@ -51,8 +51,8 @@ device driver provides support for VirtI
 .Pp
 The memory balloon allows the guest to, at the request of the
 hypervisor, return memory allocated to the hypervisor so it can
-be made available to other guests. The hypervisor can later
-signal the balloon to return the memory.
+be made available to other guests.
+The hypervisor can later signal the balloon to return the memory.
 .Sh SEE ALSO
 .Xr virtio 4
 .Sh HISTORY

Modified: head/share/man/man4/virtio_blk.4
==
--- head/share/man/man4/virtio_blk.4Sun Jan 22 08:06:36 2012
(r230449)
+++ head/share/man/man4/virtio_blk.4Sun Jan 22 10:16:24 2012
(r230450)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 4, 2011
+.Dd January 22, 2012
 .Dt VIRTIO_BLK 4
 .Os
 .Sh NAME
@@ -48,7 +48,6 @@ virtio_blk_load="YES"
 The
 .Nm
 device driver provides support for VirtIO block devices.
-.Pp
 .Sh LOADER TUNABLES
 Tunables can be set at the
 .Xr loader 8
@@ -57,7 +56,8 @@ prompt before booting the kernel or stor
 .Bl -tag -width "xx"
 .It Va hw.vtblk.no_ident
 This tunable disables retrieving the device identification string
-from the hypervisor. The default value is 0.
+from the hypervisor.
+The default value is 0.
 .El
 .Sh SEE ALSO
 .Xr virtio 4

Modified: head/share/man/man4/vtnet.4
==
--- head/share/man/man4/vtnet.4 Sun Jan 22 08:06:36 2012(r230449)
+++ head/share/man/man4/vtnet.4 Sun Jan 22 10:16:24 2012(r230450)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 4, 2011
+.Dd January 22, 2012
 .Dt VTNET 4
 .Os
 .Sh NAME
@@ -62,7 +62,6 @@ utility configures the adapter to receiv
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
-.El
 .Sh LOADER TUNABLES
 Tunables can be set at the
 .Xr loader 8
@@ -70,19 +69,21 @@ prompt before booting the kernel or stor
 .Xr loader.conf 5 .
 .Bl -tag -width "xx"
 .It Va hw.vtnet.csum_disable
-This tunable disables receive and send checksum offload. The default
-value is 0.
+This tunable disables receive and send checksum offload.
+The default value is 0.
 .It Va hw.vtnet.tso_disable
-This tunable disables TSO. The default value is 0.
+This tunable disables TSO.
+The default value is 0.
 .It Va hw.vtnet.lro_disable
-This tunable disables LRO. Th

svn commit: r230461 - head/share/man/man4

2012-01-22 Thread Christian Brueffer
Author: brueffer
Date: Sun Jan 22 13:51:20 2012
New Revision: 230461
URL: http://svn.freebsd.org/changeset/base/230461

Log:
  Connect VirtIO-related manpages to the build.

Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileSun Jan 22 11:58:17 2012
(r230460)
+++ head/share/man/man4/MakefileSun Jan 22 13:51:20 2012
(r230461)
@@ -505,11 +505,15 @@ MAN=  aac.4 \
viapm.4 \
${_viawd.4} \
vinum.4 \
+   ${_virtio.4} \
+   ${_virtio_balloon.4} \
+   ${_virtio_blk.4} \
vkbd.4 \
vlan.4 \
vpo.4 \
vr.4 \
vte.4 \
+   ${_vtnet.4} \
${_vxge.4} \
watchdog.4 \
wb.4 \
@@ -656,6 +660,7 @@ MLINKS+=vge.4 if_vge.4
 MLINKS+=vlan.4 if_vlan.4
 MLINKS+=vpo.4 imm.4
 MLINKS+=vr.4 if_vr.4
+MLINKS+=${_vtnet.4} ${_if_vtnet.4}
 MLINKS+=${_vxge.4} ${_if_vxge.4}
 MLINKS+=watchdog.4 SW_WATCHDOG.4
 MLINKS+=wb.4 if_wb.4
@@ -699,6 +704,7 @@ _if_nfe.4=  if_nfe.4
 _if_nve.4= if_nve.4
 _if_nxge.4=if_nxge.4
 _if_urtw.4=if_urtw.4
+_if_vtnet.4=   if_vtnet.4
 _if_vxge.4=if_vxge.4
 _if_wpi.4= if_wpi.4
 _ipmi.4=   ipmi.4
@@ -711,6 +717,10 @@ _nfsmb.4=  nfsmb.4
 _nve.4=nve.4
 _nvram.4=  nvram.4
 _nxge.4=   nxge.4
+_virtio.4= virtio.4
+_virtio_balloon.4=virtio_balloon.4
+_virtio_blk.4= virtio_blk.4
+_vtnet.4=  vtnet.4
 _vxge.4=   vxge.4
 _padlock.4=padlock.4
 _rr232x.4= rr232x.4
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r211348 - head/share/man/man4

2010-08-15 Thread Christian Brueffer
Author: brueffer
Date: Sun Aug 15 20:56:13 2010
New Revision: 211348
URL: http://svn.freebsd.org/changeset/base/211348

Log:
  Use our standard section 4 SYNOPSIS.  While here, fixed markup whitespace
  and adapted an Xref.

Modified:
  head/share/man/man4/tpm.4

Modified: head/share/man/man4/tpm.4
==
--- head/share/man/man4/tpm.4   Sun Aug 15 20:52:15 2010(r211347)
+++ head/share/man/man4/tpm.4   Sun Aug 15 20:56:13 2010(r211348)
@@ -15,14 +15,26 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 8, 2010
+.Dd August 15, 2010
 .Dt TPM 4
 .Os
 .Sh NAME
 .Nm tpm
 .Nd Trusted Platform Module
 .Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
 .Cd "device tpm"
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+tpm_load="YES"
+.Ed
 .Pp
 In
 .Pa /boot/device.hints :
@@ -62,7 +74,7 @@ interrupt vector in
 .Pa /boot/device.hints .
 .Sh SEE ALSO
 .Xr intro 4 ,
-.Xr files.conf 5,
+.Xr device.hints 5 ,
 .Xr config 8
 .Sh AUTHORS
 .An -nosplit
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r211353 - in head: . share/man/man9

2010-08-15 Thread Christian Brueffer
Author: brueffer
Date: Sun Aug 15 21:25:52 2010
New Revision: 211353
URL: http://svn.freebsd.org/changeset/base/211353

Log:
  Tie up some loose ends r88509 left behind:
  
  - chooseproc() is long gone, MLINK choosethread instead
  - Update NAME section for choosethread
  - Mark chooseproc.9 for removal
  
  PR: 149549
  Submitted by:   pluknet
  MFC after:1 week

Modified:
  head/ObsoleteFiles.inc
  head/share/man/man9/Makefile
  head/share/man/man9/runqueue.9

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Sun Aug 15 21:24:17 2010(r211352)
+++ head/ObsoleteFiles.inc  Sun Aug 15 21:25:52 2010(r211353)
@@ -14,6 +14,8 @@
 # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
 #
 
+# 20100815: retired last traces of chooseproc(9)
+OLD_FILES+=usr/share/man/man9/chooseproc.9.gz
 # 20100806: removal of unused libcompat routines
 OLD_FILES+=usr/share/man/man3/ascftime.3.gz
 OLD_FILES+=usr/share/man/man3/cfree.3.gz

Modified: head/share/man/man9/Makefile
==
--- head/share/man/man9/MakefileSun Aug 15 21:24:17 2010
(r211352)
+++ head/share/man/man9/MakefileSun Aug 15 21:25:52 2010
(r211353)
@@ -994,7 +994,7 @@ MLINKS+=rtalloc.9 rtalloc1.9 \
rtalloc.9 rtalloc_ign.9 \
rtalloc.9 RTFREE.9 \
rtalloc.9 rtfree.9
-MLINKS+=runqueue.9 chooseproc.9 \
+MLINKS+=runqueue.9 choosethread.9 \
runqueue.9 procrunnable.9 \
runqueue.9 remrunqueue.9 \
runqueue.9 setrunqueue.9

Modified: head/share/man/man9/runqueue.9
==
--- head/share/man/man9/runqueue.9  Sun Aug 15 21:24:17 2010
(r211352)
+++ head/share/man/man9/runqueue.9  Sun Aug 15 21:25:52 2010
(r211353)
@@ -23,11 +23,11 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 3, 2000
+.Dd August 15, 2010
 .Dt RUNQUEUE 9
 .Os
 .Sh NAME
-.Nm chooseproc ,
+.Nm choosethread ,
 .Nm procrunnable ,
 .Nm remrunqueue ,
 .Nm setrunqueue
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r211355 - head/share/man/man4

2010-08-15 Thread Christian Brueffer
Author: brueffer
Date: Sun Aug 15 21:34:50 2010
New Revision: 211355
URL: http://svn.freebsd.org/changeset/base/211355

Log:
  Fixed a typo and added a comma.
  
  PR:   148681
  Submitted by: Glen Barber 
  MFC after:1 week

Modified:
  head/share/man/man4/ng_atm.4

Modified: head/share/man/man4/ng_atm.4
==
--- head/share/man/man4/ng_atm.4Sun Aug 15 21:29:03 2010
(r211354)
+++ head/share/man/man4/ng_atm.4Sun Aug 15 21:34:50 2010
(r211355)
@@ -138,7 +138,7 @@ Hooks for dynamically initiated VCIs can
 .Xr netgraph 4
 as long as the name does not collide with one of the three predefined names.
 .Pp
-To initiate packet sending an receiving on a dynamic hook one has to issue
+To initiate packet sending and receiving on a dynamic hook, one has to issue
 a
 .Dv NGM_ATM_CPCS_INIT
 control message.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r211356 - head/share/man/man9

2010-08-15 Thread Christian Brueffer
Author: brueffer
Date: Sun Aug 15 21:37:30 2010
New Revision: 211356
URL: http://svn.freebsd.org/changeset/base/211356

Log:
  Fixed a typo.
  
  PR:   148701
  Submitted by: Glen Barber 
  MFC after:1 week

Modified:
  head/share/man/man9/crypto.9

Modified: head/share/man/man9/crypto.9
==
--- head/share/man/man9/crypto.9Sun Aug 15 21:34:50 2010
(r211355)
+++ head/share/man/man9/crypto.9Sun Aug 15 21:37:30 2010
(r211356)
@@ -143,7 +143,7 @@ not
 The same holds for the framework.
 Thus, a callback mechanism is used
 to notify a consumer that a request has been completed (the
-callback is specified by the consumer on an per-request basis).
+callback is specified by the consumer on a per-request basis).
 The callback is invoked by the framework whether the request was
 successfully completed or not.
 An error indication is provided in the latter case.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r212254 - head/release/doc/share/misc

2010-09-06 Thread Christian Brueffer
Author: brueffer
Date: Mon Sep  6 11:02:50 2010
New Revision: 212254
URL: http://svn.freebsd.org/changeset/base/212254

Log:
  sis(4) should work on all architectures now.

Modified:
  head/release/doc/share/misc/dev.archlist.txt

Modified: head/release/doc/share/misc/dev.archlist.txt
==
--- head/release/doc/share/misc/dev.archlist.txtMon Sep  6 09:59:10 
2010(r212253)
+++ head/release/doc/share/misc/dev.archlist.txtMon Sep  6 11:02:50 
2010(r212254)
@@ -107,7 +107,6 @@ rum i386,amd64
 runi386,amd64
 safe   i386,pc98,amd64
 sbpi386,sparc64,ia64,amd64
-sisi386,pc98,ia64,amd64
 sn i386,amd64
 sncpc98
 snd_ad1816 i386,amd64
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r212388 - head/share/man/man4

2010-09-09 Thread Christian Brueffer
Author: brueffer
Date: Thu Sep  9 21:37:05 2010
New Revision: 212388
URL: http://svn.freebsd.org/changeset/base/212388

Log:
  Some more grammar, wording and mdoc fixes.

Modified:
  head/share/man/man4/aesni.4

Modified: head/share/man/man4/aesni.4
==
--- head/share/man/man4/aesni.4 Thu Sep  9 21:32:09 2010(r212387)
+++ head/share/man/man4/aesni.4 Thu Sep  9 21:37:05 2010(r212388)
@@ -50,20 +50,24 @@ Starting with some models of Core i5/i7,
 a new set of instructions called AESNI.
 The set of six instructions accelerates the calculation of the key
 schedule for key lengths of 128, 192, and 256 of the Advanced
-Encryption Standard (AES) symmetric cipher, and provides hardware
+Encryption Standard (AES) symmetric cipher, and provides a hardware
 implementation of the regular and the last encryption and decryption
 rounds.
 .Pp
 The processor capability is reported as AESNI in the Features2 line at boot.
-Driver does not attach on the system that lacks the required CPU capability.
+The
+.Nm
+driver does not attach on systems that lack the required CPU capability.
 .Pp
 The
 .Nm
 driver registers itself to accelerate AES operations for
 .Xr crypto 4 .
-Besides speed, the advantage of using the driver is that the AESNI operation
+Besides speed, the advantage of using the
+.Nm
+driver is that the AESNI operation
 is data-independent, thus eliminating some attack vectors based on
-measuring cache use and timings typically present in the table-driven
+measuring cache use and timings typically present in table-driven
 implementations.
 .Sh SEE ALSO
 .Xr crypt 3 ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r212389 - head/share/man/man4

2010-09-09 Thread Christian Brueffer
Author: brueffer
Date: Thu Sep  9 21:39:06 2010
New Revision: 212389
URL: http://svn.freebsd.org/changeset/base/212389

Log:
  Xref aesni(4).

Modified:
  head/share/man/man4/crypto.4

Modified: head/share/man/man4/crypto.4
==
--- head/share/man/man4/crypto.4Thu Sep  9 21:37:05 2010
(r212388)
+++ head/share/man/man4/crypto.4Thu Sep  9 21:39:06 2010
(r212389)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 3, 2009
+.Dd September 7, 2010
 .Dt CRYPTO 4
 .Os
 .Sh NAME
@@ -106,6 +106,7 @@ asymmetric cryptographic features are po
 crypto access device
 .El
 .Sh SEE ALSO
+.Xr aesni 4 ,
 .Xr glxsb 4 ,
 .Xr hifn 4 ,
 .Xr ipsec 4 ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r212978 - head/cddl/usr.sbin/plockstat

2010-09-21 Thread Christian Brueffer
Author: brueffer
Date: Tue Sep 21 21:07:46 2010
New Revision: 212978
URL: http://svn.freebsd.org/changeset/base/212978

Log:
  Minor grammar fixes.

Modified:
  head/cddl/usr.sbin/plockstat/plockstat.1

Modified: head/cddl/usr.sbin/plockstat/plockstat.1
==
--- head/cddl/usr.sbin/plockstat/plockstat.1Tue Sep 21 20:51:40 2010
(r212977)
+++ head/cddl/usr.sbin/plockstat/plockstat.1Tue Sep 21 21:07:46 2010
(r212978)
@@ -68,7 +68,7 @@ Print all statistics.
 .It Fl C
 Print commulative statistics (the default).
 .It Fl H
-Print an histogram.
+Print a histogram.
 .It Fl V
 Print the DTrace script about to be used to stderr.
 .It Fl n Ar count
@@ -91,5 +91,5 @@ man page for more details.
 .Sh HISTORY
 The
 .Nm
-utility comes from the OpenSolaris and was first imported into
+utility comes from OpenSolaris and was first imported into
 .Fx 9.0 .
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r213460 - head/usr.bin/man

2010-10-05 Thread Christian Brueffer
Author: brueffer
Date: Tue Oct  5 20:39:36 2010
New Revision: 213460
URL: http://svn.freebsd.org/changeset/base/213460

Log:
  SEE ALSO should sorted by manpage section first.

Modified:
  head/usr.bin/man/manpath.1

Modified: head/usr.bin/man/manpath.1
==
--- head/usr.bin/man/manpath.1  Tue Oct  5 18:47:51 2010(r213459)
+++ head/usr.bin/man/manpath.1  Tue Oct  5 20:39:36 2010(r213460)
@@ -119,5 +119,5 @@ Local configuration files.
 .Sh SEE ALSO
 .Xr apropos 1 ,
 .Xr man 1 ,
-.Xr man.conf 5 ,
-.Xr whatis 1
+.Xr whatis 1 ,
+.Xr man.conf 5
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225184 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2011-08-25 Thread Christian Brueffer
Author: brueffer
Date: Thu Aug 25 21:20:11 2011
New Revision: 225184
URL: http://svn.freebsd.org/changeset/base/225184

Log:
  Auto-generate hardware notes for vxge(4).
  
  Approved by:  re (kib)

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml
  head/release/doc/share/misc/dev.archlist.txt

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Thu Aug 25 
18:03:29 2011(r225183)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Thu Aug 25 
21:20:11 2011(r225184)
@@ -987,6 +987,8 @@
 
   &hwlist.vx;
 
+  &hwlist.vxge;
+
   &hwlist.wb;
 
   &hwlist.xe;

Modified: head/release/doc/share/misc/dev.archlist.txt
==
--- head/release/doc/share/misc/dev.archlist.txtThu Aug 25 18:03:29 
2011(r225183)
+++ head/release/doc/share/misc/dev.archlist.txtThu Aug 25 21:20:11 
2011(r225184)
@@ -161,6 +161,7 @@ uvisor  i386,pc98,amd64
 uvscom i386,pc98,amd64
 vpoi386
 vx i386,pc98,ia64,amd64
+vxge   i386,amd64
 wb i386,pc98,amd64
 xe i386,amd64
 zydi386,amd64
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225196 - head/share/man/man4

2011-08-26 Thread Christian Brueffer
Author: brueffer
Date: Fri Aug 26 17:35:22 2011
New Revision: 225196
URL: http://svn.freebsd.org/changeset/base/225196

Log:
  Fix the manpage section number, thus unbreaking the hardware notes build. (1)
  Also hook up vxge(4) to the build.
  
  Submitted by: simon (1)
  Approved by:  re (blackend)

Modified:
  head/share/man/man4/Makefile
  head/share/man/man4/vxge.4

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileFri Aug 26 17:28:29 2011
(r225195)
+++ head/share/man/man4/MakefileFri Aug 26 17:35:22 2011
(r225196)
@@ -500,6 +500,7 @@ MAN=aac.4 \
vpo.4 \
vr.4 \
vte.4 \
+   ${_vxge.4} \
watchdog.4 \
wb.4 \
wi.4 \
@@ -645,6 +646,7 @@ MLINKS+=vge.4 if_vge.4
 MLINKS+=vlan.4 if_vlan.4
 MLINKS+=vpo.4 imm.4
 MLINKS+=vr.4 if_vr.4
+MLINKS+=${_vxge.4} ${_if_vxge.4}
 MLINKS+=watchdog.4 SW_WATCHDOG.4
 MLINKS+=wb.4 if_wb.4
 MLINKS+=wi.4 if_wi.4
@@ -685,6 +687,7 @@ _if_nfe.4=  if_nfe.4
 _if_nve.4= if_nve.4
 _if_nxge.4=if_nxge.4
 _if_urtw.4=if_urtw.4
+_if_vxge.4=if_vxge.4
 _if_wpi.4= if_wpi.4
 _ipmi.4=   ipmi.4
 _io.4= io.4
@@ -696,6 +699,7 @@ _nfsmb.4=   nfsmb.4
 _nve.4=nve.4
 _nvram.4=  nvram.4
 _nxge.4=   nxge.4
+_vxge.4=   vxge.4
 _padlock.4=padlock.4
 _rr232x.4= rr232x.4
 _speaker.4=speaker.4

Modified: head/share/man/man4/vxge.4
==
--- head/share/man/man4/vxge.4  Fri Aug 26 17:28:29 2011(r225195)
+++ head/share/man/man4/vxge.4  Fri Aug 26 17:35:22 2011(r225196)
@@ -25,7 +25,7 @@
 .\" $FreeBSD$
 .\"
 .Dd March 16, 2011
-.Dt VXGE 1
+.Dt VXGE 4
 .Os
 .Sh NAME
 .Nm vxge
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225215 - head/bin/ed

2011-08-27 Thread Christian Brueffer
Author: brueffer
Date: Sat Aug 27 15:28:57 2011
New Revision: 225215
URL: http://svn.freebsd.org/changeset/base/225215

Log:
  Fix memory leaks in error cases.
  
  PR:   159011
  Submitted by: Henning Petersen 
  Approved by:  re (kib)
  MFC after:1 week

Modified:
  head/bin/ed/buf.c

Modified: head/bin/ed/buf.c
==
--- head/bin/ed/buf.c   Sat Aug 27 14:24:27 2011(r225214)
+++ head/bin/ed/buf.c   Sat Aug 27 15:28:57 2011(r225215)
@@ -94,6 +94,7 @@ put_sbuf_line(const char *cs)
;
if (s - cs >= LINECHARS) {
errmsg = "line too long";
+   free(lp);
return NULL;
}
len = s - cs;
@@ -102,6 +103,7 @@ put_sbuf_line(const char *cs)
if (fseeko(sfp, (off_t)0, SEEK_END) < 0) {
fprintf(stderr, "%s\n", strerror(errno));
errmsg = "cannot seek temp file";
+   free(lp);
return NULL;
}
sfseek = ftello(sfp);
@@ -112,6 +114,7 @@ put_sbuf_line(const char *cs)
sfseek = -1;
fprintf(stderr, "%s\n", strerror(errno));
errmsg = "cannot write temp file";
+   free(lp);
return NULL;
}
lp->len = len;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225220 - in head: . share/man/man9

2011-08-27 Thread Christian Brueffer
Author: brueffer
Date: Sat Aug 27 22:08:01 2011
New Revision: 225220
URL: http://svn.freebsd.org/changeset/base/225220

Log:
  Remove information and MLINK for MULTI_DRIVER_MODULE().
  The macro was removed in r121129 almost 8 years ago.
  
  PR:   150244
  Submitted by: Gireesh Nagabhushana 
  Approved by:  re (kib)

Modified:
  head/ObsoleteFiles.inc
  head/share/man/man9/DRIVER_MODULE.9
  head/share/man/man9/Makefile

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Sat Aug 27 21:23:21 2011(r225219)
+++ head/ObsoleteFiles.inc  Sat Aug 27 22:08:01 2011(r225220)
@@ -2293,6 +2293,8 @@ OLD_FILES+=lib/libz.so
 OLD_FILES+=bin/cxconfig
 OLD_FILES+=sbin/cxconfig
 OLD_FILES+=usr/share/man/man8/cxconfig.8.gz
+# 20031016: MULTI_DRIVER_MODULE macro removed
+OLD_FILES+=usr/share/man/man9/MULTI_DRIVER_MODULE.9.gz
 # 200309XX
 OLD_FILES+=usr/bin/symorder
 OLD_FILES+=usr/share/man/man1/symorder.1.gz

Modified: head/share/man/man9/DRIVER_MODULE.9
==
--- head/share/man/man9/DRIVER_MODULE.9 Sat Aug 27 21:23:21 2011
(r225219)
+++ head/share/man/man9/DRIVER_MODULE.9 Sat Aug 27 22:08:01 2011
(r225220)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 16, 2000
+.Dd August 27, 2011
 .Dt DRIVER_MODULE 9
 .Os
 .Sh NAME
@@ -40,7 +40,6 @@
 .In sys/bus.h
 .In sys/module.h
 .Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" 
"modeventhand_t evh" "void *arg"
-.Fn MULTI_DRIVER_MODULE name busname "driver_t drivers[]" "devclass_t 
devclass" "modeventhand_t evh" "void *arg"
 .Sh DESCRIPTION
 The
 .Fn DRIVER_MODULE
@@ -96,11 +95,6 @@ The
 is unused at this time and should be a
 .Dv NULL
 pointer.
-.Pp
-.Fn MULTI_DRIVER_MODULE
-is a special version of
-.Fn DRIVER_MODULE ,
-which takes a list of drivers instead of a single driver instance.
 .Sh SEE ALSO
 .Xr device 9 ,
 .Xr driver 9 ,

Modified: head/share/man/man9/Makefile
==
--- head/share/man/man9/MakefileSat Aug 27 21:23:21 2011
(r225219)
+++ head/share/man/man9/MakefileSat Aug 27 22:08:01 2011
(r225220)
@@ -605,7 +605,6 @@ MLINKS+=domain.9 DOMAIN_SET.9 \
domain.9 pfctlinput2.9 \
domain.9 pffindproto.9 \
domain.9 pffindtype.9
-MLINKS+=DRIVER_MODULE.9 MULTI_DRIVER_MODULE.9
 MLINKS+=EVENTHANDLER.9 EVENTHANDLER_DECLARE.9 \
EVENTHANDLER.9 EVENTHANDLER_DEREGISTER.9 \
EVENTHANDLER.9 eventhandler_deregister.9 \
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225222 - head

2011-08-27 Thread Christian Brueffer
Author: brueffer
Date: Sat Aug 27 22:10:53 2011
New Revision: 225222
URL: http://svn.freebsd.org/changeset/base/225222

Log:
  Correct some old manpage removal entries.
  
  Approved by:  re (kib)

Modified:
  head/ObsoleteFiles.inc

Modified: head/ObsoleteFiles.inc
==
--- head/ObsoleteFiles.inc  Sat Aug 27 22:10:45 2011(r225221)
+++ head/ObsoleteFiles.inc  Sat Aug 27 22:10:53 2011(r225222)
@@ -2043,9 +2043,9 @@ OLD_FILES+=usr/share/man/man5/ipsend.5.g
 OLD_FILES+=usr/bin/gtar
 OLD_FILES+=usr/share/man/man1/gtar.1.gz
 # 200503XX
-OLD_FILES+=share/man/man3/exp10.3.gz
-OLD_FILES+=share/man/man3/exp10f.3.gz
-OLD_FILES+=share/man/man3/fpsetsticky.3.gz
+OLD_FILES+=usr/share/man/man3/exp10.3.gz
+OLD_FILES+=usr/share/man/man3/exp10f.3.gz
+OLD_FILES+=usr/share/man/man3/fpsetsticky.3.gz
 # 20050324: updated release infrastructure
 OLD_FILES+=usr/share/man/man5/drivers.conf.5.gz
 # 20050317: removed from BIND 9 distribution
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225228 - head/share/man/man4

2011-08-28 Thread Christian Brueffer
Author: brueffer
Date: Sun Aug 28 10:10:31 2011
New Revision: 225228
URL: http://svn.freebsd.org/changeset/base/225228

Log:
  Remove broken link to supported wifi cards. There doesn't appear to
  be an equivalent list anywhere else.
  
  PR:   157778
  Submitted by: Ted Mittelstaedt 
  Approved by:  re (blackend)
  MFC after:1 week

Modified:
  head/share/man/man4/ath.4
  head/share/man/man4/ath_hal.4

Modified: head/share/man/man4/ath.4
==
--- head/share/man/man4/ath.4   Sun Aug 28 09:26:48 2011(r225227)
+++ head/share/man/man4/ath.4   Sun Aug 28 10:10:31 2011(r225228)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"/
-.Dd March 21, 2010
+.Dd August 28, 2011
 .Dt ATH 4
 .Os
 .Sh NAME
@@ -156,9 +156,6 @@ The
 .Nm
 driver supports all Atheros Cardbus and PCI cards,
 except those that are based on the AR5005VL chipset.
-.Pp
-A list of cards that are supported can be found at
-.Pa http://customerproducts.atheros.com/customerproducts/default.asp .
 .Sh EXAMPLES
 Join a specific BSS network with WEP encryption:
 .Bd -literal -offset indent

Modified: head/share/man/man4/ath_hal.4
==
--- head/share/man/man4/ath_hal.4   Sun Aug 28 09:26:48 2011
(r225227)
+++ head/share/man/man4/ath_hal.4   Sun Aug 28 10:10:31 2011
(r225228)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"/
-.Dd March 25, 2009
+.Dd August 28, 2011
 .Dt ATH_HAL 4
 .Os
 .Sh NAME
@@ -129,9 +129,6 @@ module:
 .It "Sony PCWA-C500AR5210  Cardbus a"
 .It "3Com 3CRPAG175AR5212  CardBus a/b/g"
 .El
-.Pp
-An up to date list can be found at
-.Pa http://customerproducts.atheros.com/customerproducts .
 .Sh SEE ALSO
 .Xr ath 4
 .Sh HISTORY
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225348 - head/share/man/man4

2011-09-02 Thread Christian Brueffer
Author: brueffer
Date: Fri Sep  2 18:37:48 2011
New Revision: 225348
URL: http://svn.freebsd.org/changeset/base/225348

Log:
  Remove an incorrect apostrophe.
  
  PR:   160267
  Submitted by: Warren Block 
  Approved by:  re (kib)
  MFC after:1 week

Modified:
  head/share/man/man4/wlan.4

Modified: head/share/man/man4/wlan.4
==
--- head/share/man/man4/wlan.4  Fri Sep  2 18:18:24 2011(r225347)
+++ head/share/man/man4/wlan.4  Fri Sep  2 18:37:48 2011(r225348)
@@ -121,7 +121,7 @@ Note that an interface's type cannot be 
 .Pp
 .Nm
 defines several mechanisms by which plugin modules may
-be used to extend its' functionality.
+be used to extend its functionality.
 Cryptographic support such as WEP, TKIP, and AES-CCMP are implemented
 as standalone modules (if not statically configured into a system)
 that register with
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225352 - head/share/man/man4

2011-09-02 Thread Christian Brueffer
Author: brueffer
Date: Fri Sep  2 18:52:28 2011
New Revision: 225352
URL: http://svn.freebsd.org/changeset/base/225352

Log:
  Wording, grammar and markup cleanup.
  
  PR:   159948
  Submitted by: Ben Kaduk 
  Approved by:  re (kib)

Modified:
  head/share/man/man4/ata.4

Modified: head/share/man/man4/ata.4
==
--- head/share/man/man4/ata.4   Fri Sep  2 18:52:17 2011(r225351)
+++ head/share/man/man4/ata.4   Fri Sep  2 18:52:28 2011(r225352)
@@ -74,47 +74,56 @@ atasis_load="YES"
 atavia_load="YES"
 .Ed
 .Pp
-First line is common hardware independent code.
-Next three lines are generic bus-specific drivers.
-ataahci is AHCI driver.
-The rest are vendor-specific PCI drivers.
-ATA_CAM option should always remain in kernel configuration to make
-the driver work as CAM(4) subsystem module.
+The first line is for the common hardware independent code, and is a
+prerequisite for the other modules.
+The next three lines are generic bus-specific drivers.
+Of the rest, ataahci is the AHCI driver.
+The others are vendor-specific PCI drivers.
+The
+.Dv ATA_CAM
+option should always remain in the kernel configuration, to make
+the driver work as a
+.Xr CAM 4
+subsystem module.
 .Pp
 The following tunables are settable from the
 .Xr loader 8 :
 .Bl -ohang
 .It Va hw.ata.ata_dma_check_80pin
-set to 0 to disable the 80pin cable check (default is 1, check the cable) 
+set to 0 to disable the 80pin cable check (the default is 1, check the cable)
 .It Va hint.atapci.X.msi
-set to 1 to allow Message Signalled Interrupts (MSI) to be used by
+set to 1 to allow Message Signalled Interrupts (MSI) to be used by the
 specified PCI ATA controller, if supported.
 .It Va hint.ata.X.devX.mode
-limits initial ATA mode for specified device on specified channel.
+limits the initial ATA mode for the specified device on specified the channel.
 .It Va hint.ata.X.mode
-limits initial ATA mode for every device on specified channel.
+limits the initial ATA mode for every device on the specified channel.
 .It Va hint.ata.X.pm_level
-controls SATA interface Power Management for specified channel,
-allowing to save some power by the cost of additional command latency.
+controls SATA interface Power Management for the specified channel,
+allowing some power savings at the cost of additional command latency.
 Possible values:
 .Bl -tag -compact
 .It 0
-interface Power Management is disabled, default value.
+Interface Power Management is disabled.
+This is the default value.
 .It 1
-device is allowed to initiate PM state change, host is passive.
+The device is allowed to initiate a PM state change; the host is passive.
 .It 2
-host initiates PARTIAL PM state transition every time port becomes idle.
+The host initiates a PARTIAL PM state transition every time a port becomes 
idle.
 .It 3
 host initiates SLUMBER PM state transition every time port becomes idle.
 .El
-Modes 2 and 3 are supported only for AHCI.
+Modes 2 and 3 are only supported for AHCI.
 .El
 .Sh DESCRIPTION
 The
 .Nm
-driver provides the CAM(4) subsystem access to ATA (IDE) and SATA ports
+driver gives the
+.Xr CAM 4
+subsystem access to the ATA (IDE) and SATA ports
 of many generic controllers.
-Depending on controller, each PATA port or each one or two SATA ports are
+Depending on the controller, each PATA (IDE)
+port or each one or two SATA ports are
 represented to CAM as a separate bus with one or two targets.
 Most of the bus-management details are handled by the ATA/SATA-specific
 transport of CAM.
@@ -126,22 +135,23 @@ ATAPI devices are handled by the SCSI pr
 .Xr sa 4 ,
 etc.
 .Pp
-Driver supports ATA and for the most of controllers ATAPI devices.
+This driver supports ATA, and for the most of controllers, ATAPI devices.
 Command queuing and SATA port multipliers are not supported.
-Device hot-plug and SATA interface power management supported only on
+Device hot-plug and SATA interface power management is supported only on
 some controllers.
 .Pp
 The
 .Nm
 driver can change the transfer mode when the system is up and running.
-See
-.Xr camcontrol 8
-negotiate subcommand.
+See the
+.Cm negotiate
+subcommand of
+.Xr camcontrol 8 .
 .Pp
 The
 .Nm
 driver sets the maximum transfer mode supported by the hardware as default.
-However the
+However, the
 .Nm
 driver sometimes warns:
 .Dq Sy "DMA limited to UDMA33, non-ATA66 cable or device".
@@ -247,10 +257,12 @@ The
 .Nm
 driver first appeared in
 .Fx 4.0 .
-Turned into CAM(4) interface module in
+It was turned into a
+.Xr CAM 4
+interface module in
 .Fx 9.0 .
 .Sh AUTHORS
 .An Alexander Motin
 .Aq m...@freebsd.org ,
 .An S\(/oren Schmidt
-.Aq s...@freebsd.org .
+.Aq s...@freebsd.org
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225467 - in head/usr.sbin: bsdinstall/scripts pc-sysinstall/backend

2011-09-10 Thread Christian Brueffer
Author: brueffer
Date: Sat Sep 10 09:40:00 2011
New Revision: 225467
URL: http://svn.freebsd.org/changeset/base/225467

Log:
  Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists.
  
  PR:   157210, 157211
  Submitted by: Niclas Zeising 
  Approved by:  re (kib)

Modified:
  head/usr.sbin/bsdinstall/scripts/mirrorselect
  head/usr.sbin/pc-sysinstall/backend/functions-ftp.sh

Modified: head/usr.sbin/bsdinstall/scripts/mirrorselect
==
--- head/usr.sbin/bsdinstall/scripts/mirrorselect   Sat Sep 10 08:00:26 
2011(r225466)
+++ head/usr.sbin/bsdinstall/scripts/mirrorselect   Sat Sep 10 09:40:00 
2011(r225467)
@@ -45,6 +45,7 @@ MIRROR=`dialog --backtitle "FreeBSD Inst
ftp://ftp3.ie.freebsd.org   "IPv6 Ireland"\
ftp://ftp.il.freebsd.org"IPv6 Israel"\
ftp://ftp2.jp.freebsd.org   "IPv6 Japan"\
+   ftp://ftp4.se.freebsd.org   "IPv6 Sweden"\
ftp://ftp4.us.freebsd.org   "IPv6 USA"\
ftp://ftp2.tr.freebsd.org   "IPv6 Turkey"\
ftp://ftp1.freebsd.org  "Primary"\

Modified: head/usr.sbin/pc-sysinstall/backend/functions-ftp.sh
==
--- head/usr.sbin/pc-sysinstall/backend/functions-ftp.shSat Sep 10 
08:00:26 2011(r225466)
+++ head/usr.sbin/pc-sysinstall/backend/functions-ftp.shSat Sep 10 
09:40:00 2011(r225467)
@@ -40,6 +40,7 @@ IPv6 Main Site: ftp.freebsd.org|\
 IPv6 Ireland: ftp3.ie.freebsd.org|\
 IPv6 Israel: ftp.il.freebsd.org|\
 IPv6 Japan: ftp2.jp.freebsd.org|\
+IPv6 Sweden: ftp4.se.freebsd.org|\
 IPv6 USA: ftp4.us.freebsd.org|\
 IPv6 Turkey: ftp2.tr.freebsd.org"
 
@@ -212,6 +213,7 @@ SWEDEN_FTP_SERVERS="\
 Sweden: ftp.se.freebsd.org|\
 Sweden #2: ftp2.se.freebsd.org|\
 Sweden #3: ftp3.se.freebsd.org|\
+Sweden #4: ftp4.se.freebsd.org|\
 Sweden #5: ftp5.se.freebsd.org"
 
 SWITZERLAND_FTP_SERVERS="\
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225482 - in head/sys: amd64/conf arm/conf i386/conf mips/conf pc98/conf sparc64/conf

2011-09-11 Thread Christian Brueffer
Author: brueffer
Date: Sun Sep 11 17:39:51 2011
New Revision: 225482
URL: http://svn.freebsd.org/changeset/base/225482

Log:
  Fix a zyd(4) comment typo that was copy+pasted into most kernel config files.
  
  PR:   160276
  Submitted by: MATSUMIYA Ryo 
  Approved by:  re (kib)
  MFC after:1 week

Modified:
  head/sys/amd64/conf/GENERIC
  head/sys/arm/conf/HL200
  head/sys/arm/conf/HL201
  head/sys/arm/conf/KB920X
  head/sys/arm/conf/QILA9G20
  head/sys/arm/conf/SAM9G20EK
  head/sys/i386/conf/GENERIC
  head/sys/mips/conf/OCTEON1
  head/sys/pc98/conf/GENERIC
  head/sys/sparc64/conf/GENERIC

Modified: head/sys/amd64/conf/GENERIC
==
--- head/sys/amd64/conf/GENERIC Sun Sep 11 17:07:33 2011(r225481)
+++ head/sys/amd64/conf/GENERIC Sun Sep 11 17:39:51 2011(r225482)
@@ -326,7 +326,7 @@ device  uath# Atheros AR5523 
wireless 
 device upgt# Conexant/Intersil PrismGT wireless NICs.
 device ural# Ralink Technology RT2500USB wireless NICs
 device urtw# Realtek RTL8187B/L wireless NICs
-device zyd # ZyDAS zb1211/zb1211b wireless NICs
+device zyd # ZyDAS zd1211/zd1211b wireless NICs
 
 # FireWire support
 device firewire# FireWire bus code

Modified: head/sys/arm/conf/HL200
==
--- head/sys/arm/conf/HL200 Sun Sep 11 17:07:33 2011(r225481)
+++ head/sys/arm/conf/HL200 Sun Sep 11 17:39:51 2011(r225482)
@@ -126,7 +126,7 @@ device  udav# Davicom DM9601E USB
 device rum # Ralink Technology RT2501USB wireless NICs
 device uath# Atheros AR5523 wireless NICs
 device ural# Ralink Technology RT2500USB wireless NICs
-device zyd # ZyDAS zb1211/zb1211b wireless NICs
+device zyd # ZyDAS zd1211/zd1211b wireless NICs
 # SCSI peripherals
 device scbus   # SCSI bus (required for SCSI)
 device da  # Direct Access (disks)

Modified: head/sys/arm/conf/HL201
==
--- head/sys/arm/conf/HL201 Sun Sep 11 17:07:33 2011(r225481)
+++ head/sys/arm/conf/HL201 Sun Sep 11 17:39:51 2011(r225482)
@@ -117,7 +117,7 @@ device  udav# Davicom DM9601E USB
 #devicerum # Ralink Technology RT2501USB wireless 
NICs
 #deviceuath# Atheros AR5523 wireless NICs
 #deviceural# Ralink Technology RT2500USB wireless 
NICs
-#devicezyd # ZyDAS zb1211/zb1211b wireless NICs
+#devicezyd # ZyDAS zd1211/zd1211b wireless NICs
 # SCSI peripherals
 device scbus   # SCSI bus (required for SCSI)
 device da  # Direct Access (disks)

Modified: head/sys/arm/conf/KB920X
==
--- head/sys/arm/conf/KB920XSun Sep 11 17:07:33 2011(r225481)
+++ head/sys/arm/conf/KB920XSun Sep 11 17:39:51 2011(r225482)
@@ -126,7 +126,7 @@ device  udav# Davicom DM9601E USB
 device rum # Ralink Technology RT2501USB wireless NICs
 device uath# Atheros AR5523 wireless NICs
 device ural# Ralink Technology RT2500USB wireless NICs
-device zyd # ZyDAS zb1211/zb1211b wireless NICs
+device zyd # ZyDAS zd1211/zd1211b wireless NICs
 # SCSI peripherals
 device scbus   # SCSI bus (required for SCSI)
 device da  # Direct Access (disks)

Modified: head/sys/arm/conf/QILA9G20
==
--- head/sys/arm/conf/QILA9G20  Sun Sep 11 17:07:33 2011(r225481)
+++ head/sys/arm/conf/QILA9G20  Sun Sep 11 17:39:51 2011(r225482)
@@ -142,7 +142,7 @@ device  udav# Davicom DM9601E USB
 #devicerum # Ralink Technology RT2501USB wireless 
NICs
 #deviceuath# Atheros AR5523 wireless NICs
 #deviceural# Ralink Technology RT2500USB wireless 
NICs
-#devicezyd # ZyDAS zb1211/zb1211b wireless NICs
+#devicezyd # ZyDAS zd1211/zd1211b wireless NICs
 
 # Wireless NIC cards
 #devicewlan# 802.11 support

Modified: head/sys/arm/conf/SAM9G20EK
==
--- head/sys/arm/conf/SAM9G20EK Sun Sep 11 17:07:33 2011(r225481)
+++ head/sys/arm/conf/SAM9G20EK Sun Sep 11 17:39:51 2011 

svn commit: r225517 - head/sys/modules

2011-09-12 Thread Christian Brueffer
Author: brueffer
Date: Mon Sep 12 20:57:22 2011
New Revision: 225517
URL: http://svn.freebsd.org/changeset/base/225517

Log:
  Connect the vxge(4) module to the i386/amd64 build.
  
  Catcher of stupid errors: kib
  Approved by:  re (kib)

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==
--- head/sys/modules/Makefile   Mon Sep 12 20:39:31 2011(r225516)
+++ head/sys/modules/Makefile   Mon Sep 12 20:57:22 2011(r225517)
@@ -319,6 +319,7 @@ SUBDIR= ${_3dfx} \
vr \
vte \
vx \
+   ${_vxge} \
wb \
${_wi} \
wlan \
@@ -472,6 +473,7 @@ _sppp=  sppp
 _stg=  stg
 _streams=  streams
 _svr4= svr4
+_vxge= vxge
 _wi=   wi
 _xe=   xe
 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
@@ -625,6 +627,7 @@ _sppp=  sppp
 _tpm=  tpm
 _twa=  twa
 _vesa= vesa
+_vxge= vxge
 _x86bios=  x86bios
 _wi=   wi
 _wpi=  wpi
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225533 - head/sys/dev/acpica

2011-09-13 Thread Christian Brueffer
Author: brueffer
Date: Tue Sep 13 15:57:29 2011
New Revision: 225533
URL: http://svn.freebsd.org/changeset/base/225533

Log:
  Improve the sleep_delay sysctl description by specifying which unit
  the number is in.
  
  PR:   159975
  Submitted by: gcooper
  Approved by:  re (kib)
  MFC after:1 week

Modified:
  head/sys/dev/acpica/acpi.c

Modified: head/sys/dev/acpica/acpi.c
==
--- head/sys/dev/acpica/acpi.c  Tue Sep 13 15:49:28 2011(r225532)
+++ head/sys/dev/acpica/acpi.c  Tue Sep 13 15:57:29 2011(r225533)
@@ -574,7 +574,7 @@ acpi_attach(device_t dev)
&sc->acpi_suspend_sx, 0, acpi_sleep_state_sysctl, "A", "");
 SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
OID_AUTO, "sleep_delay", CTLFLAG_RW, &sc->acpi_sleep_delay, 0,
-   "sleep delay");
+   "sleep delay in seconds");
 SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
OID_AUTO, "s4bios", CTLFLAG_RW, &sc->acpi_s4bios, 0, "S4BIOS mode");
 SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225535 - head/usr.bin/csup

2011-09-13 Thread Christian Brueffer
Author: brueffer
Date: Tue Sep 13 20:33:27 2011
New Revision: 225535
URL: http://svn.freebsd.org/changeset/base/225535

Log:
  Fix csup to allow case insensitive server names in the auth file,
  just as advertised in the manpage.
  
  PR:   158652
  Submitted by: stephen
  Approved by:  re (kib)
  MFC after:1 week

Modified:
  head/usr.bin/csup/auth.c

Modified: head/usr.bin/csup/auth.c
==
--- head/usr.bin/csup/auth.cTue Sep 13 20:16:11 2011(r225534)
+++ head/usr.bin/csup/auth.cTue Sep 13 20:33:27 2011(r225535)
@@ -192,7 +192,7 @@ auth_lookuprecord(char *server, struct s
goto close;
}
/* Skip the rest of this line, it isn't what we are looking 
for. */
-   if (strcmp(auth->server, server) != 0)
+   if (strcasecmp(auth->server, server) != 0)
continue;
error = auth_parsetoken(&line, auth->client,
sizeof(auth->client));
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225536 - head/usr.bin/csup

2011-09-13 Thread Christian Brueffer
Author: brueffer
Date: Tue Sep 13 20:35:34 2011
New Revision: 225536
URL: http://svn.freebsd.org/changeset/base/225536

Log:
  Fix typos in error messages.
  
  Found by: kib
  Approved by:  re (kib)
  MFC after:1 week

Modified:
  head/usr.bin/csup/auth.c

Modified: head/usr.bin/csup/auth.c
==
--- head/usr.bin/csup/auth.cTue Sep 13 20:33:27 2011(r225535)
+++ head/usr.bin/csup/auth.cTue Sep 13 20:35:34 2011(r225536)
@@ -188,7 +188,7 @@ auth_lookuprecord(char *server, struct s
error = auth_parsetoken(&line, auth->server,
sizeof(auth->server));
if (error != STATUS_SUCCESS) {
-   lprintf(-1, "%s:%d Missng client name\n", authfile, 
linenum);
+   lprintf(-1, "%s:%d Missing client name\n", authfile, 
linenum);
goto close;
}
/* Skip the rest of this line, it isn't what we are looking 
for. */
@@ -197,13 +197,13 @@ auth_lookuprecord(char *server, struct s
error = auth_parsetoken(&line, auth->client,
sizeof(auth->client));
if (error != STATUS_SUCCESS) {
-   lprintf(-1, "%s:%d Missng password\n", authfile, 
linenum);
+   lprintf(-1, "%s:%d Missing password\n", authfile, 
linenum);
goto close;
}
error = auth_parsetoken(&line, auth->password,
sizeof(auth->password));
if (error != STATUS_SUCCESS) {
-   lprintf(-1, "%s:%d Missng comment\n", authfile, 
linenum);
+   lprintf(-1, "%s:%d Missing comment\n", authfile, 
linenum);
goto close;
}
stream_close(s);
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225539 - head/usr.sbin/bsdinstall/scripts

2011-09-13 Thread Christian Brueffer
Author: brueffer
Date: Tue Sep 13 21:39:26 2011
New Revision: 225539
URL: http://svn.freebsd.org/changeset/base/225539

Log:
  Allow WPA PSKs up to 63 characters, the max length according to
  wpa_supplicant.conf(5).  Up to now, the PSK was truncated
  to 15 characters (the length of the input field).
  
  PR:   159559
  Submitted by: Gavin Chappell 
  Approved by:  re (kib)

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Sep 13 21:15:23 2011
(r225538)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Sep 13 21:39:26 2011
(r225539)
@@ -92,7 +92,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; the
PASS=`dialog --insecure --backtitle "FreeBSD Installer" \
--title "WPA Setup" --mixedform "" 0 0 0 \
"SSID" 1 0 "$NETWORK" 1 12 0 0 2 \
-   "Password" 2 0 "" 2 12 15 0 1 \
+   "Password" 2 0 "" 2 12 15 63 1 \
2>&1 1>&3` \
|| exec $0 $@
exec 3>&-
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r225560 - head/etc

2011-09-14 Thread Christian Brueffer
Author: brueffer
Date: Wed Sep 14 20:13:10 2011
New Revision: 225560
URL: http://svn.freebsd.org/changeset/base/225560

Log:
  Minor spelling, wording and punctuation fixes in comments.
  
  PR:   155984
  Submitted by: gcooper
  Approved by:  re (kib)
  MFC after:1 week

Modified:
  head/etc/network.subr

Modified: head/etc/network.subr
==
--- head/etc/network.subr   Wed Sep 14 19:10:13 2011(r225559)
+++ head/etc/network.subr   Wed Sep 14 20:13:10 2011(r225560)
@@ -32,7 +32,7 @@
 
 # ifn_start ifn
 #  Bring up and configure an interface.  If some configuration is
-#  applied print the interface configuration.
+#  applied, print the interface configuration.
 #
 ifn_start()
 {
@@ -53,7 +53,7 @@ ifn_start()
 }
 
 # ifn_stop ifn
-#  Shutdown and de-configure an interface.  If action is taken
+#  Shutdown and de-configure an interface.  If action is taken,
 #  print the interface name.
 #
 ifn_stop()
@@ -227,8 +227,8 @@ get_if_var()
 }
 
 # _ifconfig_getargs if [af]
-#  Echos the arguments for the supplied interface to stdout.
-#  returns 1 if empty.  In general, ifconfig_getargs should be used
+#  Prints the arguments for the supplied interface to stdout.
+#  Returns 1 if empty.  In general, ifconfig_getargs should be used
 #  outside this file.
 _ifconfig_getargs()
 {
@@ -272,7 +272,7 @@ ifconfig_getargs()
 }
 
 # autoif
-#  Returns 0 if the interface should be automaticly configured at
+#  Returns 0 if the interface should be automatically configured at
 #  boot time and 1 otherwise.
 autoif()
 {
@@ -449,7 +449,7 @@ ipv6if()
 
 # ipv6_autoconfif if
 #  Returns 0 if the interface should be configured for IPv6 with
-#  Stateless Address Configuration, 1 otherwise.
+#  Stateless Address Configuration; 1 otherwise.
 ipv6_autoconfif()
 {
local _if _tmpargs _arg
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226116 - head/sys/dev/ppbus

2011-10-07 Thread Christian Brueffer
Author: brueffer
Date: Fri Oct  7 20:54:12 2011
New Revision: 226116
URL: http://svn.freebsd.org/changeset/base/226116

Log:
  Add missing va_end() to clean up after va_start().
  
  CID:  4725
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/dev/ppbus/ppb_msq.c

Modified: head/sys/dev/ppbus/ppb_msq.c
==
--- head/sys/dev/ppbus/ppb_msq.cFri Oct  7 20:40:45 2011
(r226115)
+++ head/sys/dev/ppbus/ppb_msq.cFri Oct  7 20:54:12 2011
(r226116)
@@ -244,6 +244,7 @@ ppb_MS_init_msq(struct ppb_microseq *msq
}
}
 
+   va_end(p_list);
return (0);
 }
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226117 - head/sys/netipsec

2011-10-07 Thread Christian Brueffer
Author: brueffer
Date: Fri Oct  7 21:00:26 2011
New Revision: 226117
URL: http://svn.freebsd.org/changeset/base/226117

Log:
  Add missing va_end() in an error case to clean up after va_start()
  (already done in the non-error case).
  
  CID:  4726
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/netipsec/key.c

Modified: head/sys/netipsec/key.c
==
--- head/sys/netipsec/key.c Fri Oct  7 20:54:12 2011(r226116)
+++ head/sys/netipsec/key.c Fri Oct  7 21:00:26 2011(r226117)
@@ -1764,6 +1764,7 @@ key_gather_mbuf(m, mhp, ndeep, nitem, va
 
 fail:
m_freem(result);
+   va_end(ap);
return NULL;
 }
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226143 - head/sys/security/mac_mls

2011-10-08 Thread Christian Brueffer
Author: brueffer
Date: Sat Oct  8 09:14:18 2011
New Revision: 226143
URL: http://svn.freebsd.org/changeset/base/226143

Log:
  Remove two dublicated assignments.
  
  CID:  9870
  Found with:   Coverity Prevent(tm)
  Confirmed by: rwatson
  MFC after:1 week

Modified:
  head/sys/security/mac_mls/mac_mls.c

Modified: head/sys/security/mac_mls/mac_mls.c
==
--- head/sys/security/mac_mls/mac_mls.c Sat Oct  8 09:06:43 2011
(r226142)
+++ head/sys/security/mac_mls/mac_mls.c Sat Oct  8 09:14:18 2011
(r226143)
@@ -1636,9 +1636,6 @@ mls_posixshm_check_open(struct ucred *cr
subj = SLOT(cred->cr_label);
obj = SLOT(shmlabel);
 
-   subj = SLOT(cred->cr_label);
-   obj = SLOT(shmlabel);
-
if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
if (!mls_dominate_effective(subj, obj))
return (EACCES);
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226146 - head/sys/dev/bwn

2011-10-08 Thread Christian Brueffer
Author: brueffer
Date: Sat Oct  8 10:50:48 2011
New Revision: 226146
URL: http://svn.freebsd.org/changeset/base/226146

Log:
  Remove dead code, "error" doesn't change between this check and the
  previous one.
  
  CID:  3254
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==
--- head/sys/dev/bwn/if_bwn.c   Sat Oct  8 09:57:29 2011(r226145)
+++ head/sys/dev/bwn/if_bwn.c   Sat Oct  8 10:50:48 2011(r226146)
@@ -3213,8 +3213,6 @@ bwn_core_init(struct bwn_mac *mac)
bwn_pio_init(mac);
else
bwn_dma_init(mac);
-   if (error)
-   goto fail1;
bwn_wme_init(mac);
bwn_spu_setdelay(mac, 1);
bwn_bt_enable(mac);
@@ -3230,8 +3228,6 @@ bwn_core_init(struct bwn_mac *mac)
 
return (error);
 
-fail1:
-   bwn_chip_exit(mac);
 fail0:
siba_powerdown(sc->sc_dev);
KASSERT(mac->mac_status == BWN_MAC_STATUS_UNINIT,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226149 - head/sys/dev/siba

2011-10-08 Thread Christian Brueffer
Author: brueffer
Date: Sat Oct  8 12:09:57 2011
New Revision: 226149
URL: http://svn.freebsd.org/changeset/base/226149

Log:
  Fix an infinite loop in siba_bwn_suspend().
  
  CID:  3536
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/dev/siba/siba_bwn.c

Modified: head/sys/dev/siba/siba_bwn.c
==
--- head/sys/dev/siba/siba_bwn.cSat Oct  8 11:51:48 2011
(r226148)
+++ head/sys/dev/siba/siba_bwn.cSat Oct  8 12:09:57 2011
(r226149)
@@ -206,7 +206,7 @@ siba_bwn_suspend(device_t dev)
for (i = 0 ; i < devcnt ; i++) {
error = DEVICE_SUSPEND(devlistp[i]);
if (error) {
-   for (j = 0; j < i; i++)
+   for (j = 0; j < i; j++)
DEVICE_RESUME(devlistp[j]);
return (error);
}
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226185 - head/sys/kgssapi/krb5

2011-10-10 Thread Christian Brueffer
Author: brueffer
Date: Mon Oct 10 09:13:07 2011
New Revision: 226185
URL: http://svn.freebsd.org/changeset/base/226185

Log:
  Add missing break statement to make sure all 3DES etypes really are treated
  the same.
  
  CID:  3624
  Found with:   Coverity Prevent(tm)
  Reviewed by:  dfr
  MFC after:1 week

Modified:
  head/sys/kgssapi/krb5/krb5_mech.c

Modified: head/sys/kgssapi/krb5/krb5_mech.c
==
--- head/sys/kgssapi/krb5/krb5_mech.c   Mon Oct 10 06:37:32 2011
(r226184)
+++ head/sys/kgssapi/krb5/krb5_mech.c   Mon Oct 10 09:13:07 2011
(r226185)
@@ -288,6 +288,7 @@ get_keys(struct krb5_context *kc)
case ETYPE_DES3_CBC_SHA1:
case ETYPE_OLD_DES3_CBC_SHA1:
etype = ETYPE_DES3_CBC_SHA1;
+   break;
 
default:
etype = keydata->kk_type;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226247 - head/sys/compat/linux

2011-10-11 Thread Christian Brueffer
Author: brueffer
Date: Tue Oct 11 10:32:23 2011
New Revision: 226247
URL: http://svn.freebsd.org/changeset/base/226247

Log:
  Properly free linux_gidset in case of an error.
  
  CID:  4136
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/compat/linux/linux_uid16.c

Modified: head/sys/compat/linux/linux_uid16.c
==
--- head/sys/compat/linux/linux_uid16.c Tue Oct 11 07:46:45 2011
(r226246)
+++ head/sys/compat/linux/linux_uid16.c Tue Oct 11 10:32:23 2011
(r226247)
@@ -114,6 +114,7 @@ linux_setgroups16(struct thread *td, str
linux_gidset = malloc(ngrp * sizeof(*linux_gidset), M_TEMP, M_WAITOK);
error = copyin(args->gidset, linux_gidset, ngrp * sizeof(l_gid16_t));
if (error)
+   free(linux_gidset, M_TEMP);
return (error);
newcred = crget();
p = td->td_proc;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226253 - head/sys/compat/linux

2011-10-11 Thread Christian Brueffer
Author: brueffer
Date: Tue Oct 11 13:40:37 2011
New Revision: 226253
URL: http://svn.freebsd.org/changeset/base/226253

Log:
  Add curly braces missed in r226247.
  
  Pointy hat to:brueffer
  Submitted by: many
  MFC after:1 week

Modified:
  head/sys/compat/linux/linux_uid16.c

Modified: head/sys/compat/linux/linux_uid16.c
==
--- head/sys/compat/linux/linux_uid16.c Tue Oct 11 13:24:37 2011
(r226252)
+++ head/sys/compat/linux/linux_uid16.c Tue Oct 11 13:40:37 2011
(r226253)
@@ -113,9 +113,10 @@ linux_setgroups16(struct thread *td, str
return (EINVAL);
linux_gidset = malloc(ngrp * sizeof(*linux_gidset), M_TEMP, M_WAITOK);
error = copyin(args->gidset, linux_gidset, ngrp * sizeof(l_gid16_t));
-   if (error)
+   if (error) {
free(linux_gidset, M_TEMP);
return (error);
+   }
newcred = crget();
p = td->td_proc;
PROC_LOCK(p);
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r226247 - head/sys/compat/linux

2011-10-11 Thread Christian Brueffer

On 10/11/11 13:26 , Giovanni Trematerra wrote:

On Tue, Oct 11, 2011 at 12:32 PM, Christian Brueffer
  wrote:

Author: brueffer
Date: Tue Oct 11 10:32:23 2011
New Revision: 226247
URL: http://svn.freebsd.org/changeset/base/226247

Log:
  Properly free linux_gidset in case of an error.

  CID:  4136
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/compat/linux/linux_uid16.c

Modified: head/sys/compat/linux/linux_uid16.c
==
--- head/sys/compat/linux/linux_uid16.c Tue Oct 11 07:46:45 2011
(r226246)
+++ head/sys/compat/linux/linux_uid16.c Tue Oct 11 10:32:23 2011
(r226247)
@@ -114,6 +114,7 @@ linux_setgroups16(struct thread *td, str
linux_gidset = malloc(ngrp * sizeof(*linux_gidset), M_TEMP, M_WAITOK);
error = copyin(args->gidset, linux_gidset, ngrp * sizeof(l_gid16_t));
if (error)
+   free(linux_gidset, M_TEMP);
return (error);
newcred = crget();
p = td->td_proc;


Did you miss { } ?



Gah, one of those things not cought by compile-testing.

Fixing it now, thanks!

Christian

___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226398 - head/sys/dev/iicbus

2011-10-15 Thread Christian Brueffer
Author: brueffer
Date: Sat Oct 15 15:57:55 2011
New Revision: 226398
URL: http://svn.freebsd.org/changeset/base/226398

Log:
  Properly free resources in an error case.
  
  CID:  4203
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/dev/iicbus/iic.c

Modified: head/sys/dev/iicbus/iic.c
==
--- head/sys/dev/iicbus/iic.c   Sat Oct 15 15:21:33 2011(r226397)
+++ head/sys/dev/iicbus/iic.c   Sat Oct 15 15:57:55 2011(r226398)
@@ -348,8 +348,10 @@ iicioctl(struct cdev *dev, u_long cmd, c
buf = malloc(sizeof(*d->msgs) * d->nmsgs, M_TEMP, M_WAITOK);
usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | 
M_WAITOK);
error = copyin(d->msgs, buf, sizeof(*d->msgs) * d->nmsgs);
-   if (error)
+   if (error) {
+   free(usrbufs, M_TEMP);
break;
+   }
/* Alloc kernel buffers for userland data, copyin write data */
for (i = 0; i < d->nmsgs; i++) {
m = &((struct iic_msg *)buf)[i];
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226406 - head/sys/dev/siba

2011-10-15 Thread Christian Brueffer
Author: brueffer
Date: Sat Oct 15 22:27:35 2011
New Revision: 226406
URL: http://svn.freebsd.org/changeset/base/226406

Log:
  Properly free resources in case of an error.
  
  CID:  4222
  Found with:   Coverity Prevent(tm)
  MFC after:1 week

Modified:
  head/sys/dev/siba/siba_bwn.c

Modified: head/sys/dev/siba/siba_bwn.c
==
--- head/sys/dev/siba/siba_bwn.cSat Oct 15 21:23:04 2011
(r226405)
+++ head/sys/dev/siba/siba_bwn.cSat Oct 15 22:27:35 2011
(r226406)
@@ -208,6 +208,7 @@ siba_bwn_suspend(device_t dev)
if (error) {
for (j = 0; j < i; j++)
DEVICE_RESUME(devlistp[j]);
+   free(devlistp, M_TEMP);
return (error);
}
}
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r226398 - head/sys/dev/iicbus

2011-10-16 Thread Christian Brueffer

On 10/16/11 17:46 , Pawel Jakub Dawidek wrote:

On Sat, Oct 15, 2011 at 03:57:56PM +, Christian Brueffer wrote:

Author: brueffer
Date: Sat Oct 15 15:57:55 2011
New Revision: 226398
URL: http://svn.freebsd.org/changeset/base/226398

Log:
   Properly free resources in an error case.

   CID: 4203
   Found with:  Coverity Prevent(tm)
   MFC after:   1 week

Modified:
   head/sys/dev/iicbus/iic.c

Modified: head/sys/dev/iicbus/iic.c
==
--- head/sys/dev/iicbus/iic.c   Sat Oct 15 15:21:33 2011(r226397)
+++ head/sys/dev/iicbus/iic.c   Sat Oct 15 15:57:55 2011(r226398)
@@ -348,8 +348,10 @@ iicioctl(struct cdev *dev, u_long cmd, c
buf = malloc(sizeof(*d->msgs) * d->nmsgs, M_TEMP, M_WAITOK);
usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | 
M_WAITOK);
error = copyin(d->msgs, buf, sizeof(*d->msgs) * d->nmsgs);
-   if (error)
+   if (error) {
+   free(usrbufs, M_TEMP);
break;
+   }


I think that better fix is to move usrbufs allocation after copyin(), as
usrbufs is not used there.



Agreed, how about the attached patch?
Index: iic.c
===
--- iic.c   (revision 226398)
+++ iic.c   (working copy)
@@ -346,13 +346,11 @@
 
case I2CRDWR:
buf = malloc(sizeof(*d->msgs) * d->nmsgs, M_TEMP, M_WAITOK);
-   usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | 
M_WAITOK);
error = copyin(d->msgs, buf, sizeof(*d->msgs) * d->nmsgs);
-   if (error) {
-   free(usrbufs, M_TEMP);
+   if (error)
break;
-   }
/* Alloc kernel buffers for userland data, copyin write data */
+   usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | 
M_WAITOK);
for (i = 0; i < d->nmsgs; i++) {
m = &((struct iic_msg *)buf)[i];
usrbufs[i] = m->buf;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r226442 - head/sys/dev/iicbus

2011-10-16 Thread Christian Brueffer
Author: brueffer
Date: Sun Oct 16 17:38:20 2011
New Revision: 226442
URL: http://svn.freebsd.org/changeset/base/226442

Log:
  Revert r226398 and instead move the allocation of usrbufs after the error 
check.
  
  Suggested by: pjd
  MFC after:1 week

Modified:
  head/sys/dev/iicbus/iic.c

Modified: head/sys/dev/iicbus/iic.c
==
--- head/sys/dev/iicbus/iic.c   Sun Oct 16 17:37:54 2011(r226441)
+++ head/sys/dev/iicbus/iic.c   Sun Oct 16 17:38:20 2011(r226442)
@@ -346,13 +346,11 @@ iicioctl(struct cdev *dev, u_long cmd, c
 
case I2CRDWR:
buf = malloc(sizeof(*d->msgs) * d->nmsgs, M_TEMP, M_WAITOK);
-   usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | 
M_WAITOK);
error = copyin(d->msgs, buf, sizeof(*d->msgs) * d->nmsgs);
-   if (error) {
-   free(usrbufs, M_TEMP);
+   if (error)
break;
-   }
/* Alloc kernel buffers for userland data, copyin write data */
+   usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | 
M_WAITOK);
for (i = 0; i < d->nmsgs; i++) {
m = &((struct iic_msg *)buf)[i];
usrbufs[i] = m->buf;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r226937 - head/libexec/rshd

2011-10-30 Thread Christian Brueffer
Author: brueffer
Date: Sun Oct 30 12:33:19 2011
New Revision: 226937
URL: http://svn.freebsd.org/changeset/base/226937

Log:
  Fix a misplaced parenthesis.
  
  PR:   162164
  Submitted by: Henning Petersen 
  MFC after:1 week

Modified:
  head/libexec/rshd/rshd.c

Modified: head/libexec/rshd/rshd.c
==
--- head/libexec/rshd/rshd.cSun Oct 30 12:23:06 2011(r226936)
+++ head/libexec/rshd/rshd.cSun Oct 30 12:33:19 2011(r226937)
@@ -317,7 +317,7 @@ doit(struct sockaddr *fromp)
}
 
if ((pam_err = pam_set_item(pamh, PAM_RUSER, ruser)) != PAM_SUCCESS ||
-   (pam_err = pam_set_item(pamh, PAM_RHOST, rhost) != PAM_SUCCESS)) {
+   (pam_err = pam_set_item(pamh, PAM_RHOST, rhost)) != PAM_SUCCESS) {
syslog(LOG_ERR|LOG_AUTH, "pam_set_item(): %s",
pam_strerror(pamh, pam_err));
rshd_errx(1, "Login incorrect.");
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227271 - head/share/man/man4

2011-11-06 Thread Christian Brueffer
Author: brueffer
Date: Sun Nov  6 20:37:17 2011
New Revision: 227271
URL: http://svn.freebsd.org/changeset/base/227271

Log:
  Write QLogic consistently.
  
  MFC after:3 days

Modified:
  head/share/man/man4/qlxgb.4

Modified: head/share/man/man4/qlxgb.4
==
--- head/share/man/man4/qlxgb.4 Sun Nov  6 20:32:55 2011(r227270)
+++ head/share/man/man4/qlxgb.4 Sun Nov  6 20:37:17 2011(r227271)
@@ -90,4 +90,4 @@ The
 .Nm
 driver was written by
 .An David C Somayajulu
-at Qlogic Corporation.
+at QLogic Corporation.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227275 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2011-11-06 Thread Christian Brueffer
Author: brueffer
Date: Sun Nov  6 20:49:17 2011
New Revision: 227275
URL: http://svn.freebsd.org/changeset/base/227275

Log:
  Add qlxgb(4) to the hardware notes.
  
  MFC after:3 days

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml
  head/release/doc/share/misc/dev.archlist.txt

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Sun Nov  6 
20:42:32 2011(r227274)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Sun Nov  6 
20:49:17 2011(r227275)
@@ -948,6 +948,8 @@
 
   &hwlist.pcn;
 
+  &hwlist.qlxgb;
+
   &hwlist.re;
 
   &hwlist.rl;

Modified: head/release/doc/share/misc/dev.archlist.txt
==
--- head/release/doc/share/misc/dev.archlist.txtSun Nov  6 20:42:32 
2011(r227274)
+++ head/release/doc/share/misc/dev.archlist.txtSun Nov  6 20:49:17 
2011(r227275)
@@ -100,6 +100,7 @@ ohcii386,pc98,ia64,amd64,powerpc
 oltr   i386
 pcni386,pc98,ia64,amd64
 psti386
+qlxgb  amd64
 rc i386
 rali386,amd64
 ruei386,pc98,amd64
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227276 - head/share/man/man4

2011-11-06 Thread Christian Brueffer
Author: brueffer
Date: Sun Nov  6 20:59:07 2011
New Revision: 227276
URL: http://svn.freebsd.org/changeset/base/227276

Log:
  Add qlxgb(4).
  
  MFC after:3 days

Modified:
  head/share/man/man4/altq.4

Modified: head/share/man/man4/altq.4
==
--- head/share/man/man4/altq.4  Sun Nov  6 20:49:17 2011(r227275)
+++ head/share/man/man4/altq.4  Sun Nov  6 20:59:07 2011(r227276)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 30, 2010
+.Dd November 6, 2011
 .Dt ALTQ 4
 .Os
 .Sh NAME
@@ -150,6 +150,7 @@ They have been applied to the following 
 .Xr nge 4 ,
 .Xr npe 4 ,
 .Xr nve 4 ,
+.Xr qlxgb 4 ,
 .Xr ral 4 ,
 .Xr re 4 ,
 .Xr rl 4 ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227448 - head/share/man/man4

2011-11-11 Thread Christian Brueffer
Author: brueffer
Date: Fri Nov 11 12:06:09 2011
New Revision: 227448
URL: http://svn.freebsd.org/changeset/base/227448

Log:
  Reword a sentence in the HARDWARE section a little to make it more suitable
  for automatic hardware notes generation.
  
  MFC after:3 days

Modified:
  head/share/man/man4/mps.4

Modified: head/share/man/man4/mps.4
==
--- head/share/man/man4/mps.4   Fri Nov 11 07:17:00 2011(r227447)
+++ head/share/man/man4/mps.4   Fri Nov 11 12:06:09 2011(r227448)
@@ -60,9 +60,9 @@ driver provides support for LSI Logic Fu
 .Tn SAS
 controllers.
 .Sh HARDWARE
-The following controllers are supported by the
+The
 .Nm
-driver
+driver supports the following controllers:
 .Pp
 .Bl -bullet -compact
 .It
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227465 - head/share/man/man4

2011-11-12 Thread Christian Brueffer
Author: brueffer
Date: Sat Nov 12 10:17:23 2011
New Revision: 227465
URL: http://svn.freebsd.org/changeset/base/227465

Log:
  Grammar and mdoc cleanup.
  
  MFC after:3 days

Modified:
  head/share/man/man4/mvs.4

Modified: head/share/man/man4/mvs.4
==
--- head/share/man/man4/mvs.4   Sat Nov 12 09:52:27 2011(r227464)
+++ head/share/man/man4/mvs.4   Sat Nov 12 10:17:23 2011(r227465)
@@ -109,7 +109,8 @@ hardware command queues (up to 31 comman
 Native Command Queuing, SATA interface Power Management, device hot-plug
 and Message Signaled Interrupts.
 .Pp
-Same hardware is also supported by atamarvell and ataadaptec drivers from
+The same hardware is also supported by the atamarvell and ataadaptec
+drivers from the
 .Xr ata 4
 subsystem.
 If both drivers are loaded at the same time, this one will be
@@ -118,6 +119,7 @@ given precedence as the more functional 
 The
 .Nm
 driver supports the following controllers:
+.Pp
 .Bl -tag -compact
 .It Gen-I (SATA 1.5Gbps):
 .Bl -bullet -compact
@@ -155,10 +157,10 @@ driver supports the following controller
 MV78100 SoC
 .El
 .El
-Note, that this hardware supports command queueing and FIS-based switching
-only for ATA DMA commands. ATAPI and non-DMA ATA commands executed one by one
-for each port.
 .Pp
+Note, that this hardware supports command queueing and FIS-based switching
+only for ATA DMA commands.
+ATAPI and non-DMA ATA commands executed one by one for each port.
 .Sh SEE ALSO
 .Xr ada 4 ,
 .Xr ata 4 ,
@@ -172,4 +174,4 @@ The
 driver first appeared in
 .Fx 8.1 .
 .Sh AUTHORS
-.An Alexander Motin Aq m...@freebsd.org .
+.An Alexander Motin Aq m...@freebsd.org
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227466 - head/release/doc/en_US.ISO8859-1/hardware

2011-11-12 Thread Christian Brueffer
Author: brueffer
Date: Sat Nov 12 10:30:14 2011
New Revision: 227466
URL: http://svn.freebsd.org/changeset/base/227466

Log:
  Added mps(4) and mvs(4).
  
  MFC after:3 days

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Sat Nov 12 
10:17:23 2011(r227465)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Sat Nov 12 
10:30:14 2011(r227466)
@@ -798,8 +798,12 @@
 
   &hwlist.mly;
 
+  &hwlist.mps;
+
   &hwlist.mpt;
 
+  &hwlist.mvs;
+
   &hwlist.ncr;
 
   &hwlist.ncv;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227515 - head/share/man/man4

2011-11-14 Thread Christian Brueffer
Author: brueffer
Date: Mon Nov 14 22:57:47 2011
New Revision: 227515
URL: http://svn.freebsd.org/changeset/base/227515

Log:
  Remove list nesting in the hardware notes section, thus making it compatible 
with
  the hardware notes generation script.
  
  MFC after:3 days

Modified:
  head/share/man/man4/mvs.4

Modified: head/share/man/man4/mvs.4
==
--- head/share/man/man4/mvs.4   Mon Nov 14 22:16:12 2011(r227514)
+++ head/share/man/man4/mvs.4   Mon Nov 14 22:57:47 2011(r227515)
@@ -120,9 +120,8 @@ The
 .Nm
 driver supports the following controllers:
 .Pp
-.Bl -tag -compact
-.It Gen-I (SATA 1.5Gbps):
-.Bl -bullet -compact
+Gen-I (SATA 1.5Gbps):
+.Bl -bullet -compact -offset "xx"
 .It
 88SX5040
 .It
@@ -132,8 +131,9 @@ driver supports the following controller
 .It
 88SX5081
 .El
-.It Gen-II (SATA 3Gbps, NCQ, PMP):
-.Bl -bullet -compact
+.Pp
+Gen-II (SATA 3Gbps, NCQ, PMP):
+.Bl -bullet -compact -offset "xx"
 .It
 88SX6040
 .It
@@ -143,8 +143,9 @@ driver supports the following controller
 .It
 88SX6081
 .El
-.It Gen-IIe (SATA 3Gbps, NCQ, PMP with FBS):
-.Bl -bullet -compact
+.Pp
+Gen-IIe (SATA 3Gbps, NCQ, PMP with FBS):
+.Bl -bullet -compact -offset "xx"
 .It
 88SX6042
 .It
@@ -156,7 +157,6 @@ driver supports the following controller
 .It
 MV78100 SoC
 .El
-.El
 .Pp
 Note, that this hardware supports command queueing and FIS-based switching
 only for ATA DMA commands.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227516 - head/release/doc/en_US.ISO8859-1/hardware

2011-11-14 Thread Christian Brueffer
Author: brueffer
Date: Mon Nov 14 23:01:08 2011
New Revision: 227516
URL: http://svn.freebsd.org/changeset/base/227516

Log:
  Re-apply r227466 to generate hardware notes for mps(4) and mvs(4), the issues
  were fixes.
  
  Thanks to:gjb, manolis
  Pointy hat ++:brueffer
  MFC after:3 days

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Mon Nov 14 
22:57:47 2011(r227515)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Mon Nov 14 
23:01:08 2011(r227516)
@@ -798,8 +798,12 @@
 
   &hwlist.mly;
 
+  &hwlist.mps;
+
   &hwlist.mpt;
 
+  &hwlist.mvs;
+
   &hwlist.ncr;
 
   &hwlist.ncv;
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227633 - head/share/man/man4

2011-11-17 Thread Christian Brueffer
Author: brueffer
Date: Thu Nov 17 17:57:35 2011
New Revision: 227633
URL: http://svn.freebsd.org/changeset/base/227633

Log:
  Some cleanup:
  - Start sentences on new lines
  - Mark up sysctl variables
  - Use %d in sysctl variables to denote the index, as we do in other manpages

Modified:
  head/share/man/man4/sfxge.4

Modified: head/share/man/man4/sfxge.4
==
--- head/share/man/man4/sfxge.4 Thu Nov 17 17:16:43 2011(r227632)
+++ head/share/man/man4/sfxge.4 Thu Nov 17 17:57:35 2011(r227633)
@@ -48,25 +48,29 @@ sfxge_load="YES"
 The
 .Nm
 driver provides support for 10Gb Ethernet adapters based on
-Solarflare SFC9000 family controllers.  The driver supports jumbo
+Solarflare SFC9000 family controllers.
+The driver supports jumbo
 frames, transmit/receive checksum offload, TCP Segmentation Offload
 (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO,
 and Receive Side Scaling (RSS) using MSI-X interrupts.  
 .Pp
 The driver allocates 1 receive queue, transmit queue, event queue and
-IRQ per CPU up to a maximum of 64.  IRQ affinities should be spread
-out using
+IRQ per CPU up to a maximum of 64.
+IRQ affinities should be spread out using
 .Xr cpuset 8 .
 Interrupt moderation may be controlled through the sysctl
-dev.sfxge.\fIindex\fR.int_mod (units are microseconds).
+.Va dev.sfxge.%d.int_mod
+(units are microseconds).
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
 .Pp
 A large number of MAC, PHY and data path statistics are available
-under the sysctl dev.sfxge.\fIindex\fR.stats.  The adapter's VPD
+under the sysctl
+.Va dev.sfxge.%d.stats .
+The adapter's VPD
 fields including its serial number are available under the sysctl
-dev.sfxge.\fIindex\fR.vpd.
+.Va dev.sfxge.%d.vpd .
 .Sh HARDWARE
 The
 .Nm
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227666 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2011-11-18 Thread Christian Brueffer
Author: brueffer
Date: Fri Nov 18 16:54:22 2011
New Revision: 227666
URL: http://svn.freebsd.org/changeset/base/227666

Log:
  Add sfxge(4) to the hardware notes.

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml
  head/release/doc/share/misc/dev.archlist.txt

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Fri Nov 18 
14:56:06 2011(r227665)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Fri Nov 18 
16:54:22 2011(r227666)
@@ -962,6 +962,8 @@
 
   &hwlist.sf;
 
+  &hwlist.sfxge;
+
   &hwlist.sge;
 
   &hwlist.sis;

Modified: head/release/doc/share/misc/dev.archlist.txt
==
--- head/release/doc/share/misc/dev.archlist.txtFri Nov 18 14:56:06 
2011(r227665)
+++ head/release/doc/share/misc/dev.archlist.txtFri Nov 18 16:54:22 
2011(r227666)
@@ -108,6 +108,7 @@ rum i386,amd64
 runi386,amd64
 safe   i386,pc98,amd64
 sbpi386,sparc64,ia64,amd64
+sfgxe  amd64
 sn i386,amd64
 sncpc98
 snd_ad1816 i386,amd64
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r227742 - head/release/doc/en_US.ISO8859-1/hardware

2011-11-19 Thread Christian Brueffer
Author: brueffer
Date: Sat Nov 19 22:14:08 2011
New Revision: 227742
URL: http://svn.freebsd.org/changeset/base/227742

Log:
  Add 2010 and 2011 copyrights.

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.sgml

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Sat Nov 19 
21:12:35 2011(r227741)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.sgml  Sat Nov 19 
22:14:08 2011(r227742)
@@ -30,6 +30,8 @@
   2007
   2008
   2009
+  2010
+  2011
   mailto:d...@freebsd.org";>The &os; Documentation 
Project
 
 
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r344482 - head/share/man/man4

2019-02-23 Thread Christian Brueffer
Author: brueffer
Date: Sat Feb 23 09:34:57 2019
New Revision: 344482
URL: https://svnweb.freebsd.org/changeset/base/344482

Log:
  Fix a slew of mdoc errors and warnings.
  
  MFC after:1 week

Modified:
  head/share/man/man4/cc_newreno.4
  head/share/man/man4/ctl.4
  head/share/man/man4/ehci.4
  head/share/man/man4/em.4
  head/share/man/man4/ena.4
  head/share/man/man4/ips.4
  head/share/man/man4/liquidio.4
  head/share/man/man4/nda.4
  head/share/man/man4/ng_nat.4
  head/share/man/man4/ohci.4
  head/share/man/man4/pci.4
  head/share/man/man4/sctp.4
  head/share/man/man4/ses.4
  head/share/man/man4/siftr.4
  head/share/man/man4/smartpqi.4
  head/share/man/man4/sysmouse.4
  head/share/man/man4/tcp.4
  head/share/man/man4/uath.4
  head/share/man/man4/ucom.4
  head/share/man/man4/ugen.4
  head/share/man/man4/uhci.4
  head/share/man/man4/uhid.4
  head/share/man/man4/ukbd.4
  head/share/man/man4/umoscom.4
  head/share/man/man4/ums.4
  head/share/man/man4/uplcom.4
  head/share/man/man4/usb.4
  head/share/man/man4/uvscom.4
  head/share/man/man4/vale.4
  head/share/man/man4/vmci.4
  head/share/man/man4/vmm.4
  head/share/man/man4/wi.4
  head/share/man/man4/xe.4
  head/share/man/man4/xhci.4

Modified: head/share/man/man4/cc_newreno.4
==
--- head/share/man/man4/cc_newreno.4Sat Feb 23 06:03:18 2019
(r344481)
+++ head/share/man/man4/cc_newreno.4Sat Feb 23 09:34:57 2019
(r344482)
@@ -75,6 +75,7 @@ the congestion window in response to an ECN congestion
 .Va net.inet.tcp.cc.abe=1
 per: cwnd = (cwnd * CC_NEWRENO_BETA_ECN) / 100.
 Default is 80.
+.El
 .Sh MIB Variables
 The algorithm exposes these variables in the
 .Va net.inet.tcp.cc.newreno
@@ -93,6 +94,7 @@ the congestion window in response to an ECN congestion
 .Va net.inet.tcp.cc.abe=1
 per: cwnd = (cwnd * beta_ecn) / 100.
 Default is 80.
+.El
 .Sh SEE ALSO
 .Xr cc_chd 4 ,
 .Xr cc_cubic 4 ,

Modified: head/share/man/man4/ctl.4
==
--- head/share/man/man4/ctl.4   Sat Feb 23 06:03:18 2019(r344481)
+++ head/share/man/man4/ctl.4   Sat Feb 23 09:34:57 2019(r344482)
@@ -202,6 +202,7 @@ The default value is 1024.
 .It Va kern.cam.ctl.max_ports
 Specifies the maximum number of ports we support, must be a power of 2.
 The default value is 256.
+.El
 .Sh SEE ALSO
 .Xr cfiscsi 4 ,
 .Xr cfumass 4 ,

Modified: head/share/man/man4/ehci.4
==
--- head/share/man/man4/ehci.4  Sat Feb 23 06:03:18 2019(r344481)
+++ head/share/man/man4/ehci.4  Sat Feb 23 09:34:57 2019(r344482)
@@ -88,6 +88,7 @@ The default value is 0 (off).
 .It Va hw.usb.ehci.no_hs
 This tunable disables USB devices to attach like HIGH-speed ones and will 
force all attached devices to attach to the FULL- or LOW-speed companion 
controller.
 The default value is 0 (off).
+.El
 .Sh SYSCTL VARIABLES
 The following variables are available as both
 .Xr sysctl 8

Modified: head/share/man/man4/em.4
==
--- head/share/man/man4/em.4Sat Feb 23 06:03:18 2019(r344481)
+++ head/share/man/man4/em.4Sat Feb 23 09:34:57 2019(r344482)
@@ -264,6 +264,7 @@ If
 .Va hw.em.tx_int_delay
 is non-zero, this tunable limits the maximum delay in which a transmit
 interrupt is generated.
+.El
 .Sh FILES
 .Bl -tag -width /dev/led/em*
 .It Pa /dev/led/em*

Modified: head/share/man/man4/ena.4
==
--- head/share/man/man4/ena.4   Sat Feb 23 06:03:18 2019(r344481)
+++ head/share/man/man4/ena.4   Sat Feb 23 09:34:57 2019(r344482)
@@ -239,6 +239,7 @@ for more details.
 .Pp
 Packet with unsupported number of segments was queued for sending to the
 device; packet will be dropped.
+.El
 .Sh SUPPORT
 If an issue is identified with the released source code with a supported 
adapter
 email the specific information related to the issue to

Modified: head/share/man/man4/ips.4
==
--- head/share/man/man4/ips.4   Sat Feb 23 06:03:18 2019(r344481)
+++ head/share/man/man4/ips.4   Sat Feb 23 09:34:57 2019(r344482)
@@ -114,7 +114,7 @@ Unable to obtain adapter or drive configuration.
 A buffer input/output error has occurred.
 .Bq Er ENXIO
 .El
-.Ss General adapter errors:
+.Ss General adapter errors :
 .Bl -diag
 .It Attaching bus failed
 .Pp
@@ -146,7 +146,7 @@ The adapter is disabled.
 .Pp
 The driver was unable to allocate resources for the device.
 .El
-.Ss Error messages due to DMA:
+.Ss Error messages due to DMA :
 .Bl -diag
 .It can't alloc command dma tag
 .It can't alloc SG dma tag
@@ -155,7 +155,7 @@ The driver was unable to allocate resources for the de
 .Pp
 Failure to map or allocate DMA resources.
 

svn commit: r267785 - head/share/man/man9

2014-06-23 Thread Christian Brueffer
Author: brueffer
Date: Mon Jun 23 12:43:30 2014
New Revision: 267785
URL: http://svnweb.freebsd.org/changeset/base/267785

Log:
  Several small fixes (typos, grammar, mdoc).

Modified:
  head/share/man/man9/fpu_kern.9

Modified: head/share/man/man9/fpu_kern.9
==
--- head/share/man/man9/fpu_kern.9  Mon Jun 23 09:47:52 2014
(r267784)
+++ head/share/man/man9/fpu_kern.9  Mon Jun 23 12:43:30 2014
(r267785)
@@ -23,8 +23,8 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 21, 2014
-.Dt KERN_FPU 9
+.Dd June 23, 2014
+.Dt FPU_KERN 9
 .Os
 .Sh NAME
 .Nm fpu_kern
@@ -47,11 +47,11 @@ The
 .Nm
 family of functions allows the use of FPU hardware in kernel code.
 Modern FPUs are not limited to providing hardware implementation for
-floating point arithmetic, they offer advanced accelerators for cryptography
+floating point arithmetic; they offer advanced accelerators for cryptography
 and other computational-intensive algorithms.
 These facilities share registers with the FPU hardware.
 .Pp
-Typical kernel code does not need to access to the FPU.
+Typical kernel code does not need access to the FPU.
 Saving a large register file on each entry to the kernel would waste
 time.
 When kernel code uses the FPU, the current FPU state must be saved to
@@ -80,6 +80,7 @@ without sleep.
 .It 0
 No special handling is required.
 .El
+.Pp
 The function returns the allocated context area, or
 .Va NULL
 if the allocation failed.
@@ -121,6 +122,7 @@ The
 function correctly handles such contexts.
 .El
 .El
+.Pp
 The function does not sleep or block.
 It could cause the
 .Nm Device Not Available
@@ -173,7 +175,7 @@ and false otherwise.
 .Sh NOTES
 The
 .Nm
-is currently implemented only for i386 and amd64 architectures.
+is currently implemented only for the i386 and amd64 architectures.
 .Pp
 There is no way to handle floating point exceptions raised from
 kernel mode.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r267795 - head/share/man/man4

2014-06-23 Thread Christian Brueffer
Author: brueffer
Date: Mon Jun 23 13:24:00 2014
New Revision: 267795
URL: http://svnweb.freebsd.org/changeset/base/267795

Log:
  Fix markup and grammar.

Modified:
  head/share/man/man4/acpi.4

Modified: head/share/man/man4/acpi.4
==
--- head/share/man/man4/acpi.4  Mon Jun 23 13:23:51 2014(r267794)
+++ head/share/man/man4/acpi.4  Mon Jun 23 13:24:00 2014(r267795)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 16, 2012
+.Dd June 23, 2014
 .Dt ACPI 4
 .Os
 .Sh NAME
@@ -61,8 +61,9 @@ If the default settings are not optimal,
 used to modify or monitor
 .Nm
 behavior.
-Note that some variables will be available only if given hardware supports
-them (such as hw.acpi.acline).
+Note that some variables will be available only if the given hardware supports
+them (such as
+.Va hw.acpi.acline ) .
 .Bl -tag -width indent
 .It Va debug.acpi.enable_debug_objects
 Enable dumping Debug objects without
@@ -86,8 +87,7 @@ To enable ACPI CPU idling control,
 should be set to
 .Li acpi
 if it is listed in
-.Va machdep.idle_available
-.
+.Va machdep.idle_available .
 .It Va hw.acpi.cpu.cx_supported
 List of supported CPU idle states and their transition latency
 in microseconds.
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261339 - head/share/man/man4

2014-01-31 Thread Christian Brueffer
Author: brueffer
Date: Fri Jan 31 23:44:54 2014
New Revision: 261339
URL: http://svnweb.freebsd.org/changeset/base/261339

Log:
  MLINK ixgbe.4 to {if_ix.4, ix.4}.  An update for ixgbe.4
  which deals with the "ix prefix being shared by two drivers"
  situation is forthcoming.
  
  Thanks to dwhite for the ixgbe history lesson.
  
  MFC after:1 week

Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileFri Jan 31 23:38:05 2014
(r261338)
+++ head/share/man/man4/MakefileFri Jan 31 23:44:54 2014
(r261339)
@@ -642,6 +642,8 @@ MLINKS+=ipw.4 if_ipw.4
 MLINKS+=iwi.4 if_iwi.4
 MLINKS+=iwn.4 if_iwn.4
 MLINKS+=ixgb.4 if_ixgb.4
+MLINKS+=ixgbe.4 ix.4
+MLINKS+=ixgbe.4 if_ix.4
 MLINKS+=ixgbe.4 if_ixgbe.4
 MLINKS+=jme.4 if_jme.4
 MLINKS+=kue.4 if_kue.4
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261349 - head/sbin/casperd

2014-02-01 Thread Christian Brueffer
Author: brueffer
Date: Sat Feb  1 12:30:00 2014
New Revision: 261349
URL: http://svnweb.freebsd.org/changeset/base/261349

Log:
  Bring the exit status wording closer to what .Ex would produce.
  Fixes a typo in the process.
  
  MFC after:1 week

Modified:
  head/sbin/casperd/casperd.8

Modified: head/sbin/casperd/casperd.8
==
--- head/sbin/casperd/casperd.8 Sat Feb  1 10:48:28 2014(r261348)
+++ head/sbin/casperd/casperd.8 Sat Feb  1 12:30:00 2014(r261349)
@@ -109,7 +109,10 @@ The default location of the
 PID file.
 .El
 .Sh EXIT STATUS
-Exit status is 0 on success, and > 0 of an error occurs.
+The
+.Nm
+daemon exits 0 on success, and >0 if an error occurs.
+.Ex -std
 .Sh SEE ALSO
 .Xr cap_enter 2 ,
 .Xr libcapsicum 3 ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261350 - head/sbin/casperd

2014-02-01 Thread Christian Brueffer
Author: brueffer
Date: Sat Feb  1 12:33:58 2014
New Revision: 261350
URL: http://svnweb.freebsd.org/changeset/base/261350

Log:
  Remove the .Ex macro that I used for testing.
  
  Pointy hat:   brueffer

Modified:
  head/sbin/casperd/casperd.8

Modified: head/sbin/casperd/casperd.8
==
--- head/sbin/casperd/casperd.8 Sat Feb  1 12:30:00 2014(r261349)
+++ head/sbin/casperd/casperd.8 Sat Feb  1 12:33:58 2014(r261350)
@@ -112,7 +112,6 @@ PID file.
 The
 .Nm
 daemon exits 0 on success, and >0 if an error occurs.
-.Ex -std
 .Sh SEE ALSO
 .Xr cap_enter 2 ,
 .Xr libcapsicum 3 ,
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261447 - head/lib/libc/sys

2014-02-03 Thread Christian Brueffer
Author: brueffer
Date: Mon Feb  3 22:16:46 2014
New Revision: 261447
URL: http://svnweb.freebsd.org/changeset/base/261447

Log:
  Fix a typo.
  
  MFC after:1 week

Modified:
  head/lib/libc/sys/cap_enter.2

Modified: head/lib/libc/sys/cap_enter.2
==
--- head/lib/libc/sys/cap_enter.2   Mon Feb  3 19:14:36 2014
(r261446)
+++ head/lib/libc/sys/cap_enter.2   Mon Feb  3 22:16:46 2014
(r261447)
@@ -52,7 +52,7 @@ Access to global name spaces, such as fi
 prevented.
 If the process is already in a capability mode sandbox, the system call is a
 no-op.
-Future process descendants create with
+Future process descendants created with
 .Xr fork 2
 or
 .Xr pdfork 2
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261487 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2014-02-04 Thread Christian Brueffer
Author: brueffer
Date: Tue Feb  4 12:34:08 2014
New Revision: 261487
URL: http://svnweb.freebsd.org/changeset/base/261487

Log:
  Add qlxgbe(4) and qlxge(4) to the hardware notes.
  
  MFC after:1 week

Modified:
  head/release/doc/en_US.ISO8859-1/hardware/article.xml
  head/release/doc/share/misc/dev.archlist.txt

Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml
==
--- head/release/doc/en_US.ISO8859-1/hardware/article.xml   Tue Feb  4 
10:29:23 2014(r261486)
+++ head/release/doc/en_US.ISO8859-1/hardware/article.xml   Tue Feb  4 
12:34:08 2014(r261487)
@@ -893,6 +893,10 @@
 
   &hwlist.qlxgb;
 
+  &hwlist.qlxgbe;
+
+  &hwlist.qlxge;
+
   &hwlist.re;
 
   &hwlist.rl;

Modified: head/release/doc/share/misc/dev.archlist.txt
==
--- head/release/doc/share/misc/dev.archlist.txtTue Feb  4 10:29:23 
2014(r261486)
+++ head/release/doc/share/misc/dev.archlist.txtTue Feb  4 12:34:08 
2014(r261487)
@@ -105,6 +105,8 @@ oltri386
 pcni386,pc98,ia64,amd64
 psti386
 qlxgb  amd64
+qlxgbe amd64
+qlxge  amd64
 rc i386
 rali386,amd64
 ruei386,pc98,amd64
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261494 - head/share/man/man4

2014-02-04 Thread Christian Brueffer
Author: brueffer
Date: Tue Feb  4 18:54:33 2014
New Revision: 261494
URL: http://svnweb.freebsd.org/changeset/base/261494

Log:
  Actually install acpi_rapidstart.4.
  
  MFC after:1 week

Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileTue Feb  4 18:28:58 2014
(r261493)
+++ head/share/man/man4/MakefileTue Feb  4 18:54:33 2014
(r261494)
@@ -13,6 +13,7 @@ MAN=  aac.4 \
${_acpi_hp.4} \
${_acpi_ibm.4} \
${_acpi_panasonic.4} \
+   ${_acpi_rapidstart.4} \
${_acpi_sony.4} \
acpi_thermal.4 \
${_acpi_toshiba.4} \
@@ -740,6 +741,7 @@ _acpi_fujitsu.4=acpi_fujitsu.4
 _acpi_hp.4=acpi_hp.4
 _acpi_ibm.4=   acpi_ibm.4
 _acpi_panasonic.4=acpi_panasonic.4
+_acpi_rapidstart.4=acpi_rapidstart.4
 _acpi_sony.4=  acpi_sony.4
 _acpi_toshiba.4=acpi_toshiba.4
 _acpi_wmi.4=   acpi_wmi.4
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261496 - head/sbin/mount_udf

2014-02-04 Thread Christian Brueffer
Author: brueffer
Date: Tue Feb  4 21:15:15 2014
New Revision: 261496
URL: http://svnweb.freebsd.org/changeset/base/261496

Log:
  Unbreak mount_udf by passing the correct iovec length into
  nmount().  This has been broken since r247856.
  
  PR:   bin/186193
  Submitted by: Arnot Belohlavek
  MFC after:1 week

Modified:
  head/sbin/mount_udf/mount_udf.c

Modified: head/sbin/mount_udf/mount_udf.c
==
--- head/sbin/mount_udf/mount_udf.c Tue Feb  4 20:52:33 2014
(r261495)
+++ head/sbin/mount_udf/mount_udf.c Tue Feb  4 21:15:15 2014
(r261496)
@@ -77,9 +77,9 @@ main(int argc, char **argv)
char fstype[] = "udf";
struct iovec *iov;
char *cs_disk, *cs_local, *dev, *dir;
-   int ch, i, iovlen, mntflags, udf_flags, verbose;
+   int ch, iovlen, mntflags, udf_flags, verbose;
 
-   i = iovlen = mntflags = udf_flags = verbose = 0;
+   iovlen = mntflags = udf_flags = verbose = 0;
cs_disk = cs_local = NULL;
iov = NULL;
while ((ch = getopt(argc, argv, "o:vC:")) != -1)
@@ -129,7 +129,7 @@ main(int argc, char **argv)
build_iovec(&iov, &iovlen, "cs_disk", cs_disk, (size_t)-1);
build_iovec(&iov, &iovlen, "cs_local", cs_local, (size_t)-1);
}
-   if (nmount(iov, i, mntflags) < 0)
+   if (nmount(iov, iovlen, mntflags) < 0)
err(1, "%s", dev);
exit(0);
 }
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261500 - head/sbin/etherswitchcfg

2014-02-04 Thread Christian Brueffer
Author: brueffer
Date: Tue Feb  4 22:20:17 2014
New Revision: 261500
URL: http://svnweb.freebsd.org/changeset/base/261500

Log:
  Add a license (1) and do some cleanup.
  
  Approved by:  Stefan Bethke (original author, by private mail) (1)
  MFC after:1 week

Modified:
  head/sbin/etherswitchcfg/etherswitchcfg.8

Modified: head/sbin/etherswitchcfg/etherswitchcfg.8
==
--- head/sbin/etherswitchcfg/etherswitchcfg.8   Tue Feb  4 21:48:09 2014
(r261499)
+++ head/sbin/etherswitchcfg/etherswitchcfg.8   Tue Feb  4 22:20:17 2014
(r261500)
@@ -1,4 +1,29 @@
+.\" Copyright (c) 2011-2012 Stefan Bethke.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
 .\" $FreeBSD$
+.\"
 .Dd September 20, 2013
 .Dt ETHERSWITCHCFG 8
 .Os
@@ -35,13 +60,14 @@ The
 utility is used to configure an Ethernet switch built into the system.
 .Nm
 accepts a number of options:
+.Pp
 .Bl -tag -width ".Fl f" -compact
 .It Fl "f control file"
 Specifies the
 .Xr etherswitch 4
 control file that represents the switch to be configured.
 It defaults to
-.Li /dev/etherswitch0 .
+.Pa /dev/etherswitch0 .
 .It Fl m
 When reporting port information, also list available media options for
 that port.
@@ -54,6 +80,7 @@ options are omitted.
 The config command provides access to global switch configuration
 parameters.
 It support the following commands:
+.Pp
 .Bl -tag -width ".Ar vlan_mode mode" -compact
 .It Ar vlan_mode mode
 Sets the switch VLAN mode (depends on the hardware).
@@ -74,6 +101,7 @@ To set the register value, use the form 
 .Ss port
 The port command selects one of the ports of the switch.
 It supports the following commands:
+.Pp
 .Bl -tag -width ".Ar pvid number" -compact
 .It Ar pvid number
 Sets the default port VID that is used to process incoming frames that are not 
tagged.
@@ -88,8 +116,10 @@ for details on
 and
 .Ar mediaopt .
 .El
+.Pp
 And the following flags (please note that not all flags
-are supporterd by all switch drivers):
+are supported by all switch drivers):
+.Pp
 .Bl -tag -width ".Ar addtag" -compact
 .It Ar addtag
 Add VLAN tag to each packet sent by the port.
@@ -100,7 +130,7 @@ Strip the VLAN tags from the packets sen
 .It Ar -striptag
 Disable the strip VLAN tag option.
 .It Ar firstlock
-This options makes the switch port lock on the first MAC address it seems.
+This options makes the switch port lock on the first MAC address it sees.
 After that, usually you need to reset the switch to learn different
 MAC addresses.
 .It Ar -firstlock
@@ -125,6 +155,7 @@ The reg command provides access to the r
 .Ss vlangroup
 The vlangroup command selects one of the VLAN groups for configuration.
 It supports the following commands:
+.Pp
 .Bl -tag -width ".Ar vlangroup" -compact
 .It Ar vlan VID
 Sets the VLAN ID (802.1q VID) for this VLAN group.
@@ -142,13 +173,14 @@ to indicate that frames on this port are
 .Sh FILES
 .Bl -tag -width /dev/etherswitch? -compact
 .It Pa /dev/etherswitch?
-Control file for the ethernet switch driver.
+Control file for the Ethernet switch driver.
 .El
 .Sh EXAMPLES
 Configure VLAN group 1 with a VID of 2 and make ports 0 and 5 its members
 while excluding all other ports.
 Port 5 will send and receive tagged frames while port 0 will be untagged.
 Incoming untagged frames on port 0 are assigned to vlangroup1.
+.Pp
 .Dl # etherswitchcfg vlangroup1 vlan 2 members 0,5t port0 pvid 2
 .Sh SEE ALSO
 .Xr etherswitch 4
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261549 - head/share/man/man4

2014-02-06 Thread Christian Brueffer
Author: brueffer
Date: Thu Feb  6 12:43:06 2014
New Revision: 261549
URL: http://svnweb.freebsd.org/changeset/base/261549

Log:
  Add a manpage for the urndis driver.
  
  Obtained from:OpenBSD

Added:
  head/share/man/man4/urndis.4   (contents, props changed)
Modified:
  head/share/man/man4/Makefile

Modified: head/share/man/man4/Makefile
==
--- head/share/man/man4/MakefileThu Feb  6 11:40:01 2014
(r261548)
+++ head/share/man/man4/MakefileThu Feb  6 12:43:06 2014
(r261549)
@@ -527,6 +527,7 @@ MAN=aac.4 \
uplcom.4 \
ural.4 \
urio.4 \
+   urndis.4 \
${_urtw.4} \
urtwn.4 \
urtwnfw.4 \
@@ -716,6 +717,7 @@ MLINKS+=uath.4 if_uath.4
 MLINKS+=udav.4 if_udav.4
 MLINKS+=upgt.4 if_upgt.4
 MLINKS+=ural.4 if_ural.4
+MLINKS+=urndis.4 if_urndis.4
 MLINKS+=${_urtw.4} ${_if_urtw.4}
 MLINKS+=vge.4 if_vge.4
 MLINKS+=vlan.4 if_vlan.4

Added: head/share/man/man4/urndis.4
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man4/urndis.4Thu Feb  6 12:43:06 2014
(r261549)
@@ -0,0 +1,97 @@
+.\" Copyright (c) 2010 Michael Knudsen 
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\"- Redistributions of source code must retain the above copyright
+.\"  notice, this list of conditions and the following disclaimer.
+.\"- Redistributions in binary form must reproduce the above
+.\"  copyright notice, this list of conditions and the following
+.\"  disclaimer in the documentation and/or other materials provided
+.\"  with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" $OpenBSD: urndis.4,v 1.15 2013/07/16 16:05:49 schwarze Exp $
+.\"
+.\" $FreeBSD$
+.\"
+.Dd February 6, 2014
+.Dt URNDIS 4
+.Os
+.Sh NAME
+.Nm urndis
+.Nd USB Remote NDIS Ethernet device
+.Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device ehci"
+.Cd "device uhci"
+.Cd "device ohci"
+.Cd "device xhci"
+.Cd "device usb"
+.Cd "device urndis"
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+if_urndis_load="YES"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver provides Ethernet access over Remote NDIS (RNDIS),
+allowing mobile devices such as phones and tablets to provide network access.
+It is often referred to as USB tethering,
+and in most cases must be explicitly enabled on the device.
+.Pp
+.Nm
+should work with any USB RNDIS devices,
+such as those commonly found on Android devices.
+It does not support different media types or options.
+For more information on configuring this device, see
+.Xr ifconfig 8 .
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr netintro 4 ,
+.Xr usb 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Ox 4.7 .
+The first
+.Fx
+release to include it was
+.Fx 10.1 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Jonathan Armani Aq Mt arm...@openbsd.org ,
+.An Michael Knudsen Aq Mt m...@openbsd.org ,
+and
+.An Fabien Romano Aq Mt fab...@openbsd.org .
+It was ported to
+.Fx
+by
+.An Hans Petter Selasky Aq Mt h...@freebsd.org .
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r261566 - in head: sbin/dhclient tools/regression/security/cap_test

2014-02-06 Thread Christian Brueffer
Author: brueffer
Date: Thu Feb  6 21:36:14 2014
New Revision: 261566
URL: http://svnweb.freebsd.org/changeset/base/261566

Log:
  Use CAP_EVENT instead of the deprecated CAP_POLL_EVENT.
  
  PR:   185382 (based on)
  Submitted by: Loganaden Velvindron
  Reviewed by:  pjd
  MFC after:1 week

Modified:
  head/sbin/dhclient/bpf.c
  head/sbin/dhclient/dhclient.c
  head/tools/regression/security/cap_test/cap_test_capabilities.c

Modified: head/sbin/dhclient/bpf.c
==
--- head/sbin/dhclient/bpf.cThu Feb  6 20:35:33 2014(r261565)
+++ head/sbin/dhclient/bpf.cThu Feb  6 21:36:14 2014(r261566)
@@ -269,7 +269,7 @@ if_register_receive(struct interface_inf
if (ioctl(info->rfdesc, BIOCLOCK, NULL) < 0)
error("Cannot lock bpf");
 
-   cap_rights_init(&rights, CAP_IOCTL, CAP_POLL_EVENT, CAP_READ);
+   cap_rights_init(&rights, CAP_IOCTL, CAP_EVENT, CAP_READ);
if (cap_rights_limit(info->rfdesc, &rights) < 0 && errno != ENOSYS)
error("Can't limit bpf descriptor: %m");
if (cap_ioctls_limit(info->rfdesc, cmds, 2) < 0 && errno != ENOSYS)

Modified: head/sbin/dhclient/dhclient.c
==
--- head/sbin/dhclient/dhclient.c   Thu Feb  6 20:35:33 2014
(r261565)
+++ head/sbin/dhclient/dhclient.c   Thu Feb  6 21:36:14 2014
(r261566)
@@ -494,7 +494,7 @@ main(int argc, char *argv[])
add_protocol("AF_ROUTE", routefd, routehandler, ifi);
if (shutdown(routefd, SHUT_WR) < 0)
error("can't shutdown route socket: %m");
-   cap_rights_init(&rights, CAP_POLL_EVENT, CAP_READ);
+   cap_rights_init(&rights, CAP_EVENT, CAP_READ);
if (cap_rights_limit(routefd, &rights) < 0 && errno != ENOSYS)
error("can't limit route socket: %m");
 

Modified: head/tools/regression/security/cap_test/cap_test_capabilities.c
==
--- head/tools/regression/security/cap_test/cap_test_capabilities.c Thu Feb 
 6 20:35:33 2014(r261565)
+++ head/tools/regression/security/cap_test/cap_test_capabilities.c Thu Feb 
 6 21:36:14 2014(r261566)
@@ -396,7 +396,7 @@ try_file_ops(int filefd, int dirfd, cap_
pollfd.revents = 0;
 
ret = poll(&pollfd, 1, 0);
-   if (rights & CAP_POLL_EVENT)
+   if (rights & CAP_EVENT)
CHECK((pollfd.revents & POLLNVAL) == 0);
else
CHECK((pollfd.revents & POLLNVAL) != 0);
@@ -546,7 +546,7 @@ test_capabilities(void)
TRY(CAP_SEM_POST);
TRY(CAP_SEM_WAIT);
TRY(CAP_POST_EVENT);
-   TRY(CAP_POLL_EVENT);
+   TRY(CAP_EVENT);
TRY(CAP_IOCTL);
TRY(CAP_TTYHOOK);
TRY(CAP_PDGETPID);
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


  1   2   3   4   >