Commit Graph

7235 Commits

Author SHA1 Message Date
Andrew Thompson
6945d73b44 Put the bridge mac inheritance behind a sysctl with the default off as this
still needs all the edge cases fixed.

Submitted by:	Eygene Ryabinkin
2008-09-08 03:28:26 +00:00
Konstantin Belousov
d56aeabac3 Document BUS_DMA_NOCACHE.
MFC after:	3 days
2008-09-06 15:21:01 +00:00
Ed Maste
7c77eeb816 Add a note that CTASSERT() should not be used in header files. 2008-09-05 15:24:54 +00:00
Christian Brueffer
f083c6eb98 Hook up ixgbe(4) to the build. D'oh! 2008-09-04 20:45:32 +00:00
Ed Schouten
64308260f6 Implement pts(4) packet mode.
As reported by several users on the mailing lists, applications like
screen(1) fail to properly handle ^S and ^Q characters. This was because
MPSAFE TTY didn't implement packet mode (TIOCPKT) yet. Add basic packet
mode support to make these applications work again.

Obtained from:	//depot/projects/mpsafetty/...
2008-09-04 16:39:02 +00:00
Attilio Rao
59d4932531 Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions.
Manpages are updated accordingly.

Tested by:	Diego Sardina <siarodx at gmail dot com>
2008-08-31 14:26:08 +00:00
Attilio Rao
65eb71bd3c Reflect recent changes to the sysctl debug.witness.watch moving into a
tri-state variable.
2008-08-30 13:37:28 +00:00
Jung-uk Kim
9c8d21f901 Add links to all bpf(9) functions. 2008-08-28 17:04:52 +00:00
Attilio Rao
0359a12ead Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread
was always curthread and totally unuseful.

Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
2008-08-28 15:23:18 +00:00
Warner Losh
c21156876b Add recent ELSA additions to wi(4), plus make sure the list matches
the driver for ELSA.

PR:		77913
Submitted by:	Daan Vreeken
MFC after:	3 days
2008-08-27 04:55:37 +00:00
Kevin Lo
7ddc7b1390 Add DWA-110 and DWA-111 to the list of devices supported by rum(4) 2008-08-25 05:51:58 +00:00
Warner Losh
d0e7c113ef Note that most Windows CE phones are supported by this driver.
# It would be nice if we had a good way to generate this list from the driver
# list itself, since there's now over 400 listed Ids.
2008-08-25 02:38:28 +00:00
Warner Losh
c2ff473db7 Update uipaq for FreeBSD's driver:
o List all devices FreeBSD supports (more on the way)
o Sort the list of supported devices
o Note this was introduced with FreeBSD 7.0
o Include the FreeBSD configuration synopsis
o Bump the man page date
o Put $FreeBSD$ where all the other usb man pages have it.
And add to build.
2008-08-25 02:05:04 +00:00
Warner Losh
78d0868b47 Bring in verbatim copy of NetBSD's uipaq.4 man page. This in turn was
copied from OpenBSD.  I'll adjust the history section to reflect
FreeBSD's history, and attach it to the build later.
2008-08-25 01:51:40 +00:00
John Baldwin
aa7c1c059f Add a very simple dpms(4) driver that uses the VESA BIOS DPMS calls to
turn off the external display during suspend and restore it to its
original state on resume.

MFC after:	2 weeks
2008-08-23 21:00:40 +00:00
Warner Losh
632ed478b0 Document that devlistp and devcountp are only updated when there's no
error.
Bump date.
2008-08-23 07:50:20 +00:00
Rui Paulo
0e5f2a7748 Merge the relevant information of man4.i386/ichwd.4 into man4/ichwd.4
and remove ichwd(4) man page from man4.i386.

Submitted by:	gavin
Reviewed by:	des, me
Approved by:	des
2008-08-21 17:53:13 +00:00
Rui Paulo
e676955476 Move man pages out of man4.i386. Most of them are applicable to amd64
too, so, instead of descending to the i386 directory, we add some magic to
the parent Makefile.
These man pages refer to drivers that I'm aware that work on amd64. Most
likely there are more, but I'll deal with them later.

Approved by:	brueffer, philip, takawata
2008-08-21 00:40:55 +00:00
Rui Paulo
b94497f9fb Instal k8temp(4) man page only on amd64 and i386.
MFC after:	1 week
2008-08-20 13:04:27 +00:00
Rui Paulo
eb48ed4558 Add Eee PC. 2008-08-20 12:36:53 +00:00
Rui Paulo
c59abcf330 Revert r181886. A man page already exists in man.i386.
I didn't notice it because I was on amd64.

Pointy hat to:	me
Pointed out by:	several
2008-08-20 11:48:04 +00:00
Ed Schouten
bc093719ca Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:

