Commit Graph

12800 Commits

Author SHA1 Message Date
Xin LI
358b0d9003 Add the following media types as supported by bce(4):
- 1000BaseSX
 - 2500BaseSX

While I'm there, correct 1000BaseTX as more standard 1000BaseT.

MFC after:	3 days
2009-04-07 22:23:48 +00:00
Christian Brueffer
2469ad2e30 Remove superfluous dot. 2009-04-07 20:13:48 +00:00
Christian Brueffer
b502ecac39 Reword the HARDWARE section so uath(4) can actually be recognized in
the hardware notes on the website.  While here sort SEE ALSO.
2009-04-07 20:11:02 +00:00
Christian Brueffer
5794d21c2c Mdoc cleanup.
Prompted by:	man2hwnotes.pl
MFC after:	3 days
2009-04-07 20:00:20 +00:00
Christian Brueffer
e7d6c4e74e Move an "end list" macro to the right place.
Found by:	man2hwnotes.pl
MFC after:	3 days
2009-04-07 19:53:36 +00:00
Weongyo Jeong
fdda6436a7 do not cause a line break in the AUTHORS section.
Pointed by:	yongari
2009-04-07 04:12:34 +00:00
Dag-Erling Smørgrav
38fb1637a3 Fix ISO8859-15 links for nb_NO / no_NO.
Submitted by:	ru
MFC after:	1 week
2009-04-06 14:12:22 +00:00
Weongyo Jeong
54a6481fd1 connect uath.4 to the build. 2009-04-06 12:47:09 +00:00
Ed Schouten
439fd52c3c Regenerate src.conf.5. 2009-04-05 22:15:35 +00:00
Ed Schouten
d2a0bb0803 Remove if_ppp(4) and if_sl(4).
Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
                lists.
2009-04-05 22:08:18 +00:00
Weongyo Jeong
dc60165b73 Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UX
chipsets.

Reviewed by:	sam
2009-04-04 11:23:00 +00:00
Nathan Whitehorn
1c96bdd146 Add support for 64-bit PowerPC CPUs operating in the 64-bit bridge mode
provided, for example, on the PowerPC 970 (G5), as well as on related CPUs
like the POWER3 and POWER4.

This also adds support for various built-in hardware found on Apple G5
hardware (e.g. the IBM CPC925 northbridge).

Reviewed by:    grehan
2009-04-04 00:22:44 +00:00
Tom Rhodes
cd5e62f992 Catch up with recent locking changes.
PR:		132546
Submitted by:	pluknet <pluknet@gmail.com>
Reviewed by:	alc
2009-04-03 23:52:47 +00:00
Tom Rhodes
5a2d42de0c Remove the fla.4 manual page, the driver was nuked
over four years ago.

Noticed by:	rene
Prodded by:	brueffer
2009-04-01 09:22:25 +00:00
Tom Rhodes
7ba7e04135 On second thought, remove the comma too. 2009-04-01 08:08:25 +00:00
Tom Rhodes
9c0f9817ff Remove KSE bits, cross reference libthr.3.
PR:		132392
Submitted by:	Niclas Zeising <niclas.zeising@gmail.com> (original version)
2009-04-01 07:13:21 +00:00
Edward Tomasz Napierala
6283502e20 Remove pseudocode from VOP_* manual pages. It was out of date anyway.
Reviewed by:	scottl
Approved by:	rwatson (mentor)
2009-03-30 20:56:37 +00:00
John Baldwin
497435aafd Add a simple manage for the refcount(9) API.
Requested by:	rwatson
2009-03-30 18:01:12 +00:00
Christian Brueffer
f885252242 Fix typo. 2009-03-29 21:08:48 +00:00
Sam Leffler
50959dc8d4 remove bogus nwid use; that's a compat shim for netbsd 2009-03-29 18:14:45 +00:00
Sam Leffler
c01c776a52 fix wired-wireless failover example and remove incorrect
comment about WPA not working
2009-03-29 18:05:04 +00:00
Warner Losh
2766fd061c Update to include Toshiba LANCT00A card being supported, as well as a
caution that while the Mitsubishi M8895 has a DP83902, its ASIC is
undocumented and doens't work with either the NE2000 or the WD80x3
drivers.
2009-03-28 20:59:25 +00:00
Ruslan Ermilov
0c9e0226e3 Add explicit test so that non-existence of /usr/games/fortune
doesn't affect command exit status.
2009-03-27 21:13:14 +00:00
Weongyo Jeong
cb1d58e298 bump date.
Pointed by:	yongari
2009-03-26 06:12:04 +00:00
Weongyo Jeong
298ff442c0 adds malo(4). 2009-03-26 04:17:35 +00:00
Weongyo Jeong
bf5dca34b6 bwi(4) and mwl(4) doesn't exist at CURRENT. 2009-03-26 04:16:40 +00:00
Weongyo Jeong
e575f1bfc8 The malo(4) device driver first appeared in FreeBSD 7.1 not 8.0.
Reported by:	John <lists_at_reiteration.net>
MFC after:	3 days
2009-03-26 02:59:10 +00:00
Warner Losh
6594f4b3d1 Add recently added cards. 2009-03-25 22:14:46 +00:00
Sam Leffler
284699a790 update; mostly to eliminate ambiguity about what hardware is supported 2009-03-25 21:20:15 +00:00
Edwin Groothuis
a7c248498e MFV of tzdata2009d:
- Morocco will observe DST from 2009-06-01 00:00 to 2009-08-21 00:00
- Tunisia will not observe DST this year.
- Syria will start DST on 2009-03-27 00:00 this year
- the Province of San Luis will go to utc-04:00

MFC after:	1 week
2009-03-24 10:50:30 +00:00
Robert Noland
ba0b16188e Correct the documentation to reflect the fact that BUS_DMA_NOCACHE is a
flag to bus_dmamem_alloc() rather than bus_dmamap_load();

Discussed with:	kib
MFC after:	3 days
2009-03-22 21:00:58 +00:00
Andrew Thompson
2b78d30630 Remove the uscanner(4) driver, this follows the removal of the kernel scanner
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).

Reviewed by:	HPS
2009-03-19 20:33:26 +00:00
Warner Losh
e3ed9db21c Reference exca. 2009-03-18 20:03:33 +00:00
Fabien Thomas
a15a45ac9d Add information about me as a new committer to the src tree
Approved by:	jkoshy (mentor)
2009-03-17 14:53:42 +00:00
Edwin Groothuis
8845bab06b MFV of tzdata2009c
- Cuba has DST again.

MFC after:	1 week
2009-03-17 10:51:31 +00:00
Sam Leffler
cdd7d4bcfe (finally) document -n 2009-03-16 15:54:21 +00:00
Robert Watson
3cb73e3d8b Teach the loopback interface about checksum generation and validation
avoidance:

- Enable setting the RXCSUM and TXCSUM flags for loopback interfaces;
  set both by default.
- When RXCSUM is set, flag packets sent over the loopback interface as
  having checked and valid IP, UDP, TCP checksums so that higher
  protocol layers won't check them.
- Always clear CSUM_{IP,UDP_TCP} checksum required flags on transmit,
  as they will have gotten there as a result of TXCSUM being set.

This is done only for packets explicitly sent over the loopback, not
simulated loopback via if_simloop() due to !SIMPLEX interfaces, etc.

Note that enabling TXCSUM but not RXCSUM will lead to unhappiness, as
checksums won't be generated but will be validated.

Kris reports that this leads to significant performance improvements
in loopback benchmarking with TCP and UDP for throughput:

	RXCSUM 	RXCSUM+TXCSUM
TCP	15%	37%
UDP	10%	74%

Update man page.

Reviewed by:	sam
Tested by:	kris
MFC after:	1 week
2009-03-15 20:17:44 +00:00
Roman Divacky
300d03a832 Switch over to gnu99 compilation on default for userland.
Tested by:	make universe
Tested by:	ports exp build (done by pav)
Reviewed by:	ru
Reviewed by:	silence on arch
Approved by:	ed (mentor)
2009-03-14 17:55:16 +00:00
Robert Watson
49dd3b8df9 Don't suggest mounting procfs in diskless configurations.
MFC after:	3 days
2009-03-13 23:42:34 +00:00
Rui Paulo
569c3c7dcd Rename the k8temp(4) man page to amdtemp(4) and update its contents for
the new families.

