Commit Graph

9233 Commits

Author SHA1 Message Date
Luiz Otavio O Souza
855feb6867 Adds the ADC driver for TI AM3xxx SoC family.
The ADC has a 12bit resolution and its raw output can be read via sysctl(8)
interface.

The driver allows the setup of ADC clock, samples average and open delay
(the number of clock cycles to wait before start the conversion).

The TSC_ADC module is set in the general purpose mode (no touchscreen
support).

Tested on Beaglebone-black.

Written based on AM335x TRM.

Reviewed by:	rpaulo
Approved by:	adrian (mentor)
Tested by:	me, Brian J. McGovern, Sulev-Madis Silber (ketas)
2014-03-24 20:06:27 +00:00
Bryan Drewery
44f1c91610 Rename global cnt to vm_cnt to avoid shadowing.
To reduce the diff struct pcu.cnt field was not renamed, so
PCPU_OP(cnt.field) is still used. pc_cnt and pcpu are also used in
kvm(3) and vmstat(8). The goal was to not affect externally used KPI.

Bump __FreeBSD_version_ in case some out-of-tree module/code relies on the
the global cnt variable.

Exp-run revealed no ports using it directly.

No objection from:	arch@
Sponsored by:	EMC / Isilon Storage Division
2014-03-22 10:26:09 +00:00
Navdeep Parhar
99defe5edc cxgbe(4): man page updates. 2014-03-20 21:57:10 +00:00
Alan Somers
b2b6c6a803 share/man/man7/tests.7
Added a section on test suite configuration, and cleaned up up
	grammar errors and awkward prose.  The config variables were
	discussed on freebsd-testing.

Discussed with: Garrett Cooper, jmmv
MFC after:	2 weeks
Sponsored by:	Spectra Logic Corporation
2014-03-20 17:13:07 +00:00
Ed Maste
f9d9faeb8e Switch to standard 2-clause license
Approved by:	hps@
Sponsored by:	The FreeBSD Foundation
2014-03-18 17:00:32 +00:00
Jim Harris
8f3616caca Update nvme(4) and nvd(4) man pages to clarify the differences between
their respective device nodes.

Sponsored by:	Intel
MFC after:	3 days
2014-03-18 15:43:42 +00:00
Ed Maste
f1261466a0 Use standard FreeBSD license disclaimer
The original was accidentally copied from a NetBSD Foundation copyright
block.

Sponsored by:	The FreeBSD Foundation
2014-03-18 13:47:27 +00:00
Hans Petter Selasky
62b91c7309 Add missing usfs manual page.
Suggested by:	Sascha Wildner <swildner@gmail.com>
MFC after:	1 week
2014-03-18 07:06:31 +00:00
Hans Petter Selasky
c742af04c4 Add missing umoscom manual page.
Suggested by:	Sascha Wildner <swildner@gmail.com>
MFC after:	1 week
2014-03-18 06:52:11 +00:00
Hans Petter Selasky
f50403d5b7 Correctly name USB template manual page and install it by default.
Suggested by:	Sascha Wildner <swildner@gmail.com>
MFC after:	1 week
2014-03-18 06:43:21 +00:00
Hans Petter Selasky
3a1d981606 Update USB template manual page.
MFC after:	1 week
2014-03-18 06:41:17 +00:00
Ed Maste
0fcefb433d Update NetBSD Foundation copyrights to 2-clause BSD
The NetBSD Foundation states "Third parties are encouraged to change the
license on any files which have a 4-clause license contributed to the
NetBSD Foundation to a 2-clause license."

This change removes clauses 3 and 4 from copyright / license blocks that
list The NetBSD Foundation as the only copyright holder.

Sponsored by:	The FreeBSD Foundation
2014-03-18 01:40:25 +00:00
Alan Somers
c676e6694e share/man/man9/counter.9
Fix logic error in the description of counter_u64_alloc: the command
	may fail only if M_NOWAIT is specified, not M_WAITOK.

Reviewed by:	glebius
MFC after:	2 weeks
Sponsored by:	Spectra Logic Corporation
2014-03-17 19:55:27 +00:00
Bryan Venteicher
e557c1dd90 Add Tx/Rx multiqueue support to vmx(4)
As a prerequisite for multiple queues, the guest must have MSIX enabled.
Unfortunately, to work around device passthrough bugs, FreeBSD disables
MSIX when running as a VMWare guest due to the hw.pci.honor_msi_blacklist
tunable; this tunable must be disabled for multiple queues.

Also included is various minor changes from the projects/vmxnet branch.

MFC after:	1 month
2014-03-17 05:45:29 +00:00
John-Mark Gurney
0d7f18cddc Xref pthread_cancel...
bump Dd, _exit was still dated 1996!  yes, it has been modified a few
times since then...