- Improved driver model:

  The old TTY layer has a driver model that is not abstract enough to
  make it friendly to use. A good example is the output path, where the
  device drivers directly access the output buffers. This means that an
  in-kernel PPP implementation must always convert network buffers into
  TTY buffers.

  If a PPP implementation would be built on top of the new TTY layer
  (still needs a hooks layer, though), it would allow the PPP
  implementation to directly hand the data to the TTY driver.

- Improved hotplugging:

  With the old TTY layer, it isn't entirely safe to destroy TTY's from
  the system. This implementation has a two-step destructing design,
  where the driver first abandons the TTY. After all threads have left
  the TTY, the TTY layer calls a routine in the driver, which can be
  used to free resources (unit numbers, etc).

  The pts(4) driver also implements this feature, which means
  posix_openpt() will now return PTY's that are created on the fly.

- Improved performance:

  One of the major improvements is the per-TTY mutex, which is expected
  to improve scalability when compared to the old Giant locking.
  Another change is the unbuffered copying to userspace, which is both
  used on TTY device nodes and PTY masters.

Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.

Obtained from:		//depot/projects/mpsafetty/...
Approved by:		philip (ex-mentor)
Discussed:		on the lists, at BSDCan, at the DevSummit
Sponsored by:		Snow B.V., the Netherlands
dcons(4) fixed by:	kan
2008-08-20 08:31:58 +00:00
Rui Paulo
d3acb88aca Add a man page for the acpi_asus(4) driver.
MFC after:	1 week
2008-08-19 23:06:21 +00:00
David E. O'Brien
5241279fa1 Rename the RCng 'kernel' script to 'kernel_symlink'.
Requested by: many
2008-08-19 14:23:31 +00:00
Simon L. B. Nielsen
f1bec2c1ef Fix mdoc markup in r181825. 2008-08-18 09:45:26 +00:00
Philip Paeps
19a71edb3a Document the addition of the hw.ata.ata_dma_check_80pin tunable.
Submitted by:	Patrick Lamaizière <patfbsd -at- davenulle.org>
MFC after:	1 week
2008-08-18 09:17:16 +00:00
Rui Paulo
5f32510e53 Add ECN sysctls and ECN RFC. 2008-08-16 21:12:25 +00:00
Ed Schouten
2e37c8eacb Convert the snp(4) driver to use cdevpriv.
Now we have a single /dev/snp device node, which can be opened by
watch(8) multiple times. Even though snp(4) will be dead as of next
week, it's nice having this in SVN, because:

- We may want to MFC it to RELENG_7.
- By the time we fix snp(4) again, it's already there, existing watch(8)
  binaries should already work.

Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary
compatible.
2008-08-15 13:07:07 +00:00
Ed Schouten
8fced8fcdf Bump __FreeBSD_version to 800043, because of the bpf(4) change.
bpf(4) now uses cdevpriv to distinguish multiple file descriptors, where
it used to be implemented using device cloning. Ports like libpcap
properly detect the change in their configure scripts, but it doesn't
hurt to increase __FreeBSD_version.

While there, change the bpf(4) manual page to refer to /dev/bpf instead
of /dev/bpfN.

Requested by:	mlaier
2008-08-13 17:45:06 +00:00
Kevin Lo
908e4a44b6 Add et(4) to the list of drivers use the miibus interface 2008-08-12 01:17:34 +00:00
Christian Brueffer
2c97c27451 Correct a few minor markup and grammar issues. 2008-08-11 08:42:31 +00:00
Weongyo Jeong
e60fe67cbc Connect upgt.4 to the build. 2008-08-11 04:48:34 +00:00
Weongyo Jeong
b3be9d15b4 Add Conexant/Intersil PrismGT SoftMAC wireless USB driver - upgt(4).
This driver supports GW3887 based chipsets and works on
x86/powerpc/sparc64.  You need upgtfw kernel module before loading
upgt(4).  Please see the manpage.

Obtained from:	OpenBSD
2008-08-11 03:57:31 +00:00
Philip Paeps
66863836a9 Typo: glxsb(4) was imported to FreeBSD 8.0, not 7.0.
Spotted by:	kib
2008-08-09 15:09:51 +00:00
Philip Paeps
edd30e9cc7 Add the glxsb(4) manual page.
Submitted by:	Patrick Lamaizière <patfbsd -at- davenulle.org>
MFC after:	1 week
2008-08-09 14:54:19 +00:00
David E. O'Brien
d606fed624 Only symlink booted kernel directory to /boot/kernel if user has explicitly
requested it.  This is too dangerous to just do behind the admin's back.
2008-08-09 06:35:19 +00:00
Stanislav Sedov
e085f869d5 - Add cpuctl(4) pseudo-device driver to provide access to some low-level
features of CPUs like reading/writing machine-specific registers,
  retrieving cpuid data, and updating microcode.