MFC after:	2 weeks
2009-03-13 16:42:24 +00:00
Ruslan Ermilov
1cbe9ccf46 Switch to using official English short country names. 2009-03-13 14:35:58 +00:00
Brooks Davis
3e5f41cf03 Add support for setting the debug flags on wlan interfaces after the are
created using wlandebug_<ifn> variables.
2009-03-13 07:12:25 +00:00
Pyun YongHyeon
fdd3e2aa19 Xref altq.4 and bump .Dd 2009-03-12 01:27:15 +00:00
Pyun YongHyeon
15b42c1197 Add txp(4) to the list of drivers supporting ALTQ. 2009-03-12 01:21:48 +00:00
Andrew Thompson
f9ec06aba7 Remove these files, they refer to module bundles that do not exist anymore. 2009-03-10 15:54:37 +00:00
Bruce M Simpson
d10910e6ce Merge IGMPv3 and Source-Specific Multicast (SSM) to the FreeBSD
IPv4 stack.

Diffs are minimized against p4.
PCS has been used for some protocol verification, more widespread
testing of recorded sources in Group-and-Source queries is needed.
sizeof(struct igmpstat) has changed.

__FreeBSD_version is bumped to 800070.
2009-03-09 17:53:05 +00:00
Bruce M Simpson
fe9ee5e879 Add igmp(4) man page, do not connect to build yet. 2009-03-09 16:51:40 +00:00
Xin LI
c79ba5b058 A system with plenty of memory would not require so much swap for generic
usage.

Discussed with:	dillon
2009-03-09 05:41:04 +00:00
Joe Marcus Clarke
74999b4cf2 Document the new default implementation of VOP_VPTOCNP(9).
Approved by:	kib
2009-03-08 19:07:44 +00:00
Andrew Thompson
dc4b1d1662 Add Mobile Action MA-620 Infrared Adapter.
PR:		usb/125072
Submitted by:	Alexander Logvinov
MFC after:	1 week
2009-03-04 03:47:57 +00:00
Bruce M Simpson
2fb1aecaed Add cross-reference to sourcefilter(3). 2009-03-04 02:00:34 +00:00
Bruce M Simpson
108ad5bd51 Add source-specific multicast (SSM) option documentation. 2009-03-04 02:00:14 +00:00
Christian Brueffer
004da5adcb Xref glxsb(4).
MFC after:	3 days
2009-03-03 07:58:01 +00:00
Jamie Gritton
f86bce5ed0 Extend the "vfsopt" mount options for more general use. Make struct
vfsopt and the vfs_buildopts function public, and add some new fields
to struct vfsopt (pos and seen), and new functions vfs_getopt_pos and
vfs_opterror.

Further extend the interface to allow reading options from the kernel
in addition to sending them to the kernel, with vfs_setopt and related
functions.

While this allows the "name=value" option interface to be used for more
than just FS mounts (planned use is for jails), it retains the current
"vfsopt" name and <sys/mount.h> requirement.

Approved by:	bz (mentor)
2009-03-02 23:26:30 +00:00
Rong-En Fan
624aa124ee - Remove kH (kp_kll) from screen. It has the identical key sequence as
@7 (kp_end). As ncurses has the limitation that it returns the first
  matched key symbol, you can not use END in ncurses based program under
  screen (like ports/misc/mc).

We did similar changes to xterm entry last year for exactly the same reason.

PR:		132199
Submitted by:	Timur I. Bakeyev <timur at FreeBSD.org>
MFC after:	2 month
2009-03-01 07:08:46 +00:00
Andrew Thompson
50517c3075 MFp4 //depot/projects/usb@157855
Document short_frames_ok.

Submitted by:	Hans Petter Selasky
2009-02-24 03:40:09 +00:00
Andrew Thompson
bf41796c4e Build fixups for the new USB stack. 2009-02-23 18:36:54 +00:00
Nathan Whitehorn
5b4975b180 Explicitly disable generation of Altivec instructions in the kernel on PowerPC,
and add support to allow users to set their CPUTYPE in make.conf.
2009-02-22 18:45:30 +00:00
Edward Tomasz Napierala
cbc1fff1f6 Mention disk_gone() in disk(9).
Approved by:	rwatson (mentor)
2009-02-22 13:38:16 +00:00
Edward Tomasz Napierala
56b341a285 Fix a typo and add manpage links to geom(4).
Approved by:	rwatson (mentor)
2009-02-22 13:37:22 +00:00
Rui Paulo
152507eaa0 Fix typo. 2009-02-22 12:40:58 +00:00
Beech Rintoul
4e8204fbc1 - Add glarkin and mva to mentor section 2009-02-20 02:48:58 +00:00
Max Brazhnikov
acdbf34efa Add myself. 2009-02-19 16:15:30 +00:00
Mike Makonnen
72735687b3 o grammar fix
o remove mention of libkse
2009-02-19 13:45:25 +00:00
Maxim Konovalov
217dc6b01c o Fix year in the previous commit.
Submitted by:	Munehiro Matsuda
2009-02-18 19:05:27 +00:00
Andriy Gapon
4d8f3ef49b add myself to committers tree
Approved by: rpaulo (mentor)
2009-02-18 17:36:44 +00:00
Maxim Konovalov
99f41b91c3 o DragonFly 2.2.0 added. 2009-02-18 10:02:32 +00:00
Mike Makonnen
553bf6a453 Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to better
reflect its purpose.
2009-02-17 11:55:50 +00:00
Beat Gaetzi
c7869e8d4e - Add myself to the list of ports committers.
Approved by:	miwi (mentor)
2009-02-16 18:51:34 +00:00
Nick Hibma
c5b659eed0 Elaborate some on the workings of the stub.
Collapse up the list of supported devices.
2009-02-13 20:09:11 +00:00
Alexander Motin
be0d073bd7 Fix spelling a bit. 2009-02-12 13:04:13 +00:00
Pyun YongHyeon
d66a21e9f2 Document loader tunable hw.re.msi_disable.
Bump .Dd
2009-02-09 05:09:52 +00:00
John Baldwin
3d33d453a0 Note that the slave address passed to smb(4) commands must be left-justified
(LSB is 0).  The iic(4) manpage probably needs similar language to describe
the format it expects.
2009-02-06 15:09:31 +00:00
Kevin Lo
83d78e07da Add the Buffalo WLI-U2-SG54HG 2009-02-06 15:03:17 +00:00
Attilio Rao
05fa71ba43 Remove the assertive KA_HELD and KA_UNHELD as long as they are dangerous,
and not really helpful.
2009-02-05 15:09:04 +00:00
Jamie Gritton
46f09b7712 Committo ergo sum.
Approved by:	bz
2009-01-30 22:00:31 +00:00
Giorgos Keramidas
7e7c1896a0 Sometimes, depending on the bpf filter rules used in $PATTERN,
the example script of the manpage feeds awk(1) with values larger
than UINT32_MAX.  Then awk prints a negative value, and this
messes up $BPFPROG.  Trying to load the resulting bpf byte codes
with ngctl then fails.

For example, the output for PATTERN="udp and dst net 255.255.0.0/16"
should be (all in one line):

    bpf_prog_len=10
    bpf_prog=[
      { code=40 jt=0 jf=0 k=12 }
      { code=21 jt=7 jf=0 k=34525 }
      { code=21 jt=0 jf=6 k=2048 }
      { code=48 jt=0 jf=0 k=23 }
      { code=21 jt=0 jf=4 k=17 }
      { code=32 jt=0 jf=0 k=30 }
      { code=84 jt=0 jf=0 k=4294901760 }
      { code=21 jt=0 jf=1 k=4294901760 }
      { code=6 jt=0 jf=0 k=8192 }
      { code=6 jt=0 jf=0 k=0 }
    ]

The two k=4294901760 values are displayed as k=-2147483648 by awk.

Replace the awk script of the manpage example with a slower but
safer version, that doesn't really attempt to convert the byte
code printed by tcpdump from string to number and back.

PR:		docs/123255
Submitted by:	Eugenio Maffione, eugenio.maffione at telecomitalia.it
MFC after:	3 days
2009-01-30 19:33:04 +00:00
Gabor Kovesdan
7bb456075e - Rename adding_user(8) to adding_user(7). There's no adding_user utility,
but the man page describes conceptual information about the process of
  adding a user, thus it should belong to section 7.