MFC after:	1 week
2014-03-16 01:17:09 +00:00
Gleb Smirnoff
66dcee729c Garbage collect long time obsoleted (or never used) stuff from routing API. 2014-03-15 06:49:32 +00:00
Gleb Smirnoff
54983340f3 A miss from r263140. 2014-03-14 17:18:21 +00:00
Gleb Smirnoff
45c203fce2 Remove AppleTalk support.
AppleTalk was a network transport protocol for Apple Macintosh devices
in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk was
a legacy protocol and primary networking protocol is TCP/IP. The last
Mac OS X release to support AppleTalk happened in 2009. The same year
routing equipment vendors (namely Cisco) end their support.

Thus, AppleTalk won't be supported in FreeBSD 11.0-RELEASE.
2014-03-14 06:29:43 +00:00
Eitan Adler
dda5b39711 multiple: Remove 3rd clause from BSD license where approved by the
regents and renumber.

This patch skips files in contrib/ and crypto/

Acked by:	imp
Discussed with:	emaste
2014-03-14 03:07:51 +00:00
Gleb Smirnoff
2c284d9395 Remove IPX support.
IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.

Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
2014-03-14 02:58:48 +00:00
John-Mark Gurney
7f13f912da remove link to the missing AMD Geode LX SB man page... we can add it
back once someone cares enough to write one..
2014-03-13 16:19:36 +00:00
Glen Barber
fa462c9723 Connect the hyperv drivers to the build.
MFC after:	5 days
X-MFC-With:	r263105
Sponsored by:	The FreeBSD Foundation
2014-03-13 05:17:53 +00:00
Glen Barber
fad4aec859 Add hyperv manual pages provided by Microsoft, formatted
for FreeBSD standards.  Very little, if any, content was
modified.

These are not yet linked to the build.

Submitted by:	Abhishek Gupta (abgupta!microsoft dot com)
Sponsored by:	The FreeBSD Foundation
2014-03-13 05:11:56 +00:00
Glen Barber
e0436612a9 Merge ^/projects/release-embedded into ^/head.
After several months of testing and fixing (and breaking)
various parts of release/release.sh changes, it is now
possible to build FreeBSD/arm images as part of the release
process.

When EMBEDDEDBUILD is set in the release.conf file, release.sh
will create the build environment, then run a separate script
in release/${XDEV}/release.sh [1].  Currently, only arm is
supported.

The release/${XDEV}/release.sh configures the build environment
specific for the target image, such as installing gcc(1),
installing additional third-party software from the ports tree,
and fetching external sources.

Once the build environment is set up, release/${XDEV}/release.sh
runs Crochet, written by Tim Kientzle, which builds the userland
and kernel, and creates an image that can be written to an SD
card with dd(1).  Many thanks to Tim for his work on Crochet.

Sample configurations for FreeBSD/arm boards are in the
release/arm/ directory, and Crochet configuration files for each
board are located in release/tools/arm/.  Supported boards at this
time are: BEAGLEBONE, PANDABOARD, RPI-B, and WANDBOARD-QUAD.

Adding support for additional boards will continue in the
projects/release-embedded/ branch, and incrementally merged back
to head/.

Many thanks to the FreeBSD Foundation for the support and
sponsorship of this project.

[1] XDEV is used in order to keep the various configurations
    organized by architecture, but since TARGET and TARGET_ARCH
    are used to build the chroot, the values of those variables
    cannot be used.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2014-03-05 23:17:53 +00:00
Gleb Smirnoff
e3a7aa6f56 - Remove rt_metrics_lite and simply put its members into rtentry.
- Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This
  removes another cache trashing ++ from packet forwarding path.
- Create zini/fini methods for the rtentry UMA zone. Via initialize
  mutex and counter in them.
- Fix reporting of rmx_pksent to routing socket.
- Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode.

The change is mostly targeted for stable/10 merge. For head,
rt_pksent is expected to just disappear.

Discussed with:		melifaro
Sponsored by:		Netflix
Sponsored by:		Nginx, Inc.
2014-03-05 01:17:47 +00:00
Christian Brueffer
78c7e17b66 mdoc cleanup.
MFC after:	1 week
2014-02-28 15:55:35 +00:00
Glen Barber
9bb84a63b7 release.sh:
- Add a VCSCMD variable that defaults to 'svn checkout',
  and update places 'svn co' is used directly.
- After sourcing a configuration file, prefix SRCBRANCH,
  PORTBRANCH, and DOCBRANCH with the SVNROOT.
- Properly capitalize 'FreeBSD.org' in the default SVNROOT.
- Update Copyright.

release.conf.sample:
- Add an example to use git instead of svn, by nullifying
  SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
  to the URL fo a git repository.

release.7:
- Document VCSCMD.

