Commit Graph

12699 Commits

Author SHA1 Message Date
n_hibma
f606fe1aa4 Elaborate some on the workings of the stub.
Collapse up the list of supported devices.
2009-02-13 20:09:11 +00:00
mav
f692f38dd2 Fix spelling a bit. 2009-02-12 13:04:13 +00:00
yongari
36e9aee16d Document loader tunable hw.re.msi_disable.
Bump .Dd
2009-02-09 05:09:52 +00:00
jhb
b11fd9c5ab 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
kevlo
9fbefbe96f Add the Buffalo WLI-U2-SG54HG 2009-02-06 15:03:17 +00:00
attilio
3a498bb803 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
40c57b103c Committo ergo sum.
Approved by:	bz
2009-01-30 22:00:31 +00:00
keramida
7dd5538742 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
6d59656f4c - 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
keramida
7a4494232b 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
tabthorpe
1b8c1baf10 - Re-order SEE ALSO entries
Noticed by:	brueffer
Approved by:	trhodes
2009-01-28 15:54:28 +00:00
tabthorpe
21c0a98c4f - 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
keramida
6aef7e9d1e Bump .Dd for r187782. 2009-01-27 22:24:09 +00:00
keramida
ed75d66370 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
trhodes
8d592aeada s/use/using/ in previous commit.
Suggested by:	jhb
2009-01-27 00:23:43 +00:00
trhodes
e8de906c2a 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
raj
65b10fa5be 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
bz
d8594296c6 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
trhodes
2f68dac1aa Better description of kern.ipc.maxpipekva.
Discussed with:	kib
2009-01-26 02:15:22 +00:00
nwhitehorn
f248f8a334 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
nwhitehorn
2cc6f5c8ec 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
bz
d0e994cfa3 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
trhodes
86a2750a15 Update the supported device list a little bit.
PR:		84538
Submitted by:	asmodai
2009-01-24 04:08:00 +00:00
trhodes
5ac2a4f984 Add a comment on kern.ipc.maxpipekva.
PR:		105997
Reviewed by:	keramida
2009-01-24 01:46:46 +00:00
imp
5341e1c548 Sort KERNFAST and KERNCONF into the list they are in. 2009-01-23 18:35:09 +00:00
imp
92ebc7defc 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
32badf1769 Connect urtw.4 to the build. 2009-01-23 05:53:49 +00:00
weongyo
f5721f3a13 Add a new USB wireless driver, urtw(4) for supporting Realtek's 8187L
chipset.
2009-01-23 05:04:49 +00:00
edwin
75d3feba46 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
tabthorpe
d41b901b60 - 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
phk
0974d09c26 Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009. 2009-01-21 10:51:54 +00:00
marius
b5e5a8df14 Update URL. 2009-01-16 19:43:21 +00:00
mav
25496c56fa Add some information in SYNOPSIS, HARDWARE and BUGS sections. 2009-01-16 19:28:25 +00:00
delphij
a87c2b4789 Reflect newly added PCI IDs to bce(4).
MFC after:	2 months
2009-01-15 22:41:48 +00:00
marius
259e67e7b3 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
9a4eda071c 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
2c6d634867 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
trhodes
888dca1c5f 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
trhodes
6f0bfed2be 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
kib
2715f5ad31 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
brueffer
1a2c174bc9 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
keramida
cdacc5af23 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
brueffer
dc442f58c6 Language cleanup. 2009-01-08 21:29:40 +00:00
imp
6f4df3b74d 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
bz
6ca4a3c37e 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
mav
85cc44f9ee Update date. 2009-01-07 16:06:09 +00:00
mav
87b86443ae 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
mav
5d29148307 Hook up sdhci man page to the build. 2009-01-07 09:50:57 +00:00
mav
df83de35eb 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
brueffer
076f5e398c More wording improvements.
Discussed with:		stas
2009-01-05 20:46:46 +00:00
maxim
f93aa92f65 o FreeBSD 7.1 added. 2009-01-05 17:38:03 +00:00
keramida
6f2df61ea7 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
rwatson
b5a94963bb 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
stas
441b9aa0f3 - Improve wording.
Approved by:	kib (mentor)
MFC after:	1 week
2009-01-04 15:49:30 +00:00
stas
530a5e979e - 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
brueffer
9063c189c0 Mdoc and language cleanup. 2009-01-03 10:37:38 +00:00
rwatson
e52e71cb6e 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
brueffer
0d4d24d449 Add missing comma. 2008-12-30 20:31:37 +00:00
brueffer
ef29b651f7 Mdoc and wording improvements, also point to cpucontrol(8). 2008-12-30 20:26:16 +00:00
weongyo
0f8825b3f7 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
mav
69460f7965 Update for the last API changes. 2008-12-25 10:18:35 +00:00
julian
3b46c85ea8 Hook up the ether_echo node and fix the man page 2008-12-25 07:34:14 +00:00
julian
36efa471ac Add a trivial node to reflect ethernet frames to whence they came.
MFC after: 1 month
2008-12-25 00:01:29 +00:00
trhodes
953a7479f3 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
dougb
29da7fd3fd Update bmake glue for changes in 9.4.3 2008-12-23 22:51:10 +00:00
trhodes
32f95995c5 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
bz
291c79e84c 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
09ed1baa25 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
thompsa
b56852858e Document that the devd config is in /etc/devd/asus.conf 2008-12-17 20:24:34 +00:00
des
ffcddec75d Boot out <sysexits.h> once and for all.
MFC after:	1 week
2008-12-17 13:01:19 +00:00
trasz
b2515a861b 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
brueffer
abb90305dd Elaborate on the hardware features fxp(4) supports.
Submitted by:	yongari
MFC after:	1 week
2008-12-15 14:07:07 +00:00
bz
3e7cee9bac 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
kmacy
3475c71ce8 re-add accidentally deleted line 2008-12-15 07:51:59 +00:00
qingli
ec826ad5c7 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
schweikh
79e02d31dd Typo/rewording. 2008-12-13 09:33:03 +00:00
kmacy
74f46bd9ab fix support and capabilities
MFC after:	3 days
2008-12-12 05:45:39 +00:00
jhb
3e082b224e - 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
marcus
6ee3b0271a Add a man page for VOP_VPTOCNP.
Reviewed by:	arch
Approved by:	kib
2008-12-12 01:08:28 +00:00
kmacy
4014de0d1b Add entry for if_transmit and if_qflush 2008-12-11 22:51:11 +00:00
nwhitehorn
19d49bd49b 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
nwhitehorn
2da73faaff Fix spelling error (find -> found). 2008-12-07 06:34:50 +00:00
nwhitehorn
010cc6329f Now that pmu(4) has features, it should also have a man page. 2008-12-07 06:18:47 +00:00
schweikh
67d3c5b7c3 Correct a typo. 2008-12-05 22:04:52 +00:00
delphij
8070e0b5fd 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
brueffer
1383cec09e Improve grammar.
Submitted by:	Ben Kaduk
2008-12-02 22:45:01 +00:00
sam
3693ee3c32 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
kevlo
9fb73a85c9 Remove The Netgear WG111v2 support 2008-12-01 10:05:34 +00:00
kib
0ad3ee0380 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
brueffer
c589fc6afa Add standard MLINKs. 2008-11-29 19:01:44 +00:00
brueffer
ab14486731 Bring this a little closer to our manpage style. 2008-11-29 18:58:20 +00:00
brueffer
015ba12704 Add several missing MLINKs. 2008-11-29 18:21:31 +00:00
brueffer
7cd84ca97a Fix typo. 2008-11-29 18:09:50 +00:00
bz
d2730d5b27 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
d8aff71262 o FreeBSD 6.4-RELEASE added. 2008-11-28 19:35:48 +00:00
raj
a24772eab8 Provide manual page for the mge(4) device driver. 2008-11-27 16:50:23 +00:00
rwatson
272e95193b 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
hrs
ab1964bdc2 Remove vfs_mountedon(9) manual page. The vfs_mountedon(9) has been
removed since 2004.
2008-11-23 20:05:12 +00:00
hrs
6ab27e3336 vn_fullpath(9) does not assume vp is locked by the caller now. 2008-11-23 20:02:58 +00:00
keramida
6b3144f55d 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
881f5acc93 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
pho
529c4f245c Add myself
Approved by:	kib (mentor)
2008-11-18 14:05:11 +00:00
pjd
bbe899b96e 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
e74a903243 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
bcabecebee - 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
versus
2762bbf27e Add myself to the src committers list, with Diomidis as the mentor.
Approved by:	dds (mentor)
2008-11-13 07:26:30 +00:00
yongari
c7acada69c Correct .Dd
Pointed out by:	maxim
2008-11-12 10:31:06 +00:00
yongari
1ce66caae7 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
keramida
968a3d70d8 Spell 'different' correctly. 2008-11-08 17:45:47 +00:00
mav
6b691ca72e Two minor fixes. 2008-11-07 17:55:09 +00:00
mav
e7107444e0 A lot of spelling fixes.
Submitted by:	keramida
2008-11-06 21:47:02 +00:00
mav
8a6828b297 Improve driver operation example description. 2008-11-05 17:12:18 +00:00
des
f45d9dc440 Missing email address
MFC after:	3 weeks
2008-11-05 15:07:42 +00:00
ed
77fbb9695c 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
164a6176c3 Add Rene Ladan, as well as my relationship towards Rene. 2008-11-04 19:20:19 +00:00
alfred
effcf5d59c 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
imp
715ba09cc1 Use more standardized license language
Approved by:	Thomas Quinot
2008-11-03 22:43:37 +00:00
imp
1bdd099a16 Document dev.rl.%unit.twister_enable sysctl/tunable.
Submitted by:	Kostik Belousov
2008-11-02 16:51:57 +00:00
attilio
56b77d9915 Reflect changes for the vfs_busy() prototype. 2008-11-02 10:33:57 +00:00
trasz
d773e920c4 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
brueffer
5d99062f35 - 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
782d4d3f4b o OpenBSD 4.4 added. 2008-11-01 06:48:28 +00:00
rwatson
06bee05bb5 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
brueffer
e3f7e53f34 Misc cleanup. 2008-10-29 18:49:37 +00:00
n_hibma
dcd1a459de - 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
trasz
0ad8692247 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
bbf1e3cc5b MFV of tzdata2008i.
- United States zone reordering and recommenting
- Argentina DST changes update.
2008-10-28 10:37:40 +00:00
mav
7ab8bc1fe7 Fix month mistake. Again. Sorry. :) 2008-10-24 18:57:11 +00:00
mav
e2f3199b95 Add hint.hdac.%d.msi description. 2008-10-24 18:28:52 +00:00
des
66f807ed8b 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
n_hibma
486f9a87d6 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
mav
90249f54fb Use full month name. 2008-10-22 09:11:35 +00:00
mav
fa1fc2e24f Add sdhci driver man page. Link it up to mmc subsystem. 2008-10-22 09:04:05 +00:00
mav
bc7938d38d Update man page. 2008-10-22 08:43:35 +00:00
attilio
2efd12327d Reflect changes into vinvalbuf(9) prototype. 2008-10-20 20:00:34 +00:00
simon
1981c41623 Remove trailing comma in SEE ALSO section. 2008-10-19 17:19:42 +00:00
ed
1a26719e3c 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
80f8b9cd30 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
n_hibma
994d46ed0c Comment on the umass CD ROM devices in the UMTS modems. 2008-10-15 21:47:01 +00:00
ed
48c0c8f51a 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
n_hibma
aa0334ca2f Correct the name of the device. 2008-10-14 15:30:17 +00:00
edwin
5be06c299e update the manual on how to import and MFV new tzdata releases 2008-10-14 04:09:33 +00:00
edwin
7651d8fb7f 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
n_hibma
cc9669b1f2 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
n_hibma
2b85f752b6 Wrong FBSD version number in HISTORY section.
Submitted by:	pluknet
2008-10-10 06:26:37 +00:00
imp
b4da579f7f 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
n_hibma
02c7a0e7d1 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
mav
729a83d111 Remove stale BUGS. 2008-10-08 18:27:54 +00:00
des
c317ce57a8 Whitespace nit
MFC after:	1 week
2008-10-08 13:20:02 +00:00
mav
fd60d4025e Document new NGM_NETFLOW_SETCONFIG control message. 2008-10-08 11:19:16 +00:00
sam
964dbca2f3 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
1d7527fd9e Reference igb(4) i SEE ALSO.
MFC after:	1 week
2008-10-06 21:55:53 +00:00
simon
836b7e07b6 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
1c6773dfb9 - 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
2c7c3a9d9c 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
c6ee8b827e 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
lstewart
1cd4dae7a2 Add myself as requested by the committers-guide
Approved by:	gnn (mentor)
2008-10-06 14:20:03 +00:00
danger
d723e43411 Add initial version of the nullfs(5) man page
MFC after:	3 days
2008-10-05 18:57:27 +00:00
simon
869996544c Document that vr(4) supports Soekris Engineering net5501. 2008-10-05 11:39:16 +00:00
delphij
11b5fc7c3c Note recently added ICH10 support 2008-10-04 21:31:12 +00:00
simon
904c3a9693 - Minor mdoc cleanup.
- Make HARDWARE section a bit more friendly for the Hardware Notes.
2008-10-04 16:21:04 +00:00
stas
be8a06226f - 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
stas
b70d9c7717 - Add manual page for ae(4) driver.
Approved by:	kib (mentor)
MFC after:	1 week
2008-10-04 14:21:54 +00:00
simon
8f7c21ba0a - 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
brueffer
64e78e1d64 ITE IT8213F support. 2008-10-03 11:37:33 +00:00
mav
056c4f1d97 Add hint about hw.snd.default_unit sysctl. 2008-10-03 09:19:07 +00:00
thompsa
a8d2a9f2d1 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
92bb4a2054 Apply upcoming fix for 2008g release. 2008-10-02 06:18:36 +00:00
yongari
ce9192ff12 Mention support for nForce MCP77 and MCP79.
Touch Dd.
2008-10-02 02:23:59 +00:00
glebius
897af1f238 Make example commands working.
Reviewed by:	benjsc
2008-09-30 14:24:03 +00:00
kib
c725244bd2 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
f837c471db 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
3b64cecd5c 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
imp
6b3a0f9ca4 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
b13cd39d11 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
d421caabf9 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
des
20ecbed762 Undocument dead option.
MFC after:	3 days
2008-09-24 21:07:11 +00:00
ru
821d9baa1c 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
081d7d9aba regen 2008-09-23 16:18:15 +00:00
rnoland
095f0c08e0 Add my entry to committers-src.dot
Approved by:	jhb(mentor)
2008-09-22 21:53:00 +00:00
ed
6c1702dda9 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
jkoshy
0d9d822db0 Document changes in behaviour due to sparse CPU numbering support. 2008-09-22 14:31:24 +00:00
sam
9c3d2ffcdf add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd

Reviewed by:	various (posted to arch)
MFC after:	1 month
2008-09-21 22:02:26 +00:00
thompsa
4458fd8aa3 Change the wording to prefer 'forwarding' but still retain the word routing for
clarity.

Suggested by:	dougb
2008-09-19 15:27:37 +00:00
zec
509671a3d7 Hello, svn world! (adding myself to yet another list)
Approved by:	silby (mentor)
2008-09-18 17:32:13 +00:00
mav
2df5f40f49 Fix small mistake. 2008-09-18 10:30:29 +00:00
yongari
707edb064d Add ASUS P5KPL-C to the list of supported motherboard.
Reported by:	< nikola.lecic <at> anthesphoria dot net >
2008-09-18 05:08:17 +00:00
mav
9839b6d9f2 Bump modification date. 2008-09-17 20:34:50 +00:00
mav
522ebfdbfa Fix a typo. 2008-09-17 20:28:01 +00:00
mav
fc3ea65f78 Add set of snd_hda driver configuration examples to the man page. 2008-09-17 20:17:22 +00:00
attilio
23ff3dbeb8 Remove the suser(9) interface from the kernel. It has been replaced from
years by the priv_check(9) interface and just very few places are left.
Note that compatibility stub with older FreeBSD version
(all above the 8 limit though) are left in order to reduce diffs against
old versions. It is responsibility of the maintainers for any module, if
they think it is the case, to axe out such cases.