- Remove HISTORY and BUGS sections because of the aforementioned reason.

PR:		docs/130151
Submitted by:	Marian Cerny <jojo@matfyz.cz>
MFC after:	3 days
2009-01-30 15:14:58 +00:00
Giorgos Keramidas
9bad6e2c6d Backout change 187782. It inhibits ntpd from starting at all
when ntpd_sync_on_start is set.

Noticed by:	rafan
2009-01-29 06:43:29 +00:00
Thomas Abthorpe
e35054ca90 - Re-order SEE ALSO entries
Noticed by:	brueffer
Approved by:	trhodes
2009-01-28 15:54:28 +00:00
Thomas Abthorpe
2ea9e54539 - Add initial version of portindex(5) manual page
PR:		docs/70652
Submitted by:	Paul Armstrong <psa otoh.org>
Reviewed by:	pav keramida trhodes
Approved by:	keramida
MFC after:	3 days
2009-01-28 15:22:44 +00:00
Giorgos Keramidas
0f58341413 Bump .Dd for r187782. 2009-01-27 22:24:09 +00:00
Giorgos Keramidas
2ba7d35b21 When synchronizing the clock at system startup time, use both
the -g and -q options.  They do a slightly different thing and
both are necessary when the time difference is large.

Noticed by:	danger, in the forums
Approved by:	roberto
MFC after:	1 week
2009-01-27 20:13:24 +00:00
Tom Rhodes
43a25dbb52 s/use/using/ in previous commit.
Suggested by:	jhb
2009-01-27 00:23:43 +00:00
Tom Rhodes
49b50876b6 Add ENOMEM to the return values.
Remove invalid return values.
Remove reference to non-existent manual pages.
Remove reference to rfork (it does not discuss RFSTOPPED).
Add sys/unistd.h to the list of includes (required for RFSTOPPED).

PR:		126227
Submitted by:	Mateusz Guzik <mjguzik@gmail.com> (based on, original version)
Reviewed by:	jhb, Christoph Mallon <christoph.mallon@gmx.de>
2009-01-27 00:22:16 +00:00
Rafal Jaworowski
1aef11be0e Teach iic(4) the 'repeated start' I2C condition. This will be used by the
upcoming i2c(8) diag utility.

Reviewed by:	bms, stas
Obtained from:	Semihalf
2009-01-26 13:53:39 +00:00
Bjoern A. Zeeb
8154af81ff Update jail startup script for multi-IPv4/v6/no-IP jails.
Note: this is only really necessary because of the ifconfig
      logic to add/remove the jail IPs upon start/stop.
      Consensus among simon and I is that the logic should
      really be factored out from the startup script and put
      into a proper management solution.

- We now support starting of no-IP jails.
- Remove the global jail_<jname>_netmask option as it is only
  helpful to set netmasks/prefixes for the right address
  family and per address.
- Implement jail_<jname>_ip options to support both
  address familes with regard to ifconfig logic.
- Implement _multi<n> support suffix to the jail_<jname>_ip
  option to configure additional addresses to avoid overlong,
  unreadbale jail_<jname>_ip lines with lots of addresses.

Submitted by:	initial work from Ruben van Staveren
Discussed on:	freebsd-jail in Nov 2008.
Reviewed by:	simon, ru (partial, older version)
MFC after:	1 week
2009-01-26 12:59:11 +00:00
Tom Rhodes
df16f842de Better description of kern.ipc.maxpipekva.
Discussed with:	kib
2009-01-26 02:15:22 +00:00
Nathan Whitehorn
eb14df9e5b Somehow deleted the .4 at the end of the snd_davbus man page right before
commit. Add it back.

Pointy hat to:	me
2009-01-26 01:08:24 +00:00
Nathan Whitehorn
8486eb86a7 Add support for the I2S and davbus audio controllers found in Apple PowerPC
hardware.

Submitted by:	Marco Trillo
2009-01-25 18:20:15 +00:00
Bjoern A. Zeeb
864265e50e Change IP addresses/prefixes to be from "Test-Net" (IPv4 documentation
prefix 192.0.2.0/24) rather than from private-use networks.

MFC after:	1 week
2009-01-24 15:33:09 +00:00
Tom Rhodes
82a2b9892a Update the supported device list a little bit.
PR:		84538
Submitted by:	asmodai
2009-01-24 04:08:00 +00:00
Tom Rhodes
7fa8a57130 Add a comment on kern.ipc.maxpipekva.
PR:		105997
Reviewed by:	keramida
2009-01-24 01:46:46 +00:00
Warner Losh
e6cdeeddf4 Sort KERNFAST and KERNCONF into the list they are in. 2009-01-23 18:35:09 +00:00
Warner Losh
c22c7f86ff Document KERNCONF and KERNFAST. Note that TARGET is usually all one
needs to set for cross building.
2009-01-23 18:32:31 +00:00
Weongyo Jeong
71ba75967e Connect urtw.4 to the build. 2009-01-23 05:53:49 +00:00
Weongyo Jeong
d195485267 Add a new USB wireless driver, urtw(4) for supporting Realtek's 8187L
chipset.
2009-01-23 05:04:49 +00:00
Edwin Groothuis
6cd58f778c MFV of tzdata2009a
- Asia/Katmandu -> Asia/Kathmandu
- Fix historical references to DST in Switzerland
- Correct rules for America/Resolute (Nunavut)
- Cuba didn't have DST in 2005.

MFC after:	1 week
2009-01-22 11:24:42 +00:00
Thomas Abthorpe
d40caf29b4 - Document targets run-depends-list and build-depends-list
PR:		docs/127575
Submitted by:	Walter Venable <walt relnor.com>
Approved by:	keramida
MFC after:	3 days
2009-01-21 21:29:00 +00:00
Poul-Henning Kamp
598fc8929b Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009. 2009-01-21 10:51:54 +00:00
Marius Strobl
5efbe863bd Update URL. 2009-01-16 19:43:21 +00:00
Alexander Motin
947ec7dc39 Add some information in SYNOPSIS, HARDWARE and BUGS sections. 2009-01-16 19:28:25 +00:00
Xin LI
6bd665dbda Reflect newly added PCI IDs to bce(4).
MFC after:	2 months
2009-01-15 22:41:48 +00:00
Marius Strobl
4888dadb59 Don't cross-reference gem(4) and hme(4); maybe this made some sense
back when these two were the only two NIC drivers working on sparc64
but it no longer does nowadays.

MFC after:	3 days
2009-01-15 22:06:53 +00:00
Marius Strobl
28450adca7 Sync the description of jumbo frame support with reality as of r185812;
it's also supported with BCM5702 (matched by BGE_ASICREV_BCM5703) but
bge(4) currently doesn't with neither BCM5714 nor BCM5780.

Prodded by:	scf
MFC after:	3 days
2009-01-15 22:00:22 +00:00
Sam Leffler
6fd63a5dbf o note need for options AH_SUPPORT_5416
o mention 5416-class parts
o mention tdma support
2009-01-13 23:57:15 +00:00
Tom Rhodes
bd4048bad8 Fix broken URL and use the same base directory as the
example files.

PR:		123035
Submitted by:	Lawrence Mayer <lawmay3@i12.com> (original version)
2009-01-13 12:47:59 +00:00
Tom Rhodes
7818cb2ab9 Quote the "u" as it's the name of the union, this may prevent
some confusion when reading the manual page.

PR:		117798
Discussed with:	keramida, brueffer
Recommended by:	phk
2009-01-11 21:59:42 +00:00
Konstantin Belousov
4c72a09f02 Correct description for the Marvell 88SE6101.
Submitted by:	Andriy Gapon <avg icyb net ua>
MFC after:	3 days
2009-01-10 16:24:58 +00:00
Christian Brueffer
b9a2c48954 DEBUG_REDZONE needs DDB which needs KDB.
PR:		130324
Submitted by:	Jaakko Heinonen <jh@saunalahti.fi>
MFC after:	3 days
2009-01-09 14:41:36 +00:00
Giorgos Keramidas
cd79fc03be The description of the various securelevels has moved to the
security.7 manpage a while ago.