Submitted by:	Rick Miller (based on)
Sponsored by:	The FreeBSD Foundation
2014-02-25 22:13:48 +00:00
Hans Petter Selasky
b3c0274515 Update ATP manual page.
Submitted by:	Rohit Grover <rgrover1@gmail.com>
MFC after:	2 weeks
2014-02-24 19:27:26 +00:00
Eitan Adler
dd507fd312 hier(7): Add /usr/lib/private
Requested by:	theraven
MFC After:	3 days
2014-02-24 17:14:08 +00:00
Hans Petter Selasky
37247d72eb Update ATP driver:
- Support for double-tap and drag.
- Support for 2-finger horizontal scrolling which translates to page-back/forward events.
- Single finger tap is equivalent to a left-button press.
- Two-finger taps are mapped to the right-button click.
- Three fingers are mapped to middle button.
- Add sysctl to disable single finger tapping.
- Fix for multiple open of /dev/atp0
- Enhanced support for the Fountain/Geyser family by adding Geyser4.
- Update manual page.

Submitted by:	Rohit Grover <rgrover1@gmail.com>
MFC after:	2 weeks
2014-02-23 23:36:32 +00:00
Baptiste Daroussin
cd37e8b7e8 Regen after WITHOUT_DMA -> WITHOUT_DMAGENT renaming 2014-02-22 13:07:38 +00:00
Ivan Voras
c4f5dc40a0 Grammar fix
Submitted by:	Warren Block wblock AT wonkity.com
2014-02-22 09:53:17 +00:00
Ivan Voras
f31fd4758a Explain how and where kern.cam.ada.write_cache can be set in practical
situations.

Reviewed by:	hrs
Approved by:	mav
2014-02-21 12:17:27 +00:00
Baptiste Daroussin
533c3616ce Regen after addition of WITHOUT_DMA 2014-02-21 07:31:24 +00:00
Christian Brueffer
6a6ce390c7 Spelling, grammar and mdoc cleanup. 2014-02-20 16:35:48 +00:00
Christian Brueffer
e42bd24a5e Fix a cross-reference.
MFC after:	3 days
2014-02-20 13:33:18 +00:00
Christian Brueffer
5bd12c4940 Spelling, grammar and mdoc cleanup.
MFC after:	1 week
2014-02-19 21:31:04 +00:00
Christian Brueffer
7f47cbd3ce Retire the nve(4) driver; nfe(4) has been the default driver for NVIDIA
nForce MCP adapters for a long time.

Yays:	jhb, remko, yongari
Nays:	none on the current and stable lists
2014-02-16 12:22:43 +00:00
Bryan Drewery
4360b89b6d Add forgotten rc.conf(5) update with r261931
Reviewed by:	trasz
Approved by:	bapt (mentor)
MFC after:	1 week
2014-02-15 14:52:12 +00:00
Luigi Rizzo
fa7db06b8f complete svn 261909 - new netmap version.
since i updated the manpage i might as well commit it.

MFC after:	3 days
2014-02-15 08:23:31 +00:00
Ian Lepore
53bf5ef829 Fix a typo, C_ALSOLUTE -> C_ABSOLUTE. 2014-02-15 02:30:34 +00:00
Andriy Gapon
cb03508f58 update taskqueue(9) manual page
Many thanks to bjk, gjb and pluknet for improvements and suggestions.

MFC after:	5 days
Sponsored by:	HybridCluster
2014-02-14 15:03:55 +00:00
Luiz Otavio O Souza
9a2a079a51 Add OFW support to the in tree gpio compatible devices: gpioiic(4) and
gpioled(4).

Tested on RPi and BBB (using the hardware I2C controller and gpioiic(4) for
the I2C tests).  It was also verified for regressions on RSPRO (MIPS/ar71xx)
used as reference for a non OFW-based system.

Update the gpioled(4) and gpioiic(4) man pages with some details and
examples about the FDT/OFW support.

Some compatibility details pointed out by imp@ will follow in subsequent
commits.

Approved by:	adrian (mentor, implicit)
2014-02-13 17:58:52 +00:00
Christian Brueffer
e71fe4d932 Add a deprecation notice to nve.4 and Xref nfe.4.
MFC after:	3 days
2014-02-13 16:13:31 +00:00
Niclas Zeising
d4f5f0007e Bump .Dd forgotten in r261832.
MFC after:	2 weeks
2014-02-13 13:11:34 +00:00
Niclas Zeising
a074a227fa Add cross references between rc.conf(5) and jail.conf(5).
MFC after:	2 weeks
2014-02-13 12:52:26 +00:00
Warren Block
f75262579e Remove obsolete vnode(9) man page references.
PR:		docs/186537
Submitted by:	Miklos Magyari <miklos@magyari.hu>
MFC after:	3 days
2014-02-12 16:39:56 +00:00
Alexander Motin
2ccd462b16 Fix wrong device name in example.
PR:		docs/185602
Submitted by:	koitsu
MFC after:	1 week
2014-02-10 16:40:13 +00:00
Christian Brueffer
479b9a60ac Update and sort the list of iwn(4) firmware.
MFC after:	1 week
2014-02-09 22:43:16 +00:00
Pawel Jakub Dawidek
ba54076e2e Add cross-references to casperd(8) and libcapsicum(3).
Suggested by:	rwatson
2014-02-07 22:15:48 +00:00