From 5ef0b448267d7739fcf1c77c65f51b50a6ed9a2f Mon Sep 17 00:00:00 2001 From: bcr Date: Wed, 25 May 2011 08:42:01 +0000 Subject: Add a description to the checksum target about not only being able to verify, but also having the ability to fetch distfiles that are missing or failed the checksum calculation PR: docs/138887 Submitted by: Radim Kolar (hsn at sendmail dot cz) MFC after: 5 days --- share/man/man7/ports.7 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7 index 54afe0a..2344a4d 100644 --- a/share/man/man7/ports.7 +++ b/share/man/man7/ports.7 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 14, 2009 +.Dd May 25, 2011 .Dt PORTS 7 .Os .Sh NAME @@ -124,6 +124,8 @@ and .It Cm checksum Verify that the fetched distfile's checksum matches the one the port was tested against. +If the distfile's checksum does not match, it also fetches the distfiles +which are missing or failed the checksum calculation. Defining .Va NO_CHECKSUM will skip this step. -- cgit v1.1 From 2628ba45f75ea1644b5781feb23dcc6c2db89f9a Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 25 May 2011 14:13:53 +0000 Subject: [mdoc] Fixed .Dt call. --- share/man/man4/atrtc.4 | 2 +- share/man/man4/attimer.4 | 2 +- share/man/man4/cc.4 | 2 +- share/man/man4/h_ertt.4 | 2 +- share/man/man4/nvram2env.4 | 2 +- share/man/man7/eventtimers.7 | 2 +- share/man/man9/devfs_set_cdevpriv.9 | 2 +- share/man/man9/hhook.9 | 2 +- share/man/man9/khelp.9 | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'share') diff --git a/share/man/man4/atrtc.4 b/share/man/man4/atrtc.4 index 35e770d..51d6f05 100644 --- a/share/man/man4/atrtc.4 +++ b/share/man/man4/atrtc.4 @@ -25,7 +25,7 @@ .\" $FreeBSD$ .\" .Dd September 17, 2010 -.Dt atrtc 4 +.Dt ATRTC 4 .Os .Sh NAME .Nm atrtc diff --git a/share/man/man4/attimer.4 b/share/man/man4/attimer.4 index d5bfaf9..67d001e 100644 --- a/share/man/man4/attimer.4 +++ b/share/man/man4/attimer.4 @@ -25,7 +25,7 @@ .\" $FreeBSD$ .\" .Dd September 14, 2010 -.Dt attimer 4 +.Dt ATTIMER 4 .Os .Sh NAME .Nm attimer diff --git a/share/man/man4/cc.4 b/share/man/man4/cc.4 index 32da741..c518f45 100644 --- a/share/man/man4/cc.4 +++ b/share/man/man4/cc.4 @@ -31,7 +31,7 @@ .\" $FreeBSD$ .\" .Dd February 15, 2011 -.Dt cc 4 +.Dt CC 4 .Os .Sh NAME .Nm cc diff --git a/share/man/man4/h_ertt.4 b/share/man/man4/h_ertt.4 index ed7461e..b04efaa 100644 --- a/share/man/man4/h_ertt.4 +++ b/share/man/man4/h_ertt.4 @@ -30,7 +30,7 @@ .\" $FreeBSD$ .\" .Dd February 15, 2011 -.Dt h_ertt 9 +.Dt H_ERTT 9 .Os .Sh NAME .Nm h_ertt diff --git a/share/man/man4/nvram2env.4 b/share/man/man4/nvram2env.4 index c0ee0cf..5176097 100644 --- a/share/man/man4/nvram2env.4 +++ b/share/man/man4/nvram2env.4 @@ -25,7 +25,7 @@ .\" $FreeBSD$ .\" .Dd April 3, 2011 -.Dt nvram2env 4 +.Dt NVRAM2ENV 4 .Os .Sh NAME .Nm nvram2env diff --git a/share/man/man7/eventtimers.7 b/share/man/man7/eventtimers.7 index 6c9552a..37d5fc8 100644 --- a/share/man/man7/eventtimers.7 +++ b/share/man/man7/eventtimers.7 @@ -25,7 +25,7 @@ .\" $FreeBSD$ .\" .Dd September 15, 2010 -.Dt eventtimers 4 +.Dt EVENTTIMERS 4 .Os .Sh NAME .Nm eventtimers diff --git a/share/man/man9/devfs_set_cdevpriv.9 b/share/man/man9/devfs_set_cdevpriv.9 index fcdc5c4..a2b0279 100644 --- a/share/man/man9/devfs_set_cdevpriv.9 +++ b/share/man/man9/devfs_set_cdevpriv.9 @@ -25,7 +25,7 @@ .\" $FreeBSD$ .\" .Dd September 8, 2008 -.Dt DEVFS_CDEVPRIV +.Dt DEVFS_CDEVPRIV 9 .Os .Sh NAME .Nm devfs_set_cdevpriv , diff --git a/share/man/man9/hhook.9 b/share/man/man9/hhook.9 index 1dd391f..df74543 100644 --- a/share/man/man9/hhook.9 +++ b/share/man/man9/hhook.9 @@ -31,7 +31,7 @@ .\" $FreeBSD$ .\" .Dd February 15, 2011 -.Dt hhook 9 +.Dt HHOOK 9 .Os .Sh NAME .Nm hhook , diff --git a/share/man/man9/khelp.9 b/share/man/man9/khelp.9 index 25125c0..2f3f0e1 100644 --- a/share/man/man9/khelp.9 +++ b/share/man/man9/khelp.9 @@ -31,7 +31,7 @@ .\" $FreeBSD$ .\" .Dd February 15, 2011 -.Dt khelp 9 +.Dt KHELP 9 .Os .Sh NAME .Nm khelp , -- cgit v1.1 From b5a299c358df8a338fef06ebaeed7e09fb31b02b Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 26 May 2011 13:54:07 +0000 Subject: Added myself as src committer. Approved by: adrian (mentor) --- share/misc/committers-src.dot | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share') diff --git a/share/misc/committers-src.dot b/share/misc/committers-src.dot index d450c8a..2fce08f 100644 --- a/share/misc/committers-src.dot +++ b/share/misc/committers-src.dot @@ -206,6 +206,7 @@ ps [label="Paul Saab\nps@FreeBSD.org\n2000/02/23"] qingli [label="Qing Li\nqingli@FreeBSD.org\n2005/04/13"] rafan [label="Rong-En Fan\nrafan@FreeBSD.org\n2007/01/31"] randi [label="Randi Harper\nrandi@FreeBSD.org\n2010/04/20"] +ray [label="Aleksandr Rybalko\nray@FreeBSD.org\n2011/05/25"] rdivacky [label="Roman Divacky\nrdivacky@FreeBSD.org\n2008/03/13"] remko [label="Remko Lodder\nremko@FreeBSD.org\n2007/02/23"] rik [label="Roman Kurakin\nrik@FreeBSD.org\n2003/12/18"] @@ -268,6 +269,8 @@ day1 -> rgrimes day1 -> alm day1 -> dg +adrian -> ray + andre -> qingli anholt -> jkim -- cgit v1.1 From 44b4091060dd118490be14470c1b0decba624203 Mon Sep 17 00:00:00 2001 From: mav Date: Fri, 27 May 2011 03:23:39 +0000 Subject: Add names for few more SES element types according SES-2 specification. --- share/examples/ses/srcs/eltsub.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'share') diff --git a/share/examples/ses/srcs/eltsub.c b/share/examples/ses/srcs/eltsub.c index 2acf982..d07a40e 100644 --- a/share/examples/ses/srcs/eltsub.c +++ b/share/examples/ses/srcs/eltsub.c @@ -85,6 +85,9 @@ geteltnm(int type) case SESTYP_KEYPAD: sprintf(rbuf, "Key pad entry device"); break; + case SESTYP_ENCLOSURE: + sprintf(rbuf, "Enclosure"); + break; case SESTYP_SCSIXVR: sprintf(rbuf, "SCSI port/transceiver"); break; @@ -109,6 +112,15 @@ geteltnm(int type) case SESTYP_SUBENC: sprintf(rbuf, "Simple sub-enclosure"); break; + case SESTYP_ARRAY: + sprintf(rbuf, "Array device"); + break; + case SESTYP_SAS_EXP: + sprintf(rbuf, "SAS Expender"); + break; + case SESTYP_SAS_CONN: + sprintf(rbuf, "SAS Connector"); + break; default: (void) sprintf(rbuf, "", type); break; -- cgit v1.1 From 62fe850bf1f6691cc575afd367781df7e4999de6 Mon Sep 17 00:00:00 2001 From: mav Date: Fri, 27 May 2011 03:27:28 +0000 Subject: Add ses/srcs/eltsub.h to the list of files to be installed. It is required for user-level SES example tools build. --- share/examples/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'share') diff --git a/share/examples/Makefile b/share/examples/Makefile index abe40f1..7b968f9 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -175,6 +175,7 @@ XFILES= BSD_daemon/FreeBSD.pfa \ ses/setobjstat/setobjstat.0 \ ses/srcs/chpmon.c \ ses/srcs/eltsub.c \ + ses/srcs/eltsub.h \ ses/srcs/getencstat.c \ ses/srcs/getnobj.c \ ses/srcs/getobjmap.c \ -- cgit v1.1 From 7af31eed340f42cefc2b75d6e3b14e9bcb0b016b Mon Sep 17 00:00:00 2001 From: mav Date: Fri, 27 May 2011 03:30:23 +0000 Subject: Oops, fix typo in r222336. --- share/examples/ses/srcs/eltsub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/examples/ses/srcs/eltsub.c b/share/examples/ses/srcs/eltsub.c index d07a40e..90ea638 100644 --- a/share/examples/ses/srcs/eltsub.c +++ b/share/examples/ses/srcs/eltsub.c @@ -116,7 +116,7 @@ geteltnm(int type) sprintf(rbuf, "Array device"); break; case SESTYP_SAS_EXP: - sprintf(rbuf, "SAS Expender"); + sprintf(rbuf, "SAS Expander"); break; case SESTYP_SAS_CONN: sprintf(rbuf, "SAS Connector"); -- cgit v1.1 From 73bcdbfb7698fabdc305aa8f73b315de70f0526e Mon Sep 17 00:00:00 2001 From: mav Date: Fri, 27 May 2011 03:44:47 +0000 Subject: Change new constant names to ones used by OpenSolaris. --- share/examples/ses/srcs/eltsub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/examples/ses/srcs/eltsub.c b/share/examples/ses/srcs/eltsub.c index 90ea638..8500fff 100644 --- a/share/examples/ses/srcs/eltsub.c +++ b/share/examples/ses/srcs/eltsub.c @@ -115,10 +115,10 @@ geteltnm(int type) case SESTYP_ARRAY: sprintf(rbuf, "Array device"); break; - case SESTYP_SAS_EXP: + case SESTYP_SASEXPANDER: sprintf(rbuf, "SAS Expander"); break; - case SESTYP_SAS_CONN: + case SESTYP_SASCONNECTOR: sprintf(rbuf, "SAS Connector"); break; default: -- cgit v1.1 From 900f95596c1c622d5672a0ec3fff1f68ae6fa0a5 Mon Sep 17 00:00:00 2001 From: bcr Date: Sun, 29 May 2011 11:10:56 +0000 Subject: Mention that jumbo frame support is disabled on PCIe VT6130/VT6132 controllers because of TX MAC hangs when trying to send a frame that is larger than 4K (see r200759). PR: docs/156742 Submitted by: Michael Moll (kvedulv at kvedulv dot de) Reviewed by: yongari@ MFC after: 6 days --- share/man/man4/vge.4 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/man/man4/vge.4 b/share/man/man4/vge.4 index ae0206a..3ab9bce 100644 --- a/share/man/man4/vge.4 +++ b/share/man/man4/vge.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 23, 2010 +.Dd May 29, 2011 .Dt VGE 4 .Os .Sh NAME @@ -66,13 +66,14 @@ The MAC supports TCP/IP hardware checksums (IPv4 only), TCP large send, VLAN tag insertion and stripping, as well as VLAN filtering, a 64-entry CAM filter and a 64-entry VLAN filter, 64-bit multicast hash filter, 4 separate transmit DMA queues, flow control -and jumbo frames up to 16K in size. +and jumbo frames (not on VT6130/VT6132) up to 16K in size. The Velocity family controllers have a 16K receive FIFO and 48K transmit FIFO. .Pp The .Nm driver takes advantage of the controller's checksum offload and VLAN -tagging features, as well as the jumbo frame and CAM filter support. +tagging features, as well as the jumbo frame (except VT6130/VT6132) and CAM +filter support. The CAM filter is used for multicast address filtering to provide 64 perfect multicast address filter support. If it is necessary for the interface to join more than 64 multicast @@ -81,6 +82,8 @@ groups, the driver will switch over to using the hash filter. The jumbo frame support can be enabled by setting the interface MTU to any value larger than the default of 1500 bytes, up to a maximum of 9000 bytes. +Jumbo frames are disabled on the VT6130/VT6132 controllers because the TX +MAC will hang when trying to send a frame that is larger than 4K. The receive and transmit checksum offload support can be toggled on and off using the .Xr ifconfig 8 -- cgit v1.1 From 7061cb675634f29cc9ad4b8887e2de9cbdc24b40 Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 30 May 2011 10:02:51 +0000 Subject: Update chipset support list for ath_hal. --- share/man/man4/ath_hal.4 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'share') diff --git a/share/man/man4/ath_hal.4 b/share/man/man4/ath_hal.4 index 4422a0d..c1ad779 100644 --- a/share/man/man4/ath_hal.4 +++ b/share/man/man4/ath_hal.4 @@ -51,14 +51,17 @@ or .\".Cd "device ath_ar5312" .\".Cd "device ath_rf2136" .\".Cd "device ath_rf2137" +.Cd "device ath_ar9130" .Cd "device ath_ar9160" .Cd "device ath_ar9280" +.Cd "device ath_ar9285" +.Cd "device ath_ar9287" .Cd "options AH_SUPPORT_AR5416" .Sh DESCRIPTION The hal provides hardware support for wireless network adapters based on the Atheros AR5210, AR5211, AR5212, AR5213, AR2413, AR2417, AR2425, -AR5413, AR5416, AR5418, AR5424, AR9160, AR9220, AR9280, and AR9285 chips -(and companion RF/baseband parts). +AR5413, AR5416, AR5418, AR5424, AR9160, AR9220, AR9280, AR9285 and AR9287 +chips (and companion RF/baseband parts). This code is part of the .Xr ath 4 driver but configured separately to allow fine-grained control @@ -66,14 +69,15 @@ over the set of chips supported. Selecting .Nm enables support for all PCI and Cardbus devices. -Note this includes AR5416, AR9160, AR9220, AR9280 and AR9285 devices -and must be accompanied by the +Note this includes AR5416, AR5418, AR9130, AR9160, AR9220, AR9280, AR9285 +and AR9287 devices and must be accompanied by the AH_SUPPORT_AR5416 option to enable the extended hardware descriptor format used by AR5416 and later devices. .Pp Some devices come in Cardbus/MiniPCI/PCI format. -Others (AR9280, AR9285) come in PCIe, Mini-PCIe or ExpressCard format. +Others (for example AR2413, AR2427, AR5418, AR9280, AR9285, AR9287) come in +PCIe, Mini-PCIe or ExpressCard format. .Pp Historically this code has been released in a binary-only form and packaged as a separate module. -- cgit v1.1 From 7c45802086310f985ffe111650e8ac812c35c6a3 Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 30 May 2011 10:07:46 +0000 Subject: Add ath_ahb and ath_pci module manpages. --- share/man/man4/Makefile | 2 ++ share/man/man4/ath_ahb.4 | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ share/man/man4/ath_pci.4 | 57 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 share/man/man4/ath_ahb.4 create mode 100644 share/man/man4/ath_pci.4 (limited to 'share') diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index f71da84..47ffd55 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -46,7 +46,9 @@ MAN= aac.4 \ atapicam.4 \ ataraid.4 \ ath.4 \ + ath_ahb.4 \ ath_hal.4 \ + ath_pci.4 \ atkbd.4 \ atkbdc.4 \ ${_atp.4} \ diff --git a/share/man/man4/ath_ahb.4 b/share/man/man4/ath_ahb.4 new file mode 100644 index 0000000..6688dc2 --- /dev/null +++ b/share/man/man4/ath_ahb.4 @@ -0,0 +1,60 @@ +.\"- +.\" Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd +.\" 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, +.\" without modification. +.\" 2. Redistributions in binary form must reproduce at minimum a disclaimer +.\" similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any +.\" redistribution must be conditioned upon including a substantially +.\" similar Disclaimer requirement for further binary redistribution. +.\" +.\" NO WARRANTY +.\" 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 NONINFRINGEMENT, MERCHANTIBILITY +.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR 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 DAMAGES. +.\" +.\" $FreeBSD$ +.\"/ +.Dd May 30, 2011 +.Dt ATH_AHB 4 +.Os +.Sh NAME +.Nm ath_ahb +.Nd "Atheros AHB device glue" +.Sh SYNOPSIS +.Cd "device ath_ahb" +.Sh DESCRIPTION +This module provides the AHB bus glue needed for the devices supported +by the +.Xr ath 4 +and +.Xr ath_hal 4 +drivers. +.Pp +This is only relevant for embedded System-on-Chip (SoC) devices such as +the Atheros AR913x series, which include an Atheros wireless MAC on-die. +.Sh SEE ALSO +.Xr ath 4 +.Xr ath_hal 4 +.Sh HISTORY +The +.Nm +module first appeared in +.Fx 9.0 . +.Sh BUGS +See +.Xr ath 4 +for known bugs. diff --git a/share/man/man4/ath_pci.4 b/share/man/man4/ath_pci.4 new file mode 100644 index 0000000..814e535 --- /dev/null +++ b/share/man/man4/ath_pci.4 @@ -0,0 +1,57 @@ +.\"- +.\" Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd +.\" 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, +.\" without modification. +.\" 2. Redistributions in binary form must reproduce at minimum a disclaimer +.\" similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any +.\" redistribution must be conditioned upon including a substantially +.\" similar Disclaimer requirement for further binary redistribution. +.\" +.\" NO WARRANTY +.\" 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 NONINFRINGEMENT, MERCHANTIBILITY +.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR 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 DAMAGES. +.\" +.\" $FreeBSD$ +.\"/ +.Dd May 30, 2011 +.Dt ATH_PCI 4 +.Os +.Sh NAME +.Nm ath_pci +.Nd "Atheros PCI device glue" +.Sh SYNOPSIS +.Cd "device ath_pci" +.Sh DESCRIPTION +This module provides the PCI/PCIe bus glue needed for the devices supported +by the +.Xr ath 4 +and +.Xr ath_hal 4 +drivers. +.Sh SEE ALSO +.Xr ath 4 +.Xr ath_hal 4 +.Sh HISTORY +The +.Nm +module first appeared in +.Fx 9.0 . +.Sh BUGS +See +.Xr ath 4 +for known bugs. -- cgit v1.1 From 812bf1366e26fe41392d514256d783b087426943 Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 30 May 2011 10:12:17 +0000 Subject: Mention in ath(4) that ath_pci is required now. --- share/man/man4/ath.4 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'share') diff --git a/share/man/man4/ath.4 b/share/man/man4/ath.4 index 7579546..fadf192 100644 --- a/share/man/man4/ath.4 +++ b/share/man/man4/ath.4 @@ -40,6 +40,7 @@ place the following lines in your kernel configuration file: .Bd -ragged -offset indent .Cd "device ath" +.Cd "device ath_pci" .Cd "device ath_hal" .Cd "options AH_SUPPORT_AR5416" .Cd "device ath_rate_sample" @@ -51,6 +52,7 @@ module at boot time, place the following line in .Xr loader.conf 5 : .Bd -literal -offset indent if_ath_load="YES" +if_ath_pci_load="YES" .Ed .Sh DESCRIPTION The @@ -64,6 +66,19 @@ Supported features include 802.11 and 802.3 frames, power management, BSS, IBSS, MBSS, TDMA, and host-based access point operation modes. All host/device interaction is via DMA. .Pp +Please note that from FreeBSD-9.0, the +.Nm +driver does not include the PCI/PCIe bus glue. +The same driver supports multiple underlying bus types, including PCI/PCIe, +but also embedded (AHB) and USB in the future. +.Pp +To enable use for PCI/PCIe systems, see the +.Xr ath_pci 4 +driver. +For embedded systems which use the AHB to connect the wireless MAC, see the +.Xr ath_ahb 4 +driver. +.Pp The .Nm driver encapsulates all IP and ARP traffic as 802.11 frames, however -- cgit v1.1 From 9650be17d63db0e3bb964de7a15a35d76433e0ea Mon Sep 17 00:00:00 2001 From: bcr Date: Mon, 30 May 2011 10:23:59 +0000 Subject: Add a short description about NO_CHECKSUM. PR: docs/155980 Submitted by KOIE Hidetaka (koie at suri co jp) MFC after: 7 days --- share/man/man7/c99.7 | 2 +- share/man/man7/ports.7 | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/man/man7/c99.7 b/share/man/man7/c99.7 index 1b76442..9f69453 100644 --- a/share/man/man7/c99.7 +++ b/share/man/man7/c99.7 @@ -122,7 +122,7 @@ Support for variable length arrays New high-precision integer type named long long int, and other integer types defined in stdint.h .It -New boolen data type implemented in stdbool.h +New boolean data type implemented in stdbool.h .It One line comments taken from the C++ language .It diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7 index 2344a4d..975b825 100644 --- a/share/man/man7/ports.7 +++ b/share/man/man7/ports.7 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 25, 2011 +.Dd May 30, 2011 .Dt PORTS 7 .Os .Sh NAME @@ -479,6 +479,8 @@ Of course, these ports may not work as expected, but if you really know what you are doing and are sure about installing a forbidden port, then .Va NO_IGNORE lets you do it. +.It Va NO_CHECKSUM +If defined, skip verifying the port's checksum. .It Va TRYBROKEN If defined, attempt to build a port even if it is marked as .Aq Va BROKEN . -- cgit v1.1 From 48c330cbba1ff293bac4adf2143317e00101412f Mon Sep 17 00:00:00 2001 From: bcr Date: Mon, 30 May 2011 10:28:55 +0000 Subject: Bump document date. I accidently committed the actual change (typo fix) in r222492, which is a completely unrelated change. --- share/man/man7/c99.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man7/c99.7 b/share/man/man7/c99.7 index 9f69453..8c7d5e2 100644 --- a/share/man/man7/c99.7 +++ b/share/man/man7/c99.7 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 17, 2010 +.Dd May 30, 2011 .Dt C 7 .Os .Sh NAME -- cgit v1.1 From f863f8506b376153bd82f6f80933a3faac1bd48c Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Tue, 31 May 2011 12:59:15 +0000 Subject: It is generally considered useful for release media to have kernels on them. Submitted by: joel --- share/man/man7/release.7 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/man/man7/release.7 b/share/man/man7/release.7 index 6eeda83..f2ca0c8 100644 --- a/share/man/man7/release.7 +++ b/share/man/man7/release.7 @@ -65,7 +65,9 @@ and should have experience upgrading systems from source. The release build process requires that .Pa /usr/obj be populated with the output of -.Dq Li "make buildworld" . +.Dq Li "make buildworld" +and +.Dq Li "make buildkernel" . This is necessary to provide the object files for the release or, when using .Pa generate-release.sh , @@ -294,7 +296,7 @@ The following sequence of commands can be used to build a cd /usr svn co svn://svn.freebsd.org/base/head src cd src -make buildworld +make buildworld buildkernel cd release make release make install DESTDIR=/var/freebsd-snapshot -- cgit v1.1 From 3e0b323798d7bfc88808757802a3ebc36bbc0a89 Mon Sep 17 00:00:00 2001 From: hselasky Date: Wed, 1 Jun 2011 17:58:27 +0000 Subject: Add support for new USB serial driver. Submitted by: Lev Serebryakov, lev @ MFC after: 14 days --- share/man/man4/Makefile | 1 + share/man/man4/ucom.4 | 1 + share/man/man4/umcs7840.4 | 97 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 share/man/man4/umcs7840.4 (limited to 'share') diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 47ffd55..a94d828 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -475,6 +475,7 @@ MAN= aac.4 \ ukbd.4 \ ulpt.4 \ umass.4 \ + umcs7840.4 \ umct.4 \ umodem.4 \ ums.4 \ diff --git a/share/man/man4/ucom.4 b/share/man/man4/ucom.4 index ff891cb..ee9c517 100644 --- a/share/man/man4/ucom.4 +++ b/share/man/man4/ucom.4 @@ -78,6 +78,7 @@ multiple external ports. .Xr uark 4 , .Xr uchcom 4 , .Xr uftdi 4 , +.Xr umcs7840 4 , .Xr umct 4 , .Xr umodem 4 , .Xr uplcom 4 , diff --git a/share/man/man4/umcs7840.4 b/share/man/man4/umcs7840.4 new file mode 100644 index 0000000..4b3ef5e --- /dev/null +++ b/share/man/man4/umcs7840.4 @@ -0,0 +1,97 @@ +.\" +.\" Copyright (c) 2010 Lev Serebryakov . +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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 December 10, 2010 +.Dt UMCS7840 4 +.Os +.Sh NAME +.Nm umcs7840 +.Nd USB support for serial adapters based on the MCS7820 and MCS7840 chips +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device umcs7840" +.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 +umcs7840_load="YES" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for various multiport serial adapters based on the MosCom +MCS7820 and MCS7840 chips. They are 2- or 4-port adapters with full-featured +16550-compatible UARTs and very flexible baud generators. Also, these chips +support RS422/RS485 and IrDA oprations. +.Pp +The device is accessed through the +.Xr ucom 4 +driver which makes it behave like a +.Xr tty 4 . +.Pp +Different ports on device are presented as sub-units, like +.Pa /dev/ttyU0.1 +and +.Pa /dev/ttyU0.2 +.Sh HARDWARE +The +.Nm +driver was tested on the following adapters: +.Pp +.Bl -bullet -compact +.It +ST Lab U-360 two-port serial USB adapter +.It +ST Lab U-400 four-port serial USB adapter +.El +.Sh SEE ALSO +.Xr tty 4 , +.Xr ucom 4 , +.Xr usb 4 +.Sh BUGS +This driver doesn't support access to any fine tunes of +chip, like RS522/RS485 mode, non-standard baudrates, etc. +.Sh HISTORY +The +.Nm +driver +appeared in ports since December of 2010. +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Lev Serebryakov +.Aq lev@FreeBSD.org . -- cgit v1.1 From 75c697f88d61363d7adef67f64cb2a0073c9beec Mon Sep 17 00:00:00 2001 From: uqs Date: Thu, 2 Jun 2011 09:56:53 +0000 Subject: mdoc: reorder sections consistently --- share/man/man4/bwn.4 | 6 +++--- share/man/man4/em.4 | 28 ++++++++++++++-------------- share/man/man4/igb.4 | 28 ++++++++++++++-------------- share/man/man4/mps.4 | 26 +++++++++++++------------- share/man/man4/uep.4 | 10 +++++----- share/man/man4/umcs7840.4 | 6 +++--- share/man/man9/bus_adjust_resource.9 | 18 +++++++++--------- share/misc/mdoc.template | 1 + 8 files changed, 62 insertions(+), 61 deletions(-) (limited to 'share') diff --git a/share/man/man4/bwn.4 b/share/man/man4/bwn.4 index 81452c7..a2ff5c4 100644 --- a/share/man/man4/bwn.4 +++ b/share/man/man4/bwn.4 @@ -142,9 +142,6 @@ The .Nm driver first appeared in .Fx 8.1 . -.Sh CAVEATS -Some LP PHY devices have DMA operation problems that in that case try to -use PIO mode. .Sh AUTHORS .An -nosplit The @@ -155,3 +152,6 @@ driver was written by .\".Sh BUGS .\"Some card based on the BCM4306 and BCM4309 chips do not work properly .\"on channel 1, 2 and 3. +.Sh CAVEATS +Some LP PHY devices have DMA operation problems that in that case try to +use PIO mode. diff --git a/share/man/man4/em.4 b/share/man/man4/em.4 index ecde44d..842f9ee 100644 --- a/share/man/man4/em.4 +++ b/share/man/man4/em.4 @@ -227,6 +227,20 @@ If 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* +identification LED device nodes +.El +.Sh EXAMPLES +Make the identification LED of em0 blink: +.Pp +.Dl "echo f2 > /dev/led/em0" +.Pp +Turn the identification LED of em0 off again: +.Pp +.Dl "echo 0 > /dev/led/em0" +.Pp .Sh DIAGNOSTICS .Bl -diag .It "em%d: Unable to allocate bus resource: memory" @@ -246,20 +260,6 @@ If an issue is identified with the released source code on the supported kernel with a supported adapter, email the specific information related to the issue to .Aq freebsdnic@mailbox.intel.com . -.Sh FILES -.Bl -tag -width /dev/led/em* -.It Pa /dev/led/em* -identification LED device nodes -.El -.Sh EXAMPLES -Make the identification LED of em0 blink: -.Pp -.Dl "echo f2 > /dev/led/em0" -.Pp -Turn the identification LED of em0 off again: -.Pp -.Dl "echo 0 > /dev/led/em0" -.Pp .Sh SEE ALSO .Xr altq 4 , .Xr arp 4 , diff --git a/share/man/man4/igb.4 b/share/man/man4/igb.4 index 65012d2..70db340 100644 --- a/share/man/man4/igb.4 +++ b/share/man/man4/igb.4 @@ -161,6 +161,20 @@ The minimum is 80, and the maximum is 4096. If set to 1, enable Adaptive Interrupt Moderation. The default is to enable Adaptive Interrupt Moderation. .El +.Sh FILES +.Bl -tag -width /dev/led/igb* +.It Pa /dev/led/igb* +identification LED device nodes +.El +.Sh EXAMPLES +Make the identification LED of igb0 blink: +.Pp +.Dl "echo f2 > /dev/led/igb0" +.Pp +Turn the identification LED of igb0 off again: +.Pp +.Dl "echo 0 > /dev/led/igb0" +.Pp .Sh DIAGNOSTICS .Bl -diag .It "igb%d: Unable to allocate bus resource: memory" @@ -180,20 +194,6 @@ If an issue is identified with the released source code on the supported kernel with a supported adapter, email the specific information related to the issue to .Aq freebsdnic@mailbox.intel.com . -.Sh FILES -.Bl -tag -width /dev/led/igb* -.It Pa /dev/led/igb* -identification LED device nodes -.El -.Sh EXAMPLES -Make the identification LED of igb0 blink: -.Pp -.Dl "echo f2 > /dev/led/igb0" -.Pp -Turn the identification LED of igb0 off again: -.Pp -.Dl "echo 0 > /dev/led/igb0" -.Pp .Sh SEE ALSO .Xr altq 4 , .Xr arp 4 , diff --git a/share/man/man4/mps.4 b/share/man/man4/mps.4 index c6dd527..e22bf15 100644 --- a/share/man/man4/mps.4 +++ b/share/man/man4/mps.4 @@ -143,6 +143,19 @@ Enable prints for controller events. .Xr sa 4 , .Xr scsi 4 , .Xr targ 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx 9.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was originally written by +.An Scott Long Aq scottl@FreeBSD.org . +This man page was written by +.An Ken Merry Aq ken@FreeBSD.org . .Sh BUGS This driver is still in development, it has only been tested on the amd64 architecture and has some known shortcomings: @@ -158,16 +171,3 @@ times, without user intervention. .It The error recovery code isn't complete. .El -.Sh HISTORY -The -.Nm -driver first appeared in -.Fx 9.0 . -.Sh AUTHORS -.An -nosplit -The -.Nm -driver was originally written by -.An Scott Long Aq scottl@FreeBSD.org . -This man page was written by -.An Ken Merry Aq ken@FreeBSD.org . diff --git a/share/man/man4/uep.4 b/share/man/man4/uep.4 index 62dc51a..74b65f3 100644 --- a/share/man/man4/uep.4 +++ b/share/man/man4/uep.4 @@ -57,11 +57,6 @@ To get mouse working in .Xr X 7 , one needs to install .Pa ports/x11-drivers/xf86-input-egalax . -.Sh BUGS -.Nm -can't act like -.Xr sysmouse 4 , -since the latter does not support absolute motion events. .Sh FILES .Nm creates a blocking pseudo\-device file, @@ -77,3 +72,8 @@ The .Nm driver was written by .An Gleb Smirnoff Aq glebius@FreeBSD.org +.Sh BUGS +.Nm +can't act like +.Xr sysmouse 4 , +since the latter does not support absolute motion events. diff --git a/share/man/man4/umcs7840.4 b/share/man/man4/umcs7840.4 index 4b3ef5e..f44d5cc 100644 --- a/share/man/man4/umcs7840.4 +++ b/share/man/man4/umcs7840.4 @@ -80,9 +80,6 @@ ST Lab U-400 four-port serial USB adapter .Xr tty 4 , .Xr ucom 4 , .Xr usb 4 -.Sh BUGS -This driver doesn't support access to any fine tunes of -chip, like RS522/RS485 mode, non-standard baudrates, etc. .Sh HISTORY The .Nm @@ -95,3 +92,6 @@ The driver was written by .An Lev Serebryakov .Aq lev@FreeBSD.org . +.Sh BUGS +This driver doesn't support access to any fine tunes of +chip, like RS522/RS485 mode, non-standard baudrates, etc. diff --git a/share/man/man9/bus_adjust_resource.9 b/share/man/man9/bus_adjust_resource.9 index 519974b..be4adae 100644 --- a/share/man/man9/bus_adjust_resource.9 +++ b/share/man/man9/bus_adjust_resource.9 @@ -67,6 +67,15 @@ It is the caller's responsibility to enforce any such requirements. The .Fn bus_adjust_resource method returns zero on success or an error code on failure. +.Sh EXAMPLES +Grow an existing memory resource by 4096 bytes. +.Bd -literal + struct resource *res; + int error; + + error = bus_adjust_resource(dev, SYS_RES_MEMORY, res, + rman_get_start(res), rman_get_end(res) + 0x1000); +.Ed .Sh ERRORS .Fn bus_adjust_resource will fail if: @@ -85,15 +94,6 @@ The new address range does not overlap with the existing address range of .It Bq Er EBUSY The new address range conflicts with another allocated resource. .El -.Sh EXAMPLES -Grow an existing memory resource by 4096 bytes. -.Bd -literal - struct resource *res; - int error; - - error = bus_adjust_resource(dev, SYS_RES_MEMORY, res, - rman_get_start(res), rman_get_end(res) + 0x1000); -.Ed .Sh SEE ALSO .Xr bus_alloc_resource 9 , .Xr bus_release_resource 9 , diff --git a/share/misc/mdoc.template b/share/misc/mdoc.template index 63ba47d..30a5b8e 100644 --- a/share/misc/mdoc.template +++ b/share/misc/mdoc.template @@ -33,3 +33,4 @@ .\" .Sh HISTORY .\" .Sh AUTHORS .\" .Sh BUGS +.\" .Sh SECURITY CONSIDERATIONS -- cgit v1.1 From cf2f65aaed514b7676033ea46f5f79b878598f23 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 3 Jun 2011 11:58:17 +0000 Subject: Don't pass -o1- to groff(1) by default. If ms(7) formatted document uses the .RP macro, a separate cover page is created as page 0 which is not otherwise output. The bug was hiding by a hack in troffrc that disables SGR support in grotty(1), which I'm going to remove now. For POLA reasons, still disable SGR support in grotty(1), by passing -P-c to groff(1). If we want SGR sequences in these documents, this can be removed. MFC after: 1 week --- share/mk/bsd.doc.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'share') diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk index 539d4c3..49b2d9b 100644 --- a/share/mk/bsd.doc.mk +++ b/share/mk/bsd.doc.mk @@ -54,10 +54,10 @@ INDXBIB?= indxbib PIC?= pic REFER?= refer .for _dev in ${PRINTERDEVICE:Mascii} -ROFF.ascii?= groff -Tascii ${TRFLAGS} -mtty-char ${MACROS} -o${PAGES} +ROFF.ascii?= groff -Tascii -P-c ${TRFLAGS} -mtty-char ${MACROS} ${PAGES:C/^/-o/1} .endfor .for _dev in ${PRINTERDEVICE:Nascii} -ROFF.${_dev}?= groff -T${_dev} ${TRFLAGS} ${MACROS} -o${PAGES} +ROFF.${_dev}?= groff -T${_dev} ${TRFLAGS} ${MACROS} ${PAGES:C/^/-o/1} .endfor SOELIM?= soelim TBL?= tbl @@ -94,8 +94,6 @@ DFILE.${_dev}= ${DOC}.${_dev}${DCOMPRESS_EXT} .endif .endfor -PAGES?= 1- - UNROFF?= unroff HTML_SPLIT?= yes UNROFFFLAGS?= -fhtml -- cgit v1.1 From e9d242e0e447f3025156133301d432e91adaab05 Mon Sep 17 00:00:00 2001 From: hselasky Date: Sat, 4 Jun 2011 20:40:24 +0000 Subject: Rename recently added USB serial driver. Suggested by: YongHyeon PYUN MFC after: 7 days --- share/man/man4/Makefile | 2 +- share/man/man4/ucom.4 | 2 +- share/man/man4/umcs.4 | 97 +++++++++++++++++++++++++++++++++++++++++++++++ share/man/man4/umcs7840.4 | 97 ----------------------------------------------- 4 files changed, 99 insertions(+), 99 deletions(-) create mode 100644 share/man/man4/umcs.4 delete mode 100644 share/man/man4/umcs7840.4 (limited to 'share') diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index a94d828..7ccccfb 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -475,7 +475,7 @@ MAN= aac.4 \ ukbd.4 \ ulpt.4 \ umass.4 \ - umcs7840.4 \ + umcs.4 \ umct.4 \ umodem.4 \ ums.4 \ diff --git a/share/man/man4/ucom.4 b/share/man/man4/ucom.4 index ee9c517..8898872 100644 --- a/share/man/man4/ucom.4 +++ b/share/man/man4/ucom.4 @@ -78,7 +78,7 @@ multiple external ports. .Xr uark 4 , .Xr uchcom 4 , .Xr uftdi 4 , -.Xr umcs7840 4 , +.Xr umcs 4 , .Xr umct 4 , .Xr umodem 4 , .Xr uplcom 4 , diff --git a/share/man/man4/umcs.4 b/share/man/man4/umcs.4 new file mode 100644 index 0000000..f57b084 --- /dev/null +++ b/share/man/man4/umcs.4 @@ -0,0 +1,97 @@ +.\" +.\" Copyright (c) 2010 Lev Serebryakov . +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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 December 10, 2010 +.Dt UMCS 4 +.Os +.Sh NAME +.Nm umcs +.Nd USB support for serial adapters based on the MCS7820 and MCS7840 chips +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device umcs" +.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 +umcs_load="YES" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for various multiport serial adapters based on the MosCom +MCS7820 and MCS7840 chips. They are 2- or 4-port adapters with full-featured +16550-compatible UARTs and very flexible baud generators. Also, these chips +support RS422/RS485 and IrDA oprations. +.Pp +The device is accessed through the +.Xr ucom 4 +driver which makes it behave like a +.Xr tty 4 . +.Pp +Different ports on device are presented as sub-units, like +.Pa /dev/ttyU0.1 +and +.Pa /dev/ttyU0.2 +.Sh HARDWARE +The +.Nm +driver was tested on the following adapters: +.Pp +.Bl -bullet -compact +.It +ST Lab U-360 two-port serial USB adapter +.It +ST Lab U-400 four-port serial USB adapter +.El +.Sh SEE ALSO +.Xr tty 4 , +.Xr ucom 4 , +.Xr usb 4 +.Sh BUGS +This driver doesn't support access to any fine tunes of +chip, like RS522/RS485 mode, non-standard baudrates, etc. +.Sh HISTORY +The +.Nm +driver +appeared in ports since December of 2010. +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Lev Serebryakov +.Aq lev@FreeBSD.org . diff --git a/share/man/man4/umcs7840.4 b/share/man/man4/umcs7840.4 deleted file mode 100644 index f44d5cc..0000000 --- a/share/man/man4/umcs7840.4 +++ /dev/null @@ -1,97 +0,0 @@ -.\" -.\" Copyright (c) 2010 Lev Serebryakov . -.\" All rights reserved. -.\" -.\" This code is derived from software contributed to The NetBSD Foundation -.\" by Lennart Augustsson. -.\" -.\" 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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 December 10, 2010 -.Dt UMCS7840 4 -.Os -.Sh NAME -.Nm umcs7840 -.Nd USB support for serial adapters based on the MCS7820 and MCS7840 chips -.Sh SYNOPSIS -To compile this driver into the kernel, -place the following lines in your -kernel configuration file: -.Bd -ragged -offset indent -.Cd "device umcs7840" -.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 -umcs7840_load="YES" -.Ed -.Sh DESCRIPTION -The -.Nm -driver provides support for various multiport serial adapters based on the MosCom -MCS7820 and MCS7840 chips. They are 2- or 4-port adapters with full-featured -16550-compatible UARTs and very flexible baud generators. Also, these chips -support RS422/RS485 and IrDA oprations. -.Pp -The device is accessed through the -.Xr ucom 4 -driver which makes it behave like a -.Xr tty 4 . -.Pp -Different ports on device are presented as sub-units, like -.Pa /dev/ttyU0.1 -and -.Pa /dev/ttyU0.2 -.Sh HARDWARE -The -.Nm -driver was tested on the following adapters: -.Pp -.Bl -bullet -compact -.It -ST Lab U-360 two-port serial USB adapter -.It -ST Lab U-400 four-port serial USB adapter -.El -.Sh SEE ALSO -.Xr tty 4 , -.Xr ucom 4 , -.Xr usb 4 -.Sh HISTORY -The -.Nm -driver -appeared in ports since December of 2010. -.Sh AUTHORS -.An -nosplit -The -.Nm -driver was written by -.An Lev Serebryakov -.Aq lev@FreeBSD.org . -.Sh BUGS -This driver doesn't support access to any fine tunes of -chip, like RS522/RS485 mode, non-standard baudrates, etc. -- cgit v1.1 From afe8c865a625c68e2388327a10a1d64a02c2afe7 Mon Sep 17 00:00:00 2001 From: avg Date: Sun, 5 Jun 2011 19:20:39 +0000 Subject: amdsbwd.4: fix spelling of my name Pointed out by: ru MFC after: 3 days --- share/man/man4/amdsbwd.4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/man/man4/amdsbwd.4 b/share/man/man4/amdsbwd.4 index 370cfa8..a28d661 100644 --- a/share/man/man4/amdsbwd.4 +++ b/share/man/man4/amdsbwd.4 @@ -67,6 +67,6 @@ driver first appeared in The .Nm driver was written by -.An Andiry Gapon Aq avg@FreeBSD.org . +.An Andriy Gapon Aq avg@FreeBSD.org . This manual page was written by -.An Andiry Gapon Aq avg@FreeBSD.org . +.An Andriy Gapon Aq avg@FreeBSD.org . -- cgit v1.1 From 2406f0bc26655d194bc77bf173ae13aaac6dc2c2 Mon Sep 17 00:00:00 2001 From: avg Date: Sun, 5 Jun 2011 19:25:30 +0000 Subject: amdsbwd.4: fix history to reflect correct releases Pointed out by: ru MFC after: 4 days --- share/man/man4/amdsbwd.4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man4/amdsbwd.4 b/share/man/man4/amdsbwd.4 index a28d661..578640b 100644 --- a/share/man/man4/amdsbwd.4 +++ b/share/man/man4/amdsbwd.4 @@ -61,7 +61,9 @@ AMD SB600 and SB7xx south bridge chips. The .Nm driver first appeared in -.Fx 9.0 . +.Fx 7.3 +and +.Fx 8.1 . .Sh AUTHORS .An -nosplit The -- cgit v1.1 From 165e30068eca33d6e882962c2641a8016be2d90a Mon Sep 17 00:00:00 2001 From: jkim Date: Mon, 6 Jun 2011 22:18:40 +0000 Subject: Revert r222152. The root cause was analysed and better fix is upcoming. Discussed with: delphij --- share/man/man4/atkbd.4 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'share') diff --git a/share/man/man4/atkbd.4 b/share/man/man4/atkbd.4 index 0c486e2..73831c2 100644 --- a/share/man/man4/atkbd.4 +++ b/share/man/man4/atkbd.4 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 20, 2011 +.Dd January 29, 2008 .Dt ATKBD 4 .Os .Sh NAME @@ -176,11 +176,6 @@ When this option is given, the .Nm driver will not test the keyboard port during the probe routine. Some machines hang during boot when this test is performed. -.It bit 4 (PROBE_TYPEMATIC) -When this option is given, the -.Nm -driver will try to probe the keyboard typematic rate on boot. -Some machines hang during boot when this test is performed. .El .\".Sh FILES .Sh EXAMPLES -- cgit v1.1 From abeb826d0315f8dd4f0788338535b990b453adb6 Mon Sep 17 00:00:00 2001 From: jlaffaye Date: Mon, 6 Jun 2011 23:48:48 +0000 Subject: Add myself to committers-ports.dot Approved by: tabthorpe@ (mentor) --- share/misc/committers-ports.dot | 1 + 1 file changed, 1 insertion(+) (limited to 'share') diff --git a/share/misc/committers-ports.dot b/share/misc/committers-ports.dot index bfe9f4e..0bee309 100644 --- a/share/misc/committers-ports.dot +++ b/share/misc/committers-ports.dot @@ -97,6 +97,7 @@ itetcu [label="Ion-Mihai Tetcu\nitetcu@FreeBSD.org\n2006/06/07"] jacula [label="Giuseppe Pilichi\njacula@FreeBSD.org\n2010/04/05"] jadawin [label="Philippe Audeoud\njadawin@FreeBSD.org\n2008/03/02"] jkim [label="Jung-uk Kim\njkim@FreeBSD.org\n2007/09/12"] +jlaffaye [label="Julien Laffaye\njlaffaye@FreeBSD.org\n2011/06/06"] jmelo [label="Jean Milanez Melo\njmelo@FreeBSD.org\n2006/03/31"] joerg [label="Joerg Wunsch\njoerg@FreeBSD.org\n1994/08/22"] johans [label="Johan Selst\njohans@FreeBSD.org\n2006/04/01"] -- cgit v1.1 From effca0c0196c2c3b53ca3c7fb6b4cf9999de0f55 Mon Sep 17 00:00:00 2001 From: avg Date: Tue, 7 Jun 2011 06:18:02 +0000 Subject: amdsbwd: update to support SB8xx southbridges Many thanks to Tino for drawing my attention to this, for doing a lot of testing and providing great feedback. Many thanks to AMD for continuing to release public specifications for their chipsets. PR: kern/157568 Tested by: Tino MFC after: 1 week --- share/man/man4/amdsbwd.4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/man/man4/amdsbwd.4 b/share/man/man4/amdsbwd.4 index 578640b..cfb2f79 100644 --- a/share/man/man4/amdsbwd.4 +++ b/share/man/man4/amdsbwd.4 @@ -25,12 +25,12 @@ .\" .\" $FreeBSD$ .\" -.Dd November 30, 2009 +.Dd June 7, 2011 .Dt AMDSBWD 4 .Os .Sh NAME .Nm amdsbwd -.Nd device driver for the AMD SB600/SB700/SB710/SB750 watchdog timer +.Nd device driver for the AMD SB600/SB7xx/SB8xx watchdog timers .Sh SYNOPSIS To compile this driver into the kernel, place the following line in your @@ -51,7 +51,7 @@ The driver provides .Xr watchdog 4 support for the watchdog timers present on -AMD SB600 and SB7xx south bridge chips. +AMD SB600, SB7xx and SB8xx southbridges. .Sh SEE ALSO .Xr watchdog 4 , .Xr watchdog 8 , -- cgit v1.1 From 187eee07df3631bcc10cf4f9863bae83471f8fe4 Mon Sep 17 00:00:00 2001 From: jlaffaye Date: Tue, 7 Jun 2011 09:06:15 +0000 Subject: - Add myself to calendar.freebsd - Add the forgotten relation to mentors in committers-ports.dot Approved by: bapt@ (mentor) --- share/misc/committers-ports.dot | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share') diff --git a/share/misc/committers-ports.dot b/share/misc/committers-ports.dot index 0bee309..d97abcc 100644 --- a/share/misc/committers-ports.dot +++ b/share/misc/committers-ports.dot @@ -205,6 +205,8 @@ arved -> stefan asami -> obrien +bapt -> jlaffaye + beat -> decke beech -> glarkin @@ -402,6 +404,7 @@ tabthorpe -> dhn tabthorpe -> fluffy tabthorpe -> jacula tabthorpe -> jadawin +tabthorpe -> jlaffaye tabthorpe -> pgj tabthorpe -> rene -- cgit v1.1 From f5a66a355e4cb15c54d65412deda8b6ed640dc07 Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 7 Jun 2011 18:48:49 +0000 Subject: Add a special mount option "failok" to indicate that the administrator wants the system to proceed to boot without bailing out into single user mode, even when the file system can not be successfully mounted. This option is implemented in mount(8) and not passed into kernel. MFC after: 1 month --- share/man/man5/fstab.5 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man5/fstab.5 b/share/man/man5/fstab.5 index 1c6f17e..aa50f84 100644 --- a/share/man/man5/fstab.5 +++ b/share/man/man5/fstab.5 @@ -32,7 +32,7 @@ .\" @(#)fstab.5 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd November 23, 2008 +.Dd June 7, 2011 .Dt FSTAB 5 .Os .Sh NAME @@ -147,6 +147,13 @@ this location can be specified as: userquota=/var/quotas/tmp.user .Ed .Pp +If the option ``failok'' is specified, +the system will ignore any error which happens during the mount of that filesystem, +which would otherwise cause the system to drop into single user mode. +This option is implemented by the +.Xr mount 8 +command and will not be passed to the kernel. +.Pp If the option ``noauto'' is specified, the file system will not be automatically mounted at system startup. Note that, for network file systems -- cgit v1.1 From b13895d9ea55e6897b9b5fdd46be2f9bff544d0b Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 8 Jun 2011 00:31:10 +0000 Subject: Use .Dq instead of hardcoding `` and ''. Suggested by: gjb --- share/man/man5/fstab.5 | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'share') diff --git a/share/man/man5/fstab.5 b/share/man/man5/fstab.5 index aa50f84..adbf489 100644 --- a/share/man/man5/fstab.5 +++ b/share/man/man5/fstab.5 @@ -70,7 +70,8 @@ remote file system to be mounted. The second field, .Pq Fa fs_file , describes the mount point for the file system. -For swap partitions, this field should be specified as ``none''. +For swap partitions, this field should be specified as +.Dq none . .Pp The third field, .Pq Fa fs_vfstype , @@ -125,7 +126,11 @@ sync,noatime,-m=644,-M=755,-u=foo,-g=bar in the option field of .Nm . .Pp -If the options ``userquota'' and/or ``groupquota'' are specified, +If the options +.Dq userquota +and/or +.Dq groupquota +are specified, the file system is automatically processed by the .Xr quotacheck 8 command, and user and/or group disk quotas are enabled with @@ -147,14 +152,18 @@ this location can be specified as: userquota=/var/quotas/tmp.user .Ed .Pp -If the option ``failok'' is specified, +If the option +.Dq failok +is specified, the system will ignore any error which happens during the mount of that filesystem, which would otherwise cause the system to drop into single user mode. This option is implemented by the .Xr mount 8 command and will not be passed to the kernel. .Pp -If the option ``noauto'' is specified, the file system will not be automatically +If the option +.Dq noauto +is specified, the file system will not be automatically mounted at system startup. Note that, for network file systems of third party types @@ -177,13 +186,19 @@ field (it is not deleted from the field). If .Fa fs_type -is ``rw'' or ``ro'' then the file system whose name is given in the +is +.Dq rw +or +.Dq ro +then the file system whose name is given in the .Fa fs_file field is normally mounted read-write or read-only on the specified special file. If .Fa fs_type -is ``sw'' then the special file is made available as a piece of swap +is +.Dq sw +then the special file is made available as a piece of swap space by the .Xr swapon 8 command at the end of the system reboot procedure. @@ -194,7 +209,9 @@ and are unused. If .Fa fs_type -is specified as ``xx'' the entry is ignored. +is specified as +.Dq xx +the entry is ignored. This is useful to show disk partitions which are currently unused. .Pp The fifth field, -- cgit v1.1 From 564568bfd407d4897ef5964d88c310d8fde625d8 Mon Sep 17 00:00:00 2001 From: jilles Date: Fri, 10 Jun 2011 13:47:11 +0000 Subject: skel/.shrc: Improve commented CDPATH example for POSIX requirements. POSIX says an empty entry in CDPATH shall not result in the new directory being printed, while any non-empty entry shall result in the new directory being printed, including ".". Therefore, the value of CDPATH should almost always start with a colon, not dot and colon. Our sh does not print the name for empty entries as well as "." entries. MFC after: 1 week --- share/skel/dot.shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc index 7349169..ea32f35 100644 --- a/share/skel/dot.shrc +++ b/share/skel/dot.shrc @@ -44,4 +44,4 @@ alias g='egrep -i' # esac # search path for cd(1) -# CDPATH=.:$HOME +# CDPATH=:$HOME -- cgit v1.1 From f6dfb001a5514c34ffa5a8ed77eecaa347b92792 Mon Sep 17 00:00:00 2001 From: crees Date: Sat, 11 Jun 2011 21:27:14 +0000 Subject: Add self Approved by: rene (mentor) --- share/misc/committers-ports.dot | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share') diff --git a/share/misc/committers-ports.dot b/share/misc/committers-ports.dot index d97abcc..f1a95ba 100644 --- a/share/misc/committers-ports.dot +++ b/share/misc/committers-ports.dot @@ -67,6 +67,7 @@ chinsan [label="Chinsan Huang\nchinsan@FreeBSD.org\n2007/06/12"] clement [label="Clement Laforet\nclement@FreeBSD.org\n2003/12/17"] clsung [label="Cheng-Lung Sung\nclsung@FreeBSD.org\n2004/8/18"] cperciva [label="Colin Percival\ncperciva@FreeBSD.org\n2006/01/31"] +crees [label="Chris Rees\ncrees@FreeBSD.org\n2011/06/11"] culot [label="Frederic Culot\nculot@FreeBSD.org\n2010/10/16"] daichi [label="Daichi Goto\ndaichi@FreeBSD.org\n2002/10/17"] danfe [label="Alexey Dokuchaev\ndanfe@FreeBSD.org\n2004/08/20"] @@ -375,6 +376,8 @@ philip -> koitsu rafan -> chinsan +rene -> crees + sahil -> culot sat -> beech -- cgit v1.1 From 41915bd7333bae67c386e71f648b5c954b27721e Mon Sep 17 00:00:00 2001 From: stephen Date: Tue, 14 Jun 2011 17:51:46 +0000 Subject: Reviewed by: gabor (mentor) Approved by: gabor (mentor) --- share/misc/committers-ports.dot | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share') diff --git a/share/misc/committers-ports.dot b/share/misc/committers-ports.dot index f1a95ba..712590c 100644 --- a/share/misc/committers-ports.dot +++ b/share/misc/committers-ports.dot @@ -166,6 +166,7 @@ skreuzer [label="Steven Kreuzer\nskreuzer@FreeBSD.org\n2009/03/25"] sobomax[label="Maxim Sobolev\nsobomax@FreeBSD.org\n2000/05/17"] stas [label="Stanislav Sedov\nstas@FreeBSD.org\n2006/09/18"] stefan [label="Stefan Walter\nstefan@FreeBSD.org\n2006/05/07"] +stephen [label="Stephen Montgomery-Smith\nstephen@FreeBSD.org\n2011/06/13"] sunpoet [label="Po-Chuan Hsieh\nsunpoet@FreeBSD.org\n2010/09/21"] sylvio [label="Sylvio Cesar Teixeira\nsylvio@FreeBSD.org\n2009/10/29"] swills [label="Steve Wills\nswills@FreeBSD.org\n2010/09/03"] @@ -259,6 +260,7 @@ flz -> romain gabor -> lippe gabor -> pgj +gabor -> stephen garga -> acm garga -> alepulver @@ -311,6 +313,7 @@ lioux -> pat lwhsu -> yzlin +maho -> stephen maho -> tota marcus -> ahze -- cgit v1.1 From 3fa3d79859a39abcc58ffec875f572bc4a3f5949 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 16 Jun 2011 12:28:37 +0000 Subject: It's a bit odd, but "make update" in src/ can also update the ports/, doc/, and now www/ trees, but only using the "cvsup" transport. When "make update" is run using a tree's makefile, it can also use "cvs" (except for www/) and "svn" (only src/). Clean up documentation and code regarding "make update": - Increase oddness by adding support for WWWSUPFILE and NO_WWWUPDATE to Makefile.inc1 (analogous to PORTSSUPFILE/NO_PORTSUPDATE and DOCSUPFILE/NO_DOCUPDATE; WWWSUPFILE already supported by www/Makefile). - Document all trees that support CVS_UPDATE. - Document all trees that support SUP_UPDATE. - Document SVN_UPDATE. - Document NO_WWWUPDATE. - make.conf(5) mistakenly said that *SUPFILE* had defaults. - Add an example entry for WWWSUPFILE. --- share/examples/etc/make.conf | 1 + share/man/man5/make.conf.5 | 49 +++++++++++++++++++++++++++++--------------- share/man/man7/build.7 | 6 +++++- 3 files changed, 39 insertions(+), 17 deletions(-) (limited to 'share') diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 516a0e2..d3cdf3e7 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -188,6 +188,7 @@ #SUPFILE= /usr/share/examples/cvsup/standard-supfile #PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile #DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile +#WWWSUPFILE= /usr/share/examples/cvsup/www-supfile # # top(1) uses a hash table for the user names. The size of this hash # can be tuned to match the number of local users. The table size should diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5 index 0f9e70d..c424a1e 100644 --- a/share/man/man5/make.conf.5 +++ b/share/man/man5/make.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 15, 2009 +.Dd June 16, 2011 .Dt MAKE.CONF 5 .Os .Sh NAME @@ -181,7 +181,11 @@ options. .Pq Vt bool Set this to use .Xr cvs 1 -to update your ports with +to update your +.Pa src , ports +and +.Pa doc +trees with .Dq Li "make update" . .It Va CXXFLAGS .Pq Vt str @@ -202,8 +206,8 @@ The documentation .Ar supfile to use when doing a .Dq Li "make update" . -This defaults to -.Pa /usr/share/examples/cvsup/doc\-supfile . +For example, +.Pa /usr/share/examples/cvsup/doc-supfile . .It Va INSTALL .Pq Vt str the default install command. @@ -259,14 +263,18 @@ Set this to not update the doc tree during .Pq Vt bool Set this to not update the ports tree during .Dq Li "make update" . +.It Va NO_WWWUPDATE +.Pq Vt bool +Set this to not update the www tree during +.Dq Li "make update" . .It Va PORTSSUPFILE .Pq Vt str The ports .Ar supfile to use when doing a .Dq Li "make update" . -This defaults to -.Pa /usr/share/examples/cvsup/ports\-supfile . +For example, +.Pa /usr/share/examples/cvsup/ports-supfile . .It Va SUP .Pq Vt str The location of the @@ -281,24 +289,20 @@ The first .Ar supfile to use when doing a .Dq Li "make update" . -This defaults to -.Pa /usr/share/examples/cvsup/standard\-supfile . +For example, +.Pa /usr/share/examples/cvsup/standard-supfile . .It Va SUPFILE1 .Pq Vt str The second .Ar supfile to use when doing a .Dq Li "make update" . -This defaults to -.Pa /usr/share/examples/cvsup/secure\-supfile . .It Va SUPFILE2 .Pq Vt str The third .Ar supfile to use when doing a .Dq Li "make update" . -This defaults to -.Pa /usr/share/examples/cvsup/secure\-supfile . .It Va SUPFLAGS .Pq Vt str The flag for the @@ -315,16 +319,28 @@ The hostname of the sup server to use when doing .Pq Vt bool Set this to use .Xr cvsup 1 -to update your ports with +to update your +.Pa src , ports , doc +and +.Pa www +trees with +.Dq Li "make update" . +.It Va SVN_UPDATE +.Pq Vt bool +Set this to use +.Xr svn 1 +to update your +.Pa src +tree with .Dq Li "make update" . .It Va WWWSUPFILE .Pq Vt str The www .Ar supfile to use when doing a -.Dq Li "make update" -This defaults to -.Pa /usr/share/examples/cvsup/www\-supfile . +.Dq Li "make update" . +For example, +.Pa /usr/share/examples/cvsup/www-supfile . .El .Ss "BUILDING THE KERNEL" The following list provides a name and short description for variables @@ -730,6 +746,7 @@ filter, or both. .Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact .It Pa /etc/make.conf .It Pa /usr/doc/Makefile +.It Pa /usr/ports/Makefile .It Pa /usr/share/examples/etc/make.conf .It Pa /usr/share/mk/sys.mk .It Pa /usr/src/Makefile diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index 22305b7..b43a961 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 18, 2011 +.Dd June 16, 2011 .Dt BUILD 7 .Os .Sh NAME @@ -517,6 +517,10 @@ target. If set, the update process does not update the Ports tree as part of the .Dq make update target. +.It Va NO_WWWUPDATE +If set, the update process does not update the www tree as part of the +.Dq make update +target. .El .Pp Builds under directory -- cgit v1.1 From 7c8a74495baf6c34ef91c68c14f2073c02a19e18 Mon Sep 17 00:00:00 2001 From: mav Date: Thu, 16 Jun 2011 15:53:14 +0000 Subject: Add Digitizer-related usage IDs from HUTRR30 and HUTRR34. --- share/misc/usb_hid_usages | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'share') diff --git a/share/misc/usb_hid_usages b/share/misc/usb_hid_usages index 2e66836..0a4a556 100644 --- a/share/misc/usb_hid_usages +++ b/share/misc/usb_hid_usages @@ -989,9 +989,11 @@ 0x0B Armature 0x0C Multiple Point Digitizer 0x0D Free Space Wand + 0x0E Device Configuration 0x20 Stylus 0x21 Puck 0x22 Finger + 0x23 Device Settings 0x30 Tip Pressure 0x31 Barrel Pressure 0x32 In Range @@ -1015,6 +1017,14 @@ 0x44 Barrel Switch 0x45 Eraser 0x46 Tablet Pick + 0x47 Touch Valid + 0x48 Width + 0x49 Height + 0x51 Contact Identifier + 0x52 Device Mode + 0x53 Device Identifier + 0x54 Contact Count + 0x55 Contact Count Maximum 15 Physical Interface Device 0x00 Undefined -- cgit v1.1 From 812705c73fa07bb533f76478b6af65d2852e201b Mon Sep 17 00:00:00 2001 From: bcr Date: Thu, 16 Jun 2011 19:57:07 +0000 Subject: Fix some wording and grammar in the BUGS section. PR: docs/157901 Submitted by: Niclas Zeising (niclas dot zeising at gmail dot com) Reviewed by: mav MFC after: 3 days --- share/man/man4/snd_hda.4 | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'share') diff --git a/share/man/man4/snd_hda.4 b/share/man/man4/snd_hda.4 index 9325788..6dedb02 100644 --- a/share/man/man4/snd_hda.4 +++ b/share/man/man4/snd_hda.4 @@ -668,16 +668,20 @@ and A few Hardware/OEM vendors tend to screw up BIOS settings, thus rendering the .Nm -driver useless, which usually results in a state where the +driver useless. +This usually results in a state where the .Nm -driver seems to attach and work, but without any sound. Some of -that cases can be solved by tuning loader.conf variables. But before -trying to fix problem that way, make sure that problem is really exists -and the PCM audio device you are using really corresponds to expected +driver seems to attach and work, but no sound is played. +Some cases can be solved by tuning +.Pa loader.conf +variables. +Before trying to fix problem that way, make sure that there really is a problem +and that the PCM audio device in use really corresponds to the expected audio connector. .Pp -Some vendors use non-standardized General Purpose I/O (GPIO) pins of codec -to control external amplifiers. In some cases setting proper combination of -GPIO bits may be needed to make sound work on specific device. +Some vendors use non-standardized General Purpose I/O (GPIO) pins of the codec +to control external amplifiers. +In some cases setting a combination of GPIO bits may be needed to make +sound work on a specific device. .Pp HDMI and DisplayPort audio may also require support from video driver. -- cgit v1.1 From 3228f6f97d8493df02ab98237d7f416c44874d9e Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 17 Jun 2011 20:49:30 +0000 Subject: Update manpage. --- share/man/man5/src.conf.5 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'share') diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index f0b9905..83a3f5f 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,7 +1,7 @@ .\" DO NOT EDIT-- this file is automatically generated. .\" from FreeBSD: head/tools/build/options/makeman 221733 2011-05-10 13:01:11Z ru .\" $FreeBSD$ -.Dd May 22, 2011 +.Dd June 17, 2011 .Dt SRC.CONF 5 .Os .Sh NAME @@ -78,11 +78,11 @@ The following list provides a name and short description for variables that can be used for source builds. .Bl -tag -width indent .It Va WITHOUT_ACCT -.\" from FreeBSD: head/tools/build/options/WITHOUT_ACCT 221540 2011-05-06 19:13:03Z ru +.\" from FreeBSD: head/tools/build/options/WITHOUT_ACCT 223201 2011-06-17 20:47:44Z ed Set to not build process accounting tools such as -.Xr ac 8 +.Xr accton 8 and -.Xr accton 8 . +.Xr sa 8 . .It Va WITHOUT_ACPI .\" from FreeBSD: head/tools/build/options/WITHOUT_ACPI 156932 2006-03-21 07:50:50Z ru Set to not build @@ -225,8 +225,8 @@ Set to not build the boot blocks and loader. Set to not build the BSD licensed version of cpio based on .Xr libarchive 3 . .It Va WITH_BSD_GREP -.\" from FreeBSD: head/tools/build/options/WITH_BSD_GREP 211701 2010-08-23 10:04:26Z gabor -Build BSD-licensed grep instead of GNU grep. +.\" from FreeBSD: head/tools/build/options/WITH_BSD_GREP 222273 2011-05-25 01:04:12Z obrien +Install BSD-licensed grep as '[ef]grep' instead of GNU grep. .It Va WITHOUT_BSNMP .\" from FreeBSD: head/tools/build/options/WITHOUT_BSNMP 183306 2008-09-23 16:15:42Z sam Set to not build or install -- cgit v1.1 From e75cd7ae0e980477aff17703a337dee702ecd2fb Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 17 Jun 2011 21:30:21 +0000 Subject: Add WITHOUT_UTMPX switch to the build system. This knob removes the tools that are exclusively used to view and maintain the databases maintained by utmpx, namely last, users, who, wtmpcvt, ac, lastlogin and utxrm. The tool w is not in this list, because it has some other functionality which is unrelated to utmpx; it is hardlinked to the uptime tool. --- share/mk/bsd.own.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'share') diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index f7ab5f8..a589fba 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -383,6 +383,7 @@ __DEFAULT_YES_OPTIONS = \ TEXTPROC \ TOOLCHAIN \ USB \ + UTMPX \ WIRELESS \ WPA_SUPPLICANT_EAPOL \ ZFS \ -- cgit v1.1 From 93d2d762ed960f4b01b6c523ab0b070977a5beea Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 17 Jun 2011 21:31:13 +0000 Subject: Regenerate src.conf.5. --- share/man/man5/src.conf.5 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'share') diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 83a3f5f..544344c 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -916,6 +916,17 @@ When set, it also enforces the following options: .It Va WITHOUT_USB .\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru Set to not build USB-related programs and libraries. +.It Va WITHOUT_UTMPX +.\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 223209 2011-06-17 21:30:21Z ed +Set to not build user accounting tools such as +.Xr last 1 , +.Xr users 1 , +.Xr who 1 , +.Xr wtmpcvt 1 , +.Xr ac 8 , +.Xr lastlogin 8 +and +.Xr utxrm 8 . .It Va WITHOUT_WIRELESS .\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam Set to not build programs used for 802.11 wireless networks; especially -- cgit v1.1 From c1a32a7f3679e35d35ab4202897abf08219858bb Mon Sep 17 00:00:00 2001 From: bz Date: Sat, 18 Jun 2011 13:03:06 +0000 Subject: Correct a typo in the function name. MFC after: 1 week --- share/man/man9/device_get_sysctl.9 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/man/man9/device_get_sysctl.9 b/share/man/man9/device_get_sysctl.9 index 4dcc2ab..d838ac7 100644 --- a/share/man/man9/device_get_sysctl.9 +++ b/share/man/man9/device_get_sysctl.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 23, 2006 +.Dd June 18, 2011 .Dt DEVICE_GET_SYSCTL 9 .Os .Sh NAME @@ -49,7 +49,7 @@ This node can be accessed with the .Fn device_get_sysctl_tree function. The context for the node can be obtained with the -.Fn device_get_sysctl_ctl +.Fn device_get_sysctl_ctx function. .Sh SEE ALSO .Xr device 9 -- cgit v1.1 From 55526da09969fb6a911b2d5e573b75d7cf2d26ce Mon Sep 17 00:00:00 2001 From: bz Date: Sat, 18 Jun 2011 13:08:46 +0000 Subject: Install symlinks for m_tag_* mbuf tag functions to the mbuf_tags.9 man page. MFC after: 1 week --- share/man/man9/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'share') diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 50edf73..815ddd0 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -860,6 +860,22 @@ MLINKS+=\ mbuf.9 mtod.9 \ mbuf.9 M_TRAILINGSPACE.9 \ mbuf.9 M_WRITABLE.9 +MLINKS+=\ + mbuf_tags.9 m_tag_alloc.9 \ + mbuf_tags.9 m_tag_copy.9 \ + mbuf_tags.9 m_tag_copy_chain.9 \ + mbuf_tags.9 m_tag_delete.9 \ + mbuf_tags.9 m_tag_delete_chain.9 \ + mbuf_tags.9 m_tag_delete_nonpersistent.9 \ + mbuf_tags.9 m_tag_find.9 \ + mbuf_tags.9 m_tag_first.9 \ + mbuf_tags.9 m_tag_free.9 \ + mbuf_tags.9 m_tag_get.9 \ + mbuf_tags.9 m_tag_init.9 \ + mbuf_tags.9 m_tag_locate.9 \ + mbuf_tags.9 m_tag_next.9 \ + mbuf_tags.9 m_tag_prepend.9 \ + mbuf_tags.9 m_tag_unlink.9 MLINKS+=MD5.9 MD5Init.9 \ MD5.9 MD5Transform.9 MLINKS+=mdchain.9 md_append_record.9 \ -- cgit v1.1 From 7622e8e87a4278814e465617d7c126bd9131d057 Mon Sep 17 00:00:00 2001 From: dougb Date: Sat, 18 Jun 2011 19:41:05 +0000 Subject: Add rc.d/kld to load kernel modules after local disks are up. This method is many times faster than doing it in /boot/loader.conf. --- share/man/man5/rc.conf.5 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index cf062c5..fddb4f5 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 27, 2011 +.Dd June 18, 2011 .Dt RC.CONF 5 .Os .Sh NAME @@ -196,6 +196,14 @@ Configuration file for .Xr ddb 8 . Default .Pa /etc/ddb.conf . +.It Va kld_list +.Pq Vt str +A list of kernel modules to load right after the local +disks are mounted. +Loading modules at this point in the boot process is +much faster than doing it via +.Pa /boot/loader.conf +for those modules not necessary for mounting local disk. .It Va kldxref_enable .Pq Vt bool Set to -- cgit v1.1 From 1175683ecd587ecd5f1441b4c502e5dfe57b58c5 Mon Sep 17 00:00:00 2001 From: dougb Date: Sun, 19 Jun 2011 22:48:40 +0000 Subject: Add the netwait rc.d script. It waits for the specified period for the network to become active. PR: conf/151063 Submitted by: Jeremy Chadwick --- share/man/man5/rc.conf.5 | 58 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index fddb4f5..d7d52c1 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 18, 2011 +.Dd June 19, 2011 .Dt RC.CONF 5 .Os .Sh NAME @@ -4293,6 +4293,61 @@ Bus address of the USB Bluetooth controller. Check the output of .Xr usbconfig 8 on your system to find this information. +.It Va netwait_enable +.Pq Vt bool +If set to +.Dq Li YES , +delays the start of network-reliant services until +.Va netwait_if +is up and ICMP packets to a destination defined in +.Va netwait_ip +are flowing. +Link state is examined first, followed by +.Dq Li pinging +an IP address to verify network usability. +If no destination can be reached or timeouts are exceeded, +network services are started anyway with no guarantee that +the network is usable. +Use of this variable requires both +.Va netwait_ip +and +.Va netwait_if +to be set. +.It Va netwait_ip +.Pq Vt str +Empty by default. +This variable contains a space-delimited list of IP addresses to +.Xr ping 8 . +DNS hostnames should not be used as resolution is not guaranteed +to be functional at this point. +If multiple IP addresses are specified, +each will be tried until one is successful or the list is exhausted. +.It Va netwait_timeout +.Pq Vt int +Indicates the total number of seconds to perform a +.Dq Li ping +against each IP address in +.Va netwait_ip , +at a rate of one ping per second. +If any of the pings are successful, +full network connectivity is considered reliable. +The default is 60. +.It Va netwait_if +.Pq Vt str +Empty by default. +Defines the name of the network interface on which watch for link. +.Xr ifconfig 8 +is used to monitor the interface, looking for +.Dq Li status: no carrier . +Once gone, the link is considered up. +This can be a +.Xr vlan 4 +interface if desired. +.It Va netwait_if_timeout +.Pq Vt int +Defines the total number of seconds to wait for link to become usable, +polled at a 1-second interval. +The default is 30. .El .Sh FILES .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact @@ -4364,6 +4419,7 @@ on your system to find this information. .Xr ntpdate 8 , .Xr pfctl 8 , .Xr pflogd 8 , +.Xr ping 8 , .Xr powerd 8 , .Xr quotacheck 8 , .Xr quotaon 8 , -- cgit v1.1