MFC after:	1 week
Noticed by:	simon
2009-01-08 23:50:32 +00:00
Christian Brueffer
c62a048b6c Language cleanup. 2009-01-08 21:29:40 +00:00
Warner Losh
ba181a0efd First cut at documenting hw.cam.cd.retry_count. Moved
kern.cam.cd.%d.minimum_cmd_size to new SYSCTL VARIABLES section.
2009-01-08 15:20:32 +00:00
Bjoern A. Zeeb
67e7848003 Document that with r186854 we started using KMODOWN/KMODGRP
for the kernel as well and no longer only for modules.

Reviewed by:	kib, antoine
MFC after:	26 days
2009-01-08 12:22:37 +00:00
Alexander Motin
2847435155 Update date. 2009-01-07 16:06:09 +00:00
Alexander Motin
13ecc0c150 Add some more supported controller and codec models.
Add one more proposition to check correct PCM audio device usage.
2009-01-07 16:01:23 +00:00
Alexander Motin
79ec4791c7 Hook up sdhci man page to the build. 2009-01-07 09:50:57 +00:00
Alexander Motin
600b915569 Cross-reference snd_ich and snd_hda man pages.
Some hardware require different drivers depending on implementation,
that may confuse users.
2009-01-06 11:11:58 +00:00
Christian Brueffer
d0bc502637 More wording improvements.
Discussed with:		stas
2009-01-05 20:46:46 +00:00
Maxim Konovalov
6dccc756ea o FreeBSD 7.1 added. 2009-01-05 17:38:03 +00:00
Giorgos Keramidas
fd23b46153 Document the NO_XXX options supported by our Makefile.inc1.
Noticed by:	simon
Reviewed by:	imp
MFC after:	1 week
2009-01-05 16:25:36 +00:00
Robert Watson
f38d120723 Remove reference to pr_ousrreq from domain(9) since it's now gone from
struct protosw.

Submitted by:	bz
MFC after:	3 weeks
2009-01-04 19:23:44 +00:00
Stanislav Sedov
63a07fdbc0 - Improve wording.
Approved by:	kib (mentor)
MFC after:	1 week
2009-01-04 15:49:30 +00:00
Stanislav Sedov
b1763c4704 - Improve wording.
- ae(4) first appeared in 7.1. Reflect this.

Approved by:	kib (mentor)
MFC after:	1 week
2009-01-04 15:48:38 +00:00
Christian Brueffer
9d721de31e Mdoc and language cleanup. 2009-01-03 10:37:38 +00:00
Robert Watson
7a0a89d2cb Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge).  Add libauditd build parts and add to auditd's linkage;
force libbsm to build before libauditd.

OpenBSM history for imported revisions below for reference.

MFC after:      1 month
Sponsored by:   Apple Inc.
Obtained from:  TrustedBSD Project

OpenBSM 1.1 alpha 4

- With the addition of BSM error number mapping, we also need to map the
  local error number passed to audit_submit(3) to a BSM error number,
  rather than have the caller perform that conversion.
- Reallocate user audit events to avoid collisions with Solaris; adopt a
  more formal allocation scheme, and add some events allocated in Solaris
  that will be of immediate use on other platforms.
- Add an event for Calife.
- Add au_strerror(3), which allows generating strings for BSM errors
  directly, rather than requiring applications to map to the local error
  space, which might not be able to entirely represent the BSM error
  number space.
- Major auditd rewrite for launchd(8) support.  Add libauditd library
  that is shared between launchd and auditd.
- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for
  (re)starting auditing under launchd(8) on Mac OS X.
- Add 'current' symlink to active audit trail.
- Add crash recovery of previous audit trail file when detected on audit
  startup that it has not been properly terminated.
- Add the event AUE_audit_recovery to indicated when an audit trail file
  has been recovered from not being properly terminated.  This event is
  stored in the new audit trail file and includes the path of recovered
  audit trail file.
- Mac OS X and FreeBSD dependent code in auditd.c is separated into
  auditd_darwin.c and auditd_fbsd.c files.
- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system
  calls.
- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
- Add support for NOTICE level logging.

OpenBSM 1.1 alpha 3

- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
  between BSM error numbers (largely the Solaris definitions) and local
  errno(2) values for 32-bit and 64-bit return tokens.  This is required
  as operating systems don't agree on some of the values of more recent
  error numbers.
- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the
  total size for the token.  This buge.
- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.
2008-12-31 11:12:24 +00:00
Christian Brueffer
d0e00c8bfb Add missing comma. 2008-12-30 20:31:37 +00:00
Christian Brueffer
5256765ffd Mdoc and wording improvements, also point to cpucontrol(8). 2008-12-30 20:26:16 +00:00
Weongyo Jeong
b3974c00b5 Integrate the NDIS USB support code to CURRENT.
Now the NDISulator supports NDIS USB drivers that it've tested with
devices as follows:

  - Anygate XM-142 (Conexant)
  - Netgear WG111v2 (Realtek)
  - U-Khan UW-2054u (Marvell)
  - Shuttle XPC Accessory PN20 (Realtek)
  - ipTIME G054U2 (Ralink)
  - UNiCORN WL-54G (ZyDAS)
  - ZyXEL G-200v2 (ZyDAS)

All of them succeeded to attach and worked though there are still some
problems that it's expected to be solved.

To use NDIS USB support, you should rebuild and install ndiscvt(8) and
if you encounter a problem to attach please set `hw.ndisusb.halt' to
0 then retry.

I expect no changes of the NDIS code for PCI, PCMCIA devices.

Obtained from:  //depot/projects/ndisusb/...
2008-12-27 08:03:32 +00:00
Alexander Motin
55d25fa424 Update for the last API changes. 2008-12-25 10:18:35 +00:00
Julian Elischer
1018c6cbf9 Hook up the ether_echo node and fix the man page 2008-12-25 07:34:14 +00:00
Julian Elischer
a0b5197620 Add a trivial node to reflect ethernet frames to whence they came.
MFC after: 1 month
2008-12-25 00:01:29 +00:00
Tom Rhodes
138f7e4b30 Apply various fixes:
Silence mdoc(7) warnings;
Xref correct manual pages;
Point user to the ddb.8 manual page.

PR:		129398
Submitted by:	gavin
2008-12-24 11:12:21 +00:00
Doug Barton
125f2ee5e9 Update bmake glue for changes in 9.4.3 2008-12-23 22:51:10 +00:00
Tom Rhodes
d194e583b6 Netgroup database can be centralized via NIS, list it.
Add a missing comma and bump doc date.

PR:		127602
Submitted by:	Dmitry Sivachenko <mitya@yandex-team.ru>
2008-12-23 18:00:33 +00:00
Bjoern A. Zeeb
8c639779f4 pr_pfh has been gone from protosw since r120386 (more than 5 years ago).
MFC after:	4 weeks
2008-12-23 16:54:00 +00:00
Remko Lodder
05534ba77d Add support for the HP 4470C scanner.
Note that there is no working backend (or at least
that is mentioned in the PR ticket) but the device
is now supported on our end.

PR:		117205
Submitted by:	Artem Naluzhnyy <tut at nhamon dot com dot ua>
MFC after:	1 week
2008-12-23 13:09:17 +00:00
Andrew Thompson
45b4285641 Document that the devd config is in /etc/devd/asus.conf 2008-12-17 20:24:34 +00:00
Dag-Erling Smørgrav
a1432b4c99 Boot out <sysexits.h> once and for all.
MFC after:	1 week
2008-12-17 13:01:19 +00:00
Edward Tomasz Napierala
0da50f6ef8 According to phk@, VOP_STRATEGY should never, _ever_, return
anything other than 0.  Make it so.  This fixes
"panic: VOP_STRATEGY failed bp=0xc320dd90 vp=0xc3b9f648",
encountered when writing to an orphaned filesystem.  Reason
for the panic was the following assert:
KASSERT(i == 0, ("VOP_STRATEGY failed bp=%p vp=%p", bp, bp->b_vp));
at vfs_bio:bufstrategy().

Reviewed by:	scottl, phk
Approved by:	rwatson (mentor)
Sponsored by:	FreeBSD Foundation
2008-12-16 21:13:11 +00:00
Christian Brueffer
1624531afd Elaborate on the hardware features fxp(4) supports.
Submitted by:	yongari
MFC after:	1 week
2008-12-15 14:07:07 +00:00
Bjoern A. Zeeb
a9b1b64828 Add a symlink from enc.4 to if_enc.4.
Reviewed by:	brueffer
MFC after:	4 weeks
2008-12-15 13:19:11 +00:00
Kip Macy
0a420d08ae re-add accidentally deleted line 2008-12-15 07:51:59 +00:00
Qing Li
6e6b3f7cbc This main goals of this project are:
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
   possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,

The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.

Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:

- Kip Macy revised the locking code completely, thus completing
  the last piece of the puzzle, Kip has also been conducting
  active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
  provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
  me maintaining that branch before the svn conversion
2008-12-15 06:10:57 +00:00
Jens Schweikhardt
1380b6bb05 Typo/rewording. 2008-12-13 09:33:03 +00:00
Kip Macy
87e4e7088d fix support and capabilities
MFC after:	3 days
2008-12-12 05:45:39 +00:00
John Baldwin
90381ef23f - Drop a reference to an older 'kdb' debugger that FreeBSD never had.
- Tweak a word choice.
- Drop a reference to Alpha.
2008-12-12 05:42:57 +00:00
Joe Marcus Clarke
7d5336f0a2 Add a man page for VOP_VPTOCNP.
Reviewed by:	arch
Approved by:	kib
2008-12-12 01:08:28 +00:00
Kip Macy
a2b96afe46 Add entry for if_transmit and if_qflush 2008-12-11 22:51:11 +00:00
Nathan Whitehorn
eff47708ef Add facilities to pmu(4) to interrogate battery status on Apple PowerPC
laptops. This includes battery presence detection, charging status, current
and voltage readouts, and charge level indication. The sysctl interface
is somewhat ACPI-like.
2008-12-08 02:37:08 +00:00
Nathan Whitehorn
a51e3aa604 Fix spelling error (find -> found). 2008-12-07 06:34:50 +00:00
Nathan Whitehorn
c812acce07 Now that pmu(4) has features, it should also have a man page. 2008-12-07 06:18:47 +00:00
Jens Schweikhardt
f283c8f8fc Correct a typo. 2008-12-05 22:04:52 +00:00
Xin LI
3a2cbf021e Update bce(4)'s hardware list to reflect the recent update to driver.
MFC after:	3 days
2008-12-03 01:48:19 +00:00
Christian Brueffer
23c30ae875 Improve grammar.
Submitted by:	Ben Kaduk
2008-12-02 22:45:01 +00:00
Sam Leffler
3364462355 Switch to ath hal source code. Note this removes the ath_hal
module; the ath module now brings in the hal support.  Kernel
config files are almost backwards compatible; supplying

device ath_hal

gives you the same chip support that the binary hal did but you
must also include

options AH_SUPPORT_AR5416

to enable the extended format descriptors used by 11n parts.
It is now possible to control the chip support included in a
build by specifying exactly which chips are to be supported
in the config file; consult ath_hal(4) for information.
2008-12-01 16:53:01 +00:00
Kevin Lo
2470db385c Remove The Netgear WG111v2 support 2008-12-01 10:05:34 +00:00
Konstantin Belousov
0886d6e46b Clarify the reason to not use the volatile string as an argument to CTR
macros. Note the logging of file and line.

Reviewed by:	dchagin
MFC after:	3 days
2008-11-30 13:18:35 +00:00
Christian Brueffer
0d9d2de11a Add standard MLINKs. 2008-11-29 19:01:44 +00:00
Christian Brueffer
818640aabc Bring this a little closer to our manpage style. 2008-11-29 18:58:20 +00:00
Christian Brueffer
a61a804377 Add several missing MLINKs. 2008-11-29 18:21:31 +00:00
Christian Brueffer
d3e659b5e2 Fix typo. 2008-11-29 18:09:50 +00:00
Bjoern A. Zeeb
413628a7e3 MFp4:
Bring in updated jail support from bz_jail branch.

This enhances the current jail implementation to permit multiple
addresses per jail. In addtion to IPv4, IPv6 is supported as well.
Due to updated checks it is even possible to have jails without
an IP address at all, which basically gives one a chroot with
restricted process view, no networking,..

SCTP support was updated and supports IPv6 in jails as well.

Cpuset support permits jails to be bound to specific processor
sets after creation.

Jails can have an unrestricted (no duplicate protection, etc.) name
in addition to the hostname. The jail name cannot be changed from
within a jail and is considered to be used for management purposes
or as audit-token in the future.

DDB 'show jails' command was added to aid debugging.

Proper compat support permits 32bit jail binaries to be used on 64bit
systems to manage jails. Also backward compatibility was preserved where
possible: for jail v1 syscalls, as well as with user space management
utilities.

Both jail as well as prison version were updated for the new features.
A gap was intentionally left as the intermediate versions had been
used by various patches floating around the last years.

Bump __FreeBSD_version for the afore mentioned and in kernel changes.

Special thanks to:
- Pawel Jakub Dawidek (pjd) for his multi-IPv4 patches
  and Olivier Houchard (cognet) for initial single-IPv6 patches.
- Jeff Roberson (jeff) and Randall Stewart (rrs) for their
  help, ideas and review on cpuset and SCTP support.
- Robert Watson (rwatson) for lots and lots of help, discussions,
  suggestions and review of most of the patch at various stages.
- John Baldwin (jhb) for his help.
- Simon L. Nielsen (simon) as early adopter testing changes
  on cluster machines as well as all the testers and people
  who provided feedback the last months on freebsd-jail and
  other channels.
- My employer, CK Software GmbH, for the support so I could work on this.

Reviewed by:	(see above)
MFC after:	3 months (this is just so that I get the mail)
X-MFC Before:   7.2-RELEASE if possible
2008-11-29 14:32:14 +00:00
Maxim Konovalov
39a7471508 o FreeBSD 6.4-RELEASE added. 2008-11-28 19:35:48 +00:00
Rafal Jaworowski
916c41e07a Provide manual page for the mge(4) device driver. 2008-11-27 16:50:23 +00:00
Robert Watson
3c8d4fc09b Revert r184509: don't encourage the use of sysexits.h with err() and
errx(),, as there seems to be a general preference against this
practice.

Suggested by:	bde, des, jhb
2008-11-27 08:42:58 +00:00
Hiroki Sato
a4ede73abb Remove vfs_mountedon(9) manual page. The vfs_mountedon(9) has been
removed since 2004.
2008-11-23 20:05:12 +00:00
Hiroki Sato
cc7d6b558e vn_fullpath(9) does not assume vp is locked by the caller now. 2008-11-23 20:02:58 +00:00
Giorgos Keramidas
6e63b5084d Enhance the explanation of using filesystem-specific mount options
in /etc/fstab.  We do support passing special options on a per
filesystem type basis, like `-u UID -g GID' for mount_msdosfs, but
the syntax of these options in fstab is non-obvious and a lot of
users have asked about it.

PR:		docs/128816
Submitted by:	Roland Smith, rsmith at xs4all dot nl
MFC after:	2 days
2008-11-23 19:52:56 +00:00
Alfred Perlstein
6f0e1ffd07 src/sys/dev/usb2/controller/uss820dci_pccard.c
src/sys/dev/usb2/core/usbdevs
src/sys/dev/usb2/include/urio2_ioctl.h
src/sys/dev/usb2/storage/ustorage2_fs.h

These files are not used any more.

src/usr.sbin/Makefile
src/etc/mtree/BSD.include.dist
src/include/Makefile
src/lib/Makefile
src/share/man/man7/hier.7
src/share/mk/bsd.libnames.mk
src/etc/mtree/BSD.include.dist

Make "usbconfig" and "libusb20" a part of the default build.

src/sys/dev/usb/rio500_usb.h
src/sys/dev/usb2/storage/urio2.c

Use common include file.

src/sys/dev/usb2/bluetooth/ng_ubt2.c

Make USB bluetooth depend on "ng_hci" module.

src/sys/dev/usb2/controller/ehci2.c
src/sys/dev/usb2/controller/ehci2.h

Patches for Marvell EHCI.

src/sys/dev/usb2/core/usb2_busdma.c

Bugfix for 64-bit platforms. Need to unload the previously loaded DMA
map and some cleanup regarding some corner cases.

src/sys/dev/usb2/core/usb2_core.h
src/sys/dev/usb2/core/usb2_dev.c
src/sys/dev/usb2/core/usb2_dev.h

Bugfix for libusb filesystem interface.

New feature: Add support for filtering device data at the expense of the
userland process.

Add some more comments.

Some minor code styling.

Remove unused function, usb2_fifo_get_data_next().

Fix an issue about "fifo_index" being used instead of "ep_index".

src/sys/dev/usb2/core/usb2_device.c
src/sys/dev/usb2/core/usb2_generic.c

Bugfix for Linux USB compat layer. Do not free non-generic FIFOs when
doing an alternate setting.

Cleanup USB IOCTL and USB reference handling.
Fix a corner case where USB-FS was left initialised after
setting a new configuration or alternate setting.

src/sys/dev/usb2/core/usb2_hub.c

Improvement: Check all USB HUB ports by default at least one time.

src/sys/dev/usb2/core/usb2_request.c

Bugfix: Make sure destination ASCII string is properly zero terminated
in all cases.

Improvement: Skip invalid characters instead of replacing with a dot.

src/sys/dev/usb2/core/usb2_util.c
src/sys/dev/usb2/image/uscanner2.c

Spelling.

src/sys/dev/usb2/include/Makefile

Share "usbdevs" with the old USB stack.

src/sys/dev/usb2/include/usb2_devid.h
src/sys/dev/usb2/include/usb2_devtable.h

Regenerate files.

Alfred: Please fix the RCS tag at the top.

src/sys/dev/usb2/include/usb2_ioctl.h

Fix compilation of "kdump".

src/sys/dev/usb2/serial/ubsa2.c
src/sys/dev/usb2/serial/ugensa2.c

Remove device ID's which will end up in a new 3G driver.

src/sys/dev/usb2/sound/uaudio2.c

Correct a debug printout.

src/sys/dev/usb2/storage/umass2.c

Sync with old USB stack.

src/lib/libusb20/libusb20.3

Add more documentation.

src/lib/libusb20/libusb20.c

Various bugfixes and improvements.

src/usr.sbin/usbconfig/dump.c
src/usr.sbin/usbconfig/usbconfig.c

New commands for dumping strings and doing custom USB requests from
the command line.

Remove keyword requirements from generated files:
 "head/sys/dev/usb2/include/usb2_devid.h"
 "head/sys/dev/usb2/include/usb2_devtable.h"
2008-11-19 08:56:35 +00:00
Peter Holm
21543d8055 Add myself
Approved by:	kib (mentor)
2008-11-18 14:05:11 +00:00
Pawel Jakub Dawidek
1ba4a712dd Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.
This bring huge amount of changes, I'll enumerate only user-visible changes:

- Delegated Administration

	Allows regular users to perform ZFS operations, like file system
	creation, snapshot creation, etc.

- L2ARC

	Level 2 cache for ZFS - allows to use additional disks for cache.
	Huge performance improvements mostly for random read of mostly
	static content.

- slog

	Allow to use additional disks for ZFS Intent Log to speed up
	operations like fsync(2).

- vfs.zfs.super_owner

	Allows regular users to perform privileged operations on files stored
	on ZFS file systems owned by him. Very careful with this one.

- chflags(2)

	Not all the flags are supported. This still needs work.

- ZFSBoot

	Support to boot off of ZFS pool. Not finished, AFAIK.

	Submitted by:	dfr

- Snapshot properties

- New failure modes

	Before if write requested failed, system paniced. Now one
	can select from one of three failure modes:
	- panic - panic on write error
	- wait - wait for disk to reappear
	- continue - serve read requests if possible, block write requests

- Refquota, refreservation properties

	Just quota and reservation properties, but don't count space consumed
	by children file systems, clones and snapshots.

- Sparse volumes

	ZVOLs that don't reserve space in the pool.

- External attributes

	Compatible with extattr(2).

- NFSv4-ACLs

	Not sure about the status, might not be complete yet.

	Submitted by:	trasz

- Creation-time properties

- Regression tests for zpool(8) command.

Obtained from:	OpenSolaris
2008-11-17 20:49:29 +00:00
Ed Schouten
6da593a22a Fix argument layout of devfs_get_cdevpriv().
Right now it shows `void' and `**datap' as two different arguments,
while they belong together.
2008-11-16 21:26:56 +00:00
Marius Strobl
afbeac3e60 - For maximum flexibility, sparc64 supports BUS_DMA_COHERENT also
with bus_dmamap_create() and not only bus_dmamem_alloc() so move
  the description of this flag up accordingly in order to document
  this fact. While at, it refine this description with an application
  example.
- Reword the description of BUS_DMA_NOCACHE as this flag is also
  implemented on sparc64.

MFC after:	1 week
2008-11-16 18:30:16 +00:00
Konrad Jankowski
ed0740df01 Add myself to the src committers list, with Diomidis as the mentor.
Approved by:	dds (mentor)
2008-11-13 07:26:30 +00:00
Pyun YongHyeon
a1fc35d1a5 Correct .Dd
Pointed out by:	maxim
2008-11-12 10:31:06 +00:00
Pyun YongHyeon
cad7d3671f Add ale(4) man page and hook up ale(4) to the build.
Also add Xr to appropriate man pages.
2008-11-12 10:20:29 +00:00
Giorgos Keramidas
af4831d48f Spell 'different' correctly. 2008-11-08 17:45:47 +00:00
Alexander Motin
8ab00b3855 Two minor fixes. 2008-11-07 17:55:09 +00:00
Alexander Motin
a3ffa4e0ae A lot of spelling fixes.
Submitted by:	keramida
2008-11-06 21:47:02 +00:00
Alexander Motin
edd4902fba Improve driver operation example description. 2008-11-05 17:12:18 +00:00
Dag-Erling Smørgrav
898a259baa Missing email address
MFC after:	3 weeks
2008-11-05 15:07:42 +00:00
Ed Schouten
932ef5b5cd Reintroduce the snp(4) driver.
Because the TTY hooks interface was not finished when I imported the
MPSAFE TTY layer, I had to disconnect the snp(4) driver. This snp(4)
implementation has been sitting in my P4 branch for some time now.
Unfortunately it still doesn't use the same error handling as snp(4)
(returning codes through FIONREAD), but it should already be usable.

I'm committing this to SVN, hoping someone else could polish off its
rough edges. It's always better than having a broken driver sitting in
the tree.
2008-11-05 15:04:03 +00:00
Remko Lodder
07d214248b Add Rene Ladan, as well as my relationship towards Rene. 2008-11-04 19:20:19 +00:00
Alfred Perlstein
eabe30fc9c Bring in USB4BSD, Hans Petter Selasky rework of the USB stack
that includes significant features and SMP safety.

This commit includes a more or less complete rewrite of the *BSD USB
stack, including Host Controller and Device Controller drivers and
updating all existing USB drivers to use the new USB API:

1) A brief feature list:

  - A new and mutex enabled USB API.

  - Many USB drivers are now running Giant free.

  - Linux USB kernel compatibility layer.

  - New UGEN backend and libusb library, finally solves the "driver
    unloading" problem. The new BSD licensed libusb20 library is fully
    compatible with libusb-0.1.12 from sourceforge.

  - New "usbconfig" utility, for easy configuration of USB.

  - Full support for Split transactions, which means you can use your
    full speed USB audio device on a high speed USB HUB.

  - Full support for HS ISOC transactions, which makes writing drivers
    for various HS webcams possible, for example.

  - Full support for USB on embedded platforms, mostly cache flushing
    and buffer invalidating stuff.

  - Safer parsing of USB descriptors.

  - Autodetect of annoying USB install disks.

  - Support for USB device side mode, also called USB gadget mode,
    using the same API like the USB host side. In other words the new
    USB stack is symmetric with regard to host and device side.

  - Support for USB transfers like I/O vectors, means more throughput
    and less interrupts.

  - ... see the FreeBSD quarterly status reports under "USB project"

2) To enable the driver in the default kernel build:

2.a) Remove all existing USB device options from your kernel config
file.

2.b) Add the following USB device options to your kernel configuration
file:

# USB core support
device          usb2_core

# USB controller support
device		usb2_controller
device		usb2_controller_ehci
device		usb2_controller_ohci
device		usb2_controller_uhci

# USB mass storage support
device		usb2_storage
device		usb2_storage_mass