- Add cpucontrol(8) utility, that provides userland access to
  the features of cpuctl(4).
- Add subsequent manpages.

The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX
is created for each cpu present in the systems. The pseudo-device minor
number corresponds to the cpu number in the system. The cpuctl(4) pseudo-
device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID
and UPDATE. The first pair alows the caller to read/write machine-specific
registers from the correspondent CPU. cpuid data could be retrieved using
the CPUID call, and microcode updates are applied via UPDATE.

The permissions are inforced based on the pseudo-device file permissions.
RDMSR/CPUID will be allowed when the caller has read access to the device
node, while WRMSR/UPDATE will be granted only when the node is opened
for writing. There're also a number of priv(9) checks.

The cpucontrol(8) utility is intened to provide userland access to
the cpuctl(4) device features. The utility also allows one to apply
cpu microcode updates.

Currently only Intel and AMD cpus are supported and were tested.

Approved by:	kib
Reviewed by:	rpaulo, cokane, Peter Jeremy
MFC after:	1 month
2008-08-08 16:26:53 +00:00
John Baldwin
414e7679cb Permit Giant to be passed as the explicit interlock either to
msleep/mtx_sleep or the various cv_*wait*() routines.  Currently, the
"unlock" behavior of PDROP and cv_wait_unlock() with Giant is not
permitted as it is will be confusing since Giant is fully unrecursed and
unlocked during a thread sleep.

This is handy for subsystems which wish to allow unlocked drivers to
continue to use Giant such as CAM, the new TTY layer, and the new USB
stack.  CAM currently uses a hack that I told Scott to use because I
really didn't want to permit this behavior, and the TTY and USB patches
both have various patches to permit this.

MFC after:	2 weeks
2008-08-07 21:00:13 +00:00
John Baldwin
2cdcea5ed8 Document the new return values for sleepq_abort(), sleepq_broadcast(), and
sleepq_signal().

Prodded by:	attilio
2008-08-07 20:47:01 +00:00
Christian Brueffer
44c81fb8b3 Comment out information about Jumbo Frame support, it's not
implemented yet.  While here, fix a whitespace nit.

Discussed with:		delphij
2008-08-07 07:32:40 +00:00
Andrew Thompson
7f05f04afd Remove a comment about bridging wireless client, the new net80211 vap code
supports this.
2008-08-04 23:16:07 +00:00
Robert Watson
0dda506c4c DDB scripting, textdumps, output capture, etc, all will appear in
FreeBSD 7.1 before 8.0 ships.

Spotted by:	Ulrich Spoerlein <uspoerlein at gmail dot com>
MFC after:	3 days
2008-08-03 14:14:43 +00:00
Warner Losh
a653651375 Bumpd date
Minor word smithing on the need for newer firmware.
2008-08-02 23:41:10 +00:00
Warner Losh
1edd9c5b7a Add entry for Prism-3 based Siemens SpeedStream card. It has
identical packaging and model numbers, but has had the Prism-II chips
replaced by Prism-3.  The wi driver was just updated with the new
entry.
2008-08-02 23:29:35 +00:00
Sam Leffler
db3f3bde0e Try to fixup last (inadvertent) commit: firmware_drain was never added so
yank it's description; likewise for the FIRMWARE_WAIT flag to firmware_put.

For the record, the last commit was to cleanup various mistakes and correct
the example of embedding to reflect the npe firmware now being distributed
with the system.
2008-08-02 17:51:38 +00:00
Sam Leffler
6e0186d5ee add callout_schedule; besides being useful it also improves
compatibility with other systems

Reviewed by:	ed, battlez
2008-08-02 17:42:38 +00:00
Colin Percival
cd44e09c66 Document new IDSIgnorePaths directive. 2008-08-02 00:13:51 +00:00
Warner Losh
f1345f5393 Add a few clarifications to this man page. Also, add a table that
describes the minimum versions of each feature and each chipset type
supported by this driver.  Basically, unless you have a very modern
version of firmware on a Prism card, you won't be able to use these
cards for much on modern networks that have any kind of protection
enabled, except for the few WEP-only stranglers that appear at some
conferences...
2008-07-26 18:31:39 +00:00
Pawel Jakub Dawidek
7f41115ef6 Implement the following macros for completeness:
SYSCTL_QUAD()
	SYSCTL_ADD_QUAD()
	TUNABLE_QUAD()
	TUNABLE_QUAD_FETCH()

Now we can use 64bit tunables on 32bit systems.
2008-07-21 15:05:25 +00:00
Maxim Konovalov
dc5aa2110e o Document "show conifhk", wording from r180610 commit log.
Reviewed by:	rwatson
2008-07-21 10:03:02 +00:00