This patch breaks KPI so __FreeBSD_version will be bumped into a later
commit.

This patch needs to be credited 50-50 with rwatson@ as he found time to
explain me how the priv_check() works in detail and to review patches.

Tested by:      Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Reviewed by:    rwatson
2008-09-17 15:49:44 +00:00
thompsa
09662c68f9 Allow a jail to be started with a specific route fib.
Reviewed by:	secteam (simon)
Reviewed by:	brooks, bz
2008-09-16 20:18:25 +00:00
kib
0488506405 Add the ffs structures introspection functions for ddb.
Show the b_dep value for the buffer in the show buffer command.
Add a comand to dump the dirty/clean buffer list for vnode.

Reviewed by:	tegge
Tested and used by:   pho
MFC after:   1 month
2008-09-16 11:19:38 +00:00
edwin
fda3e37246 MFV of tzdata2008c:
Changes for Mauritius, Morocco, Pakistan, Palestine, Argentina and Brazil.

Approved by:	bde@ (implicit)
2008-09-16 04:39:44 +00:00
sam
f367e5ff45 decription of macros to add ddb commands
Submitted by:	Guillaume Ballet <gballet@gmail.com>
MFC after:	1 month
2008-09-15 23:13:29 +00:00
kib
783912cc18 Connect dev_clone.9 and devfs_set_cdevpriv.9 to the build. 2008-09-15 10:12:04 +00:00
joel
bf08111cf0 Minor language fixes and updates to the hardware section. 2008-09-14 09:56:35 +00:00
mav
e9c25337c1 Update man page according to r182999 snd_hda driver update. 2008-09-13 17:01:38 +00:00
kib
0e5845a31b Remove unneeded comma.
Noted by:	kensmith
2008-09-12 13:04:39 +00:00
kib
8fbe72145e Document dev_clone eventhandler interface 2008-09-11 11:43:47 +00:00