# USB ethernet support, requires miibus
device		usb2_ethernet
device		usb2_ethernet_aue
device		usb2_ethernet_axe
device		usb2_ethernet_cdce
device		usb2_ethernet_cue
device		usb2_ethernet_kue
device		usb2_ethernet_rue
device		usb2_ethernet_dav

# USB wireless LAN support
device		usb2_wlan
device		usb2_wlan_rum
device		usb2_wlan_ral
device		usb2_wlan_zyd

# USB serial device support
device		usb2_serial
device		usb2_serial_ark
device		usb2_serial_bsa
device		usb2_serial_bser
device		usb2_serial_chcom
device		usb2_serial_cycom
device		usb2_serial_foma
device		usb2_serial_ftdi
device		usb2_serial_gensa
device		usb2_serial_ipaq
device		usb2_serial_lpt
device		usb2_serial_mct
device		usb2_serial_modem
device		usb2_serial_moscom
device		usb2_serial_plcom
device		usb2_serial_visor
device		usb2_serial_vscom

# USB bluetooth support
device		usb2_bluetooth
device		usb2_bluetooth_ng

# USB input device support
device		usb2_input
device		usb2_input_hid
device		usb2_input_kbd
device		usb2_input_ms

# USB sound and MIDI device support
device		usb2_sound

2) To enable the driver at runtime:

2.a) Unload all existing USB modules. If USB is compiled into the
kernel then you might have to build a new kernel.

2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same
base name like the kernel device option.

Submitted by: Hans Petter Selasky hselasky at c2i dot net
Reviewed by: imp, alfred
2008-11-04 02:31:03 +00:00
Warner Losh
09988d1e9a Use more standardized license language
Approved by:	Thomas Quinot
2008-11-03 22:43:37 +00:00
Warner Losh
b14bf100e9 Document dev.rl.%unit.twister_enable sysctl/tunable.
Submitted by:	Kostik Belousov
2008-11-02 16:51:57 +00:00
Attilio Rao
1efbe1a4be Reflect changes for the vfs_busy() prototype. 2008-11-02 10:33:57 +00:00
Edward Tomasz Napierala
c63bac11af Remove obsolete pseudocode from VOP_ACCESS.9, replacing it with something
closer to reality.

Approved by:	rwatson (mentor)
2008-11-01 19:02:05 +00:00
Christian Brueffer
5dc230e73a - Add one more supported adapter (1)
- Fix a couple of typos

Submitted by:	Horvath Andras (1)
2008-11-01 14:19:55 +00:00
Maxim Konovalov
ee6aa68c9c o OpenBSD 4.4 added. 2008-11-01 06:48:28 +00:00
Robert Watson
c2911a7ac0 In style(9) examples of err() and errx(), use sysexits(3) errors rather
than returning 1.

Submitted by:	Bruce Cran <bruce at cran dot org dot uk>
MFC after:	3 days
2008-10-31 14:47:15 +00:00
Christian Brueffer
0df76605cf Misc cleanup. 2008-10-29 18:49:37 +00:00
Nick Hibma
a460bc835a - Add documentation on how to temporarily display the umass devices that
are automatically hidden by the u3gstub device.
- Add a link to the u3g driver man page for u3gstub.
2008-10-29 16:17:34 +00:00
Edward Tomasz Napierala
15bc6b2bd8 Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary
to add more V* constants, and the variables changed by this patch were often
being assigned to mode_t variables, which is 16 bit.

Approved by:	rwatson (mentor)
2008-10-28 13:44:11 +00:00
Edwin Groothuis
0dde8f1194 MFV of tzdata2008i.
- United States zone reordering and recommenting
- Argentina DST changes update.
2008-10-28 10:37:40 +00:00
Alexander Motin
7dbf04d70c Fix month mistake. Again. Sorry. :) 2008-10-24 18:57:11 +00:00
Alexander Motin
d20d9a2efa Add hint.hdac.%d.msi description. 2008-10-24 18:28:52 +00:00
Dag-Erling Smørgrav
1ede983cc9 Retire the MALLOC and FREE macros. They are an abomination unto style(9).
MFC after:	3 months
2008-10-23 15:53:51 +00:00
Nick Hibma
e4bb8c6423 The driver supports the Sony W810i phone (interface class driver).
Note: This entry is added as this is there was no mention of any phones
in the list. This entry might have people try the driver against their
device.

The Sony Ericsson phone provides an OBEX stack on further CDC
interfaces. Umodem wrongfully assumes that it is the driver for this
interface. This is due to a bogus implementation in the umodem driver
when searching for the data interface. This should be read from the CDC
descriptors. Also, more of this should happen in the probe instead of
attach.

MFC after:	4 weeks
2008-10-22 21:46:59 +00:00
Alexander Motin
cecf066b90 Use full month name. 2008-10-22 09:11:35 +00:00
Alexander Motin
2202f7a11c Add sdhci driver man page. Link it up to mmc subsystem. 2008-10-22 09:04:05 +00:00
Alexander Motin
5d8c8e3eba Update man page. 2008-10-22 08:43:35 +00:00
Attilio Rao
b63f51d0d0 Reflect changes into vinvalbuf(9) prototype. 2008-10-20 20:00:34 +00:00
Simon L. B. Nielsen
c13c975098 Remove trailing comma in SEE ALSO section. 2008-10-19 17:19:42 +00:00
Ed Schouten
58a5b17f7b Increase the date in the manual page, which should have been done in r183922.
In r183922 I introduced a new DDB command, documented it, but forgot to
bump the date in the manual page.

Pointed out by:	bz
2008-10-18 06:23:08 +00:00
Philip Paeps
dd495fe774 Add the nordic keyboard layout for Asus eee devices.
PR:		126841
Submitted by:	Peter <pb -at- ludd.ltu.se>
MFC after:	3 days
2008-10-17 14:07:39 +00:00
Nick Hibma
c3fed0bbc1 Comment on the umass CD ROM devices in the UMTS modems. 2008-10-15 21:47:01 +00:00
Ed Schouten
f6dd5c15fd Import some improvements to the TTY code from the MPSAFE TTY branch.
- Change the ddb(4) commands to be more useful (by thompsa@):
  - `show ttys' is now called `show all ttys'. This command will now
    also display the address where the TTY data structure resides.
  - Add `show tty <addr>', which dumps the TTY in a readable form.

- Place an upper bound on the TTY buffer sizes. Some drivers do not want
  to care about baud rates. Protect these drivers by preventing the TTY
  buffers from getting enormous. Right now we'll just clamp it to 64K,
  which is pretty high, taking into account that these buffers are only
  used by the built-in discipline.

- Only call ttydev_leave() when needed. Back in April/May the TTY
  reference counting mechanism was a little different, which required us
  to call ttydev_leave() each time we finished a cdev operation.
  Nowadays we only need to call ttydev_leave() when we really mark it as
  being closed.

- Improve return codes of read() and write() on TTY device nodes.

- Make sure we really wake up all blocked threads when the driver calls
  tty_rel_gone(). There were some possible code paths where we didn't
  properly wake up any readers/writers.

- Add extra assertions to prevent sleeping on a TTY that has been
  abandoned by the driver.

- Use ttydev_cdevsw as a more reliable method to figure out whether a
  device node is a real TTY device node.

Obtained from:	//depot/projects/mpsafetty/...
Reviewed by:	thompsa
2008-10-15 16:58:35 +00:00
Nick Hibma
e7b0147d7e Correct the name of the device. 2008-10-14 15:30:17 +00:00
Edwin Groothuis
4d3caeacf3 update the manual on how to import and MFV new tzdata releases 2008-10-14 04:09:33 +00:00
Edwin Groothuis
0e8b352552 MFV of r183861:
Vendor import of tzdata2008h

- Minor update for Mauritius (which I don't understand)
- Syria goes to DST at 1 November instead of 1 October.
- Niue is now located at the right side of the equator.
2008-10-14 03:38:02 +00:00
Nick Hibma
7b25347900 Update the man pages with the moved/added support for devices. The SD card slot
of the Huawei mobile card is supported by the (generic) umass driver.
2008-10-13 20:43:08 +00:00
Nick Hibma
00718d50d3 Wrong FBSD version number in HISTORY section.
Submitted by:	pluknet
2008-10-10 06:26:37 +00:00
Warner Losh
258f85b951 ata module additions now nest ata modules one deeper than any prior module.
Increase heuristic used to find them by one.
2008-10-09 22:01:27 +00:00
Nick Hibma
483b9e4739 Say hello to the u3g driver, implementing support for 3G modems.
This was located in the ubsa driver, but should be moved into a separate
driver:

- 3G modems provide multiple serial ports to allow AT commands while the PPP
  connection is up.
- 3G modems do not provide baud rate or other serial port settings.
- Huawei cards need specific initialisation.
- ubsa is for Belkin adapters, an Linuxy choice for another device like 3G.

Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky
STALLED messages as well.

Next: Move over all entries for Sierra and Novatel cards once I have found
testers, and implemented serial port enumeration for Sierra (or rather have
Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces.

Submitted by:	aguzzo@anywi.com
MFC after:	3 weeks
2008-10-09 21:25:01 +00:00
Alexander Motin
688e18b20f Remove stale BUGS. 2008-10-08 18:27:54 +00:00
Dag-Erling Smørgrav
856ae5b2b9 Whitespace nit
MFC after:	1 week
2008-10-08 13:20:02 +00:00
Alexander Motin
c31f137e08 Document new NGM_NETFLOW_SETCONFIG control message. 2008-10-08 11:19:16 +00:00
Sam Leffler
77a62bf55d the 3945 firmware license does not require acknowledging the EULA,
remove the sysctl ack requirement

Pointed out by:	Joerg Sonnenberger
Reviewed by:	thompsa
Approved by:	core
2008-10-07 19:42:56 +00:00
Simon L. B. Nielsen
f78d85eb96 Reference igb(4) i SEE ALSO.
MFC after:	1 week
2008-10-06 21:55:53 +00:00
Simon L. B. Nielsen
ed344a8a76 Only a few of the loader tunables / sysctl variables are documented,
as I'm not really sure what the rest do.

The list of adaptors was found at
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=15815

MFC after:	1 week
2008-10-06 21:38:55 +00:00
Simon L. B. Nielsen
e0578797fc - Add 82574 to list of supported controller chips.
- Add Intel PRO/1000 PF and Intel PRO/1000 PT adaptors to list of
  supported adaptors.

The list of adaptors was found at
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=10957

MFC after:	1 week
2008-10-06 20:45:08 +00:00
Simon L. B. Nielsen
eb43d80055 Document that the bce(4) driver works with Dell PowerEdge 1950/2950
NIC's.

MFC after:	3 days
2008-10-06 18:07:07 +00:00
Simon L. B. Nielsen
cf754f452f Add a HARDWARE section. It doesn't contain any information not
already in the DESCRIPTION section, but this allows for the manual
page to be used in the automatic hardware notes generation.

MFC after:	3 days
2008-10-06 17:49:24 +00:00
Lawrence Stewart
23c1bd91c8 Add myself as requested by the committers-guide
Approved by:	gnn (mentor)
2008-10-06 14:20:03 +00:00
Daniel Gerzo
eeb881f84e Add initial version of the nullfs(5) man page
MFC after:	3 days
2008-10-05 18:57:27 +00:00
Simon L. B. Nielsen
3223fffcb7 Document that vr(4) supports Soekris Engineering net5501. 2008-10-05 11:39:16 +00:00
Xin LI
5899d29bc6 Note recently added ICH10 support 2008-10-04 21:31:12 +00:00
Simon L. B. Nielsen
03bc0ffa9a - Minor mdoc cleanup.
- Make HARDWARE section a bit more friendly for the Hardware Notes.
2008-10-04 16:21:04 +00:00
Stanislav Sedov
f7a029eb0c - Add ae(4) to the list of devices support full hardware VLAN
tags processing.

Approved by:	kib (mentor)
MFC after:	1 week
2008-10-04 15:44:22 +00:00
Stanislav Sedov
8faf6cdc01 - Add manual page for ae(4) driver.
Approved by:	kib (mentor)
MFC after:	1 week
2008-10-04 14:21:54 +00:00
Simon L. B. Nielsen
f4b548d73e - Document that 'show alllocks' and 'show locks' are only available
with witness.
- Remove references to non-existing witness(9) and replace with
  witness(4) where appropriate.
- Bump document date.

MFC after:	3 days
2008-10-04 14:12:09 +00:00
Christian Brueffer
129e5ac659 ITE IT8213F support. 2008-10-03 11:37:33 +00:00
Alexander Motin
728747680a Add hint about hw.snd.default_unit sysctl. 2008-10-03 09:19:07 +00:00
Andrew Thompson
9087c3494e Update ng_tty for MPSAFE TTY.
This changes from a line discipline to the tty_hooks mechanism. Data will come
in directly via rint_bypass and sent to the peer node in a single mbuf.

As line disciplines are no longer used a new netgraph command called
NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open
file descriptor of the tty and registers the tty hooks. When the tty disappears
the node will shutdown.

Thanks to:	ed
Sponsored by:	Hobnob, Inc
2008-10-03 05:14:54 +00:00
Edwin Groothuis
76dcf5720c Apply upcoming fix for 2008g release. 2008-10-02 06:18:36 +00:00
Pyun YongHyeon
d5bb114360 Mention support for nForce MCP77 and MCP79.
Touch Dd.
2008-10-02 02:23:59 +00:00
Gleb Smirnoff
3e460b606a Make example commands working.
Reviewed by:	benjsc
2008-09-30 14:24:03 +00:00
Konstantin Belousov
e45b2259ec Add unistd.h to the getosreldate(3) manpage.
Update referenced example to include unistd.h per manpage.
Update example to be more style(9)-ish, silence warnings and add
FreeBSD id to the source file.
2008-09-30 11:25:55 +00:00
Ed Schouten
2c3fbde10d Small typo in the makedev(3) manpage.
devtoname(3) is a nonexistent function. We do have devtoname(9), but
that's entirely different. The correct function is devname(3).
2008-09-28 20:26:16 +00:00
Ed Schouten
66c6ebfe6b Several documentation fixups related to device minor/major numbers:
- Document the minor(3), major(3) and makedev(3) macro's. They also
  apply to umajor() and uminor() in the kernel, but hopefully we'll sort
  that out one day.

- Briefly dev2unit() inside the make_dev(9) manual page, since this is
  now the preferred macro to obtain character device unit numbers inside
  the kernel.

- Remove the device_ids(9) manual page. It contains highly inaccurate
  information, such as a description of the nonexistent major().
2008-09-28 20:15:45 +00:00
Warner Losh
10ec05d8dc Add stronger warning that spl is historical. I almost deleted this
man page entirely, but it is still mildly useful in understanding the
few splxxx usages we still have in the tree.
2008-09-28 03:45:16 +00:00
Ed Schouten
00b4430eb8 Also use dev2unit() in the pseudo-driver example script.
Because I'm planning on MFC'ing my last change to this file, make sure
we use dev2unit() here as well.
2008-09-27 16:52:57 +00:00
Ed Schouten
edde874555 Rename the minor' argument of make_dev(9) to unit'.
To prevent any further confusion about device minor and unit numbers,
we'd better just refer to device unit numbers. Many people still think
the numbers we show inside devfs have any relation to the numbers passed
to make_dev(9), which is not the case.

Discussed with:	kib
2008-09-26 14:31:24 +00:00
Dag-Erling Smørgrav
c10a985940 Undocument dead option.
MFC after:	3 days
2008-09-24 21:07:11 +00:00
Ruslan Ermilov
85e5290d11 Allow a jail's IP alias to be created with an arbitrary netmask.
MFC after:	3 days
2008-09-24 15:18:27 +00:00
Sam Leffler
aaa6d7ebb9 regen 2008-09-23 16:18:15 +00:00
Robert Noland
5b31ca99f7 Add my entry to committers-src.dot
Approved by:	jhb(mentor)
2008-09-22 21:53:00 +00:00
Ed Schouten
30105b9cc7 Make the make_pseudo_driver.sh shellscript work again.
It seems this script was broken because of the SYSINIT changes and a
rather awkward variable initialisation. For some reason the
make_device_driver.sh script is also broken, related to BUS_SETUP_INTR.
I have no experience with FreeBSD's interrupt handling, so I hope
someone else is willing to take a look at that shell script.

PR:		misc/126435
MFC after:	1 month
2008-09-22 16:10:12 +00:00