Commit Graph

3877 Commits

Author SHA1 Message Date
Rink Springer
3a583d1e7f Oops, I accidently concatenated uslcom.[c4] multiple times before the
commit :-/ Quickly fix before things get broken...

Pointyhat to:		me
2008-03-05 14:18:29 +00:00
Rink Springer
2e7328e7cc Import uslcom(4) from OpenBSD - this is a driver for Silicon Laboratories
CP2101/CP2102 based USB serial adapters.

Reviewed by:		imp, emaste
Obtained from:		OpenBSD
MFC after:		2 weeks
2008-03-05 14:13:30 +00:00
Christian Brueffer
861b026781 The Sony i.LINK (CXD1947) is _not_ supported.
PR:		116680
Submitted by:	Jens Köhler <mail@chatty.de>
MFC after:	3 days
2008-03-03 08:55:50 +00:00
Alexander Motin
fffba935e4 Add support for the libalias redirect functionality.
Submitted by:   Vadim Goncharov <vadim_nuclight@mail.ru>
2008-03-01 17:14:02 +00:00
Christian Brueffer
ba0700b5b6 Xref uchcom(4). 2008-03-01 13:28:27 +00:00
Christian Brueffer
b32d5fae5f Manpage for the uchcom(4) driver, adapted from the one in NetBSD. 2008-03-01 13:05:03 +00:00
Christian Brueffer
9453fd717f Move the HARDWARE section below the DESCRIPTION section, like it is
everywhere else.

MFC after:	3 days
2008-03-01 11:35:30 +00:00
Remko Lodder
64da64c3f7 Add the Epson - CX5400 to the supported lists of epson scanners.
Noticed by:	simon
Forgotten by:	me
2008-02-27 10:57:51 +00:00
Bruce M Simpson
e75f77ece7 ip6(4) man page lacks documentation for TCLASS option.
PR:		docs/120945
Reviewed by:	remko
2008-02-22 21:02:36 +00:00
Andrew Thompson
764fa86761 geom_lvm(4) is now known as geom_linux_lvm(4). 2008-02-20 07:52:43 +00:00
Andrew Thompson
1669d8afc6 Rename geom_lvm(4) to geom_linux_lvm(4).
Requested by:	des, phk
2008-02-20 07:50:13 +00:00
Andrew Thompson
1332875338 Add a geom class to map Linux LVM logical volumes.
The logical disks will appear as /dev/lvm/<vol group>-<logical vol>, for
instance /dev/lvm/vg0-home. G_LINUX_LVM currently supports linear stripes with
segments on multiple physical disks. The metadata is read only, logical
volumes can not be allocated or resized.

Reviewed by:	Ivan Voras

Previously known as geom_lvm(4), rename requested by des, phk.
2008-02-20 07:45:36 +00:00
Christian Brueffer
c515fdbfa4 Document the hw.skc.jumbo_disable tunable. While here, correct some things
in the SYSCTLS section.

Submitted by:	yongari
2008-02-14 10:01:48 +00:00
Christian Brueffer
df77ed7558 The hptrr driver first appeared in 6.3, not 5.3.
PR:		120616
Submitted by:	Josh Paetzel <josh@tcbug.org>
MFC after:	3 days
2008-02-13 18:32:44 +00:00
Christian Brueffer
269c9210d1 - mention new firmware images used in multi-slice mode
- mention LRO support
- describe multi-slice related tunables.
- correct DIAGNOSTICS section to reflect that missing firmware
  is non-fatal.

Submitted by:	gallatin
2008-02-13 08:09:55 +00:00
Christian Brueffer
fa3796dcdf Some small fixes, also introduce an EXAMPLES section. 2008-02-11 09:01:14 +00:00
Andrew Thompson
2b8d4f5bd4 Hook geom_lvm(4) up to the build. 2008-02-11 03:10:40 +00:00
Andrew Thompson
77b65eef19 Add a geom class to map Linux LVM logical volumes.
The logical disks will appear as /dev/lvm/<vol group>-<logical vol>, for
instance /dev/lvm/vg0-home. GLVM currently supports linear stripes with
segments on multiple physical disks. The metadata is read only, logical
volumes can not be allocated or resized.

Reviewed by:	Ivan Voras
2008-02-11 03:05:11 +00:00
Mitsuru IWASAKI
5a3c4d694e Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for
NOP-message polling in ciss_periodic().
Note that setting the tunable to non-zero can be workaround only for
`ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o
the problem.

Reviewed by:	scottl
Reported by:	Attila Nagy
MFC after:	3 days
2008-02-10 06:21:52 +00:00
Scott Long
54c1b47d28 Add a note that the hptrr driver supersedes the rr232x driver. 2008-02-06 03:30:13 +00:00
Christian Brueffer
0aad0c5005 Remove an empty line that crept into the previous commit. 2008-02-03 16:42:22 +00:00
Christian Brueffer
6db6179768 MLINK hptrr(4) to rr232x(4).
Requested by:	scottl
2008-02-03 16:38:44 +00:00
Scott Long
fbbd744496 Update the hptiop man page for the new driver. 2008-02-03 16:16:38 +00:00
Scott Long
a00390415c Remove the rr232x manual page. 2008-02-03 07:31:49 +00:00
Tom Rhodes
c01d5f7d0f Some clarifications to make keyboard configuration under syscons.
PR:		89325
Submitted by:	Oliver Fromme <olli@secnetix.de>
Reviewed by:	emax
2008-01-29 18:28:50 +00:00
Tom Rhodes
c4b709a010 Properly Xref device.hints.5.
Noticed by:	ru
2008-01-29 00:13:20 +00:00
Christian Brueffer
5760e921e8 Remove references to the obsolete card(4) manpage. 2008-01-28 18:08:41 +00:00
Tom Rhodes
a4b8759227 Bring the DIAGNOSTICS section in ed.4 closer to reality by removing missing
diagnostic messages and adding a few found in the code.

PR:	51891
2008-01-27 15:37:49 +00:00
Christian Brueffer
7133bff46c OLDCARD is long gone, so finally remove the oldcard.4 manpage.
Confirmed by:	imp
2008-01-26 20:23:25 +00:00
Tom Rhodes
c6eaff9892 Catch up with revision 1.18 of dcons_os.c and add an example of how to use
dcons(4) as a valid gdb port.

PR:             118490
Submitted by:   Alexandre Kovalenko <alex.kovalenko@verizon.net>
2008-01-26 06:50:14 +00:00
Ruslan Ermilov
5ac818f6f3 - sched_4bsd is no longer a default system scheduler on some
architectures, so call it "traditional" instead.

- sched_ule is no longer buggy or experimental (according to
  rev. 1.7 of sched_ule(4)), so don't call it experimental
  (reported by a user on stable@).

Reviewed by:	rwatson
2008-01-24 13:48:20 +00:00
Dmitry Morozovsky
db8665e649 There is no PUC_FASTINTR option anymore.
MFC after:	2 weeks
2008-01-24 12:09:59 +00:00
Tom Rhodes
ce8bff707f Add a diagnostic note about "transmission error ... tx underrun, increasing
tx start threshold ..."  Looking around on the mailing lists, and even having
one of these cards I agree the messages should be documented.

Bump doc date.

PR:	88477
2008-01-24 00:39:38 +00:00
Tom Rhodes
7620300a17 Correct a typo.
Noticed by:	ru
2008-01-22 19:16:09 +00:00
Tom Rhodes
771553b905 Document net.inet.tcp.syncookies_only using a description taken from
tcp_syncache.c revision 1.99 of andre's commit log.

PR:	107611
2008-01-22 18:35:23 +00:00
Christian Brueffer
d52a94aaf8 Small fixes. 2008-01-22 07:40:21 +00:00
Robert Watson
c6a154633b Add a rather basic man page for the coda kernel module.
MFC after:	3 days
2008-01-21 23:59:22 +00:00
Pyun YongHyeon
a18cfb2251 Document two new sysctl variables, dev.sf.%d.int_mod and dev.sf.%d.stats.
Xref vlan(4).
Touchd Dd.

Reviewed by:	brueffer
2008-01-21 07:35:15 +00:00
Pyun YongHyeon
8454cceda4 sf(4) gained VLAN_MTU support.
Touch Dd.
2008-01-21 06:47:20 +00:00
Sam Leffler
0da18a2665 updates for additional chip support
Submitted by:	"J.R. Oldroyd" <jr@opal.com>
MFC after:	2 weeks
2008-01-21 04:13:00 +00:00
Christian Brueffer
7f3d351951 pcib is compiled in when "device pci" is specified.
Submitted by:	marius
Reviewed by:	imp
2008-01-18 17:00:44 +00:00
Doug Ambrisko
6dd0e63233 Note the driver support PERC and LSI1078 based controllers.
Prompted by:	Vlad GALU
2008-01-17 19:36:13 +00:00
Gabor Kovesdan
b0a4e26843 - This driver will first appear in FreeBSD 6.3, not 7.0
Submitted by:	thompsa
MFC after:	0 days
2008-01-08 15:36:06 +00:00
Christian Brueffer
ca8464df19 Fix typos and date format. 2008-01-07 16:47:30 +00:00
Gabor Kovesdan
2b57dc5ab4 - ipmi(4) appeared in FreeBSD 6.2, not in 5.3
Submitted by:	brix,
		Michael Fuckner <michael@fuckner.net>
MFC after:	0 days
2008-01-07 14:51:17 +00:00
Christian Brueffer
ba7306546f mdoc and language fixes for the previous commit, also bump .Dd. 2008-01-05 23:41:15 +00:00
Christian Brueffer
05568ca4e2 Use our standard section 4 SYNOPSIS, utilize .Tn and fix capitalization. 2008-01-05 23:27:59 +00:00
Christian Brueffer
c0c7deaa94 Clean up after previous commit (typo fixes, removed contractions,
utilized .Tn and capitalized PCI).
2008-01-05 23:21:32 +00:00
Gabor Kovesdan
59e2f69aec - This driver will first appear in 6.3, not 7.0
MFC after:	0 days
2008-01-04 12:57:34 +00:00
Warner Losh
d8e4b072e9 Dummy man page for pcib. We should write a real one and I hope this
gets the ball rolling.
2008-01-04 08:26:22 +00:00
Warner Losh
0ade47aed6 Modernize this man page a little by describing the pci driver of
today, rather than details relevant only to the 3.x pci driver.
2008-01-04 08:19:52 +00:00
Warner Losh
01fe72a32f Minor nits. Add xr to sn. 2008-01-01 22:29:22 +00:00
Warner Losh
190267c967 Forgot to mention RLT80x9 support that was added some time ago. 2008-01-01 21:41:39 +00:00
Warner Losh
732bdd08f9 Sync to the new PCI device IDs that I added to if_ed_pci.c. Bump date. 2008-01-01 21:37:09 +00:00
Alexander Motin
f1c24d6d4c Document new "AC-Name\Service-Name" connect syntax. 2007-12-29 19:59:58 +00:00
Robert Watson
f5ccc06760 Minor formatting tweaks; recommend "call doadump; reset" over "panic"
from a script as the DDB panic command is unreliable.

MFC after:	3 months
2007-12-26 12:18:21 +00:00
Robert Watson
0ff94fb659 Add textdump(4) man page to describe the textdump facility and provide
some stock formulas for use.

Update ddb(4) to reference the textdump(4) page, list the textdump
commands, and suggest using them with scripts and output capture.
Update HISTORY section.

Hook up textdump(4) to build.

MFC after:	3 months
2007-12-26 11:35:07 +00:00
Robert Watson
32e0b903c3 Add SCRIPTING section to describe new DDB scripting facilities.
Update copyright.
2007-12-26 09:51:37 +00:00
Robert Watson
a6905d79a4 Add description of 'debug.ddb.capture.data' sysctl to DBD output
capture section, missed in previous commit.

MFC after:	3 months
2007-12-26 09:45:34 +00:00
Robert Watson
21262c0993 Document DDB capture facility.
MFC after:	3 months
2007-12-25 23:25:04 +00:00
Remko Lodder
80169e4d40 Mention support for the 5722 driver in bge.4 as well. 2007-12-25 19:53:26 +00:00
Alexander Motin
9cce74045b Add usage example:
Limit outgoing data rate over fxp0 Ethernet interface to 20Mbit/s
and incoming packet rate to 5000pps.
2007-12-22 13:31:01 +00:00
Alexander Motin
259c0b2f2f Describe new NG_CAR_COUNT_PACKETS option. 2007-12-19 23:12:37 +00:00
Ruslan Ermilov
e61e13b2ab The default of 3 retransmits corresponds to a timeout value of
45 seconds, not 15.
2007-12-19 16:58:54 +00:00
Scott Long
b063a42270 Add the 'hptrr' driver for supporting the following Highpoint RocketRAID
cards:

     o   RocketRAID 172x series
     o   RocketRAID 174x series
     o   RocketRAID 2210
     o   RocketRAID 222x series
     o   RocketRAID 2240
     o   RocketRAID 230x series
     o   RocketRAID 231x series
     o   RocketRAID 232x series
     o   RocketRAID 2340
     o   RocketRAID 2522

Many thanks to Highpoint for their continued support of FreeBSD.

Submitted by: Highpoint
2007-12-15 00:56:17 +00:00
Ceri Davies
d31a59f89b Language nit. 2007-12-10 12:01:27 +00:00
Remko Lodder
d2391ac491 There is no list to stop, so dont use .El.
Noticed by:	brueffer
2007-12-08 23:42:01 +00:00
Remko Lodder
4c6d9a5a30 Add 1000baseTX support for the nve driver, which is known here and there.
Also mention that the driver sometimes returns '10baseTX' as output instead
of 100baseTX (which is the case at that moment).

PR:		docs/115284
Submitted by:	Julian Stacey Jhs <jhs at berklix dot org>
MFC After:	3 days
2007-12-08 21:58:18 +00:00
Joseph Koshy
a07d350c16 Document the PMC_F_CALLCHAIN flag and the kern.hwpmc.callchaindepth
tunable.

Sponsored by:	FreeBSD Foundation and Google Inc.
2007-12-07 08:29:46 +00:00
Ed Maste
718b6516c0 Add new controllers supported by rev 1.64 and 1.65 of aac_pci.c 2007-12-06 18:31:57 +00:00
Remko Lodder
28d34c0e95 Bring in support for: Marvell Yukon 8039
PR:		118401
Submitted by:	Skip Ford <skip at menantico dot com>
Approved by:	imp (mentor), yongari
MFC After:	3 days
2007-12-05 09:41:58 +00:00
Ed Maste
600a2aebf2 Bump .Dd for my last commit adding PCI IDs. 2007-11-29 18:53:11 +00:00
Ed Maste
686653a124 Document PCI IDs of controllers added in aac_pci.c v1.63 2007-11-29 17:56:55 +00:00
Bjoern A. Zeeb
45358a0069 Update man page to reflect latest work on enc(4):
- added sysctls to if_enc(4) to control whether the firewalls or
  bpf will see inner and outer headers or just inner headers
  for incoming and outgoing IPsec packets.

- if_enc work with IPv6 now as well.

Reviewed by:	brueffer
2007-11-28 22:35:48 +00:00
Remko Lodder
52b2974a6d Add information about the 845M card that I recently committed support
for.
2007-11-28 12:04:25 +00:00
Remko Lodder
117a072c67 Add information about the ICH6 and ICH7 being supported since recently. 2007-11-28 12:02:19 +00:00
Remko Lodder
ee6480fe8b Add the Planex FNW-3603TX card to the list. 2007-11-28 12:00:14 +00:00
Remko Lodder
fe154e087f The nfe driver will first appear in 7.0 and not in 6.x
PR:		i386/118264
Submitted by:	"Julian H. Stacey" <jhs at berklix dot org>
Nod from:	yongari
2007-11-27 06:54:13 +00:00
Joseph Koshy
a5c506d293 - Document an EAGAIN error return from a PMC_OP_CONFIGURELOG request.
- Document some EINVAL error returns from PMC_OP_CONFIGURELOG,
  PMC_OP_WRITELOG and PMC_OP_FLUSHLOG that were missed earlier.
- Correct a typo: s/PMC_OP_ALLOCATE/PMC_OP_PMCALLOCATE/.
- Describe how log file writing errors are returned by a PMC_OP_FLUSHLOG
  request.
2007-11-25 06:05:41 +00:00
Joseph Koshy
1a94fde847 - Improve clarity: use 'scope' to distinguish between process and system
PMCs and 'mode' to distinguish between counting and sampling.
- Document PMC row dispositions.
- Document the requirement for PRIV_PMC_MANAGE privilege when issuing
  PMC_OP_PMCADMIN requests.
2007-11-24 03:48:18 +00:00
Joseph Koshy
e805d32b8e - Correct a documentation bug: handles returned from a PMC_OP_PMCALLOCATE
request are 32 bit values, and are not necessarily small.
- Note that the PMC_F_KGMON flag is currently unimplemented.
- Tweak description of an EINVAL error return.
- Add an "AUTHORS" section.
2007-11-22 14:09:26 +00:00
Pyun YongHyeon
d1414bebe4 Add 88E8058 to the list of supported hardware. 2007-11-20 07:53:52 +00:00
Benjamin Close
b5ad081c7c Add wlan_amrr to the required devices/modules
Submitted By: glebius
2007-11-14 12:51:02 +00:00
Christian Brueffer
b8e2978d5c Xref wpi(4). 2007-11-13 16:42:22 +00:00
Christian Brueffer
9920732c31 Cleanup, mostly typo fixes. 2007-11-13 16:40:23 +00:00
Ruslan Ermilov
fad4456b9a Assorted tiny mdoc(7) fixes:
- Sort sections.
- Fix xrefs.
- Fix some misusages of some macros.
2007-11-13 11:31:53 +00:00
Ruslan Ermilov
d6f8926e92 Sort. 2007-11-13 11:23:52 +00:00
Christian Brueffer
d518b2ba09 Some cleanup. 2007-11-12 19:59:22 +00:00
Rui Paulo
75a1ecdafb Manual page for the asmc driver.
Approved by:	njl (mentor)
2007-11-12 17:52:00 +00:00
Benjamin Close
037347714a Link wpi(4) into the build.
This includes:
    o mtree (for legal/intel_wpi)
    o manpage for i386/amd64 archs
    o module for i386/amd64 archs
    o NOTES for i386/amd64 archs

Approved by: mlaier (comentor)
2007-11-08 22:09:37 +00:00
Benjamin Close
dc4815c099 Provide a man page for wpi:
Intel 3945abg wireless driver

Approved by: mlaier (comentor)
2007-11-08 21:54:42 +00:00
Alexander Motin
d886f546ff Fix one more typo. 2007-10-31 18:33:23 +00:00
Alexander Motin
06450dbe93 Fix some mistakes.
Update my email.
2007-10-31 18:22:51 +00:00
Giorgos Keramidas
2fc90d3d6b Insert zero-width break points to fix warnigns in nroff output,
and reduce whitespace stretching in groff PS output.

groff-foo by:	ru
2007-10-31 16:07:58 +00:00
Giorgos Keramidas
cf14303baa mdoc warning fixes: Use the correct syntax for .Bl -offset indent
MFC after:	3 days
2007-10-30 16:02:49 +00:00
Giorgos Keramidas
ca65fde598 mdoc warning fix: Remove a spurious .El request.
MFC after:	3 days
2007-10-30 15:59:44 +00:00
Christian Brueffer
029848c72c Clean up after the previous commit. 2007-10-29 14:55:46 +00:00
Robert Watson
3be4cb0b4a Merge Neterion if_nxge driver version 2.0.9.11230 with the following
changes:

  01 -  Enhanced LRO:
  LRO feature is extended to support multi-buffer mode. Previously,
  Ethernet frames received in contiguous buffers were offloaded.
  Now, frames received in multiple non-contiguous buffers can be
  offloaded, as well. The driver now supports LRO for jumbo frames.

  02 - Locks Optimization:
  The driver code was re-organized to limit the use of locks.
  Moreover, lock contention was reduced by replacing wait locks
  with try locks.

  03 - Code Optimization:
  The driver code was re-factored  to eliminate some memcpy
  operations.  Fast path loops were optimized.

  04 - Tag Creations:
  Physical Buffer Tags are now optimized based upon frame size.
  For better performance, Physical Memory Maps are now re-used.

  05 - Configuration:
  Features such as TSO, LRO, and Interrupt Mode can be configured
  either at load or at run time. Rx buffer mode (mode 1 or mode 2)
  can be configured at load time through kenv.

  06 - Driver Statistics:
  Run time statistics are enhanced to provide better visibility
  into the driver performance.

  07 - Bug Fixes:
  The driver contains fixes for the problems discovered and
  reported since last submission.

  08 - MSI support:
  Added Message Signaled Interrupt feature which currently uses 1
  message.

  09  Removed feature:
  Rx 3 buffer mode feature has been removed. Driver now supports 1,
  2 and 5 buffer modes of which 2 and 5 buffer modes can be used
  for header separation.

  10  Compiler warning:
  Fixed compiler warning when compiled for 32 bit system.

  11 Copyright notice:
  Source files are updated with the proper copyright notice.

MFC after:	3 days
Submitted by:	Alicia Pena <Alicia dot Pena at neterion dot com>,
		Muhammad Shafiq <Muhammad dot Shafiq at neterion dot com>
2007-10-29 14:19:32 +00:00
Alexander Leidinger
9f05d312b3 Backout sensors framework.
Requested by:	phk
Discussed on:	cvs-all
2007-10-15 20:00:24 +00:00
Ruslan Ermilov
0189c6c54a Markup nit. 2007-10-15 08:29:53 +00:00
Ruslan Ermilov
d938670233 Sort. 2007-10-15 08:17:12 +00:00
Ruslan Ermilov
82fea2a2c7 Fix markup. 2007-10-15 08:07:15 +00:00
Alexander Leidinger
5c6b7871e9 Convert coretemp(4) to the hardware sensors framework and
make sure to never call sched_bind() for uninitialised CPUs.

Submitted by:	Constantine A. Murenin <cnst@FreeBSD.org>
Sponsored by:	Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by:	syrinx
Tested by:	many
OKed by:	kensmith
2007-10-14 10:59:44 +00:00
Alexander Leidinger
989500bf1a Import it(4) and lm(4), supporting most popular Super I/O Hardware Monitors.
Submitted by:	Constantine A. Murenin <cnst@FreeBSD.org>
Sponsored by:	Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by:	syrinx
Tested by:	many
OKed by:	kensmith
Obtained from:	OpenBSD (parts)
2007-10-14 10:55:50 +00:00
Joseph Koshy
1e999888c2 Describe an error return that was missed out earlier. 2007-10-13 06:03:47 +00:00
Luigi Rizzo
5ed284e3c5 manpage update for the recent commit to uscanner.c
I also took the chance to make the list of supported devices a
bit more compact, as it was really long to read.

Even though re@ and Warner only saw the diffs for the code, i expect
their approval also covered the manpage update.

Approved by: re, imp (implicitly i hope)
MFC after: 3 days
2007-10-05 15:17:14 +00:00
Christian Brueffer
da31a86a8c AMD CS5536 and VIA 8237S support.
Approved by:	re (blanket)
2007-10-05 07:06:51 +00:00
Marius Strobl
55aaf894e8 Make the PCI code aware of PCI domains (aka PCI segments) so we can
support machines having multiple independently numbered PCI domains
and don't support reenumeration without ambiguity amongst the
devices as seen by the OS and represented by PCI location strings.
This includes introducing a function pci_find_dbsf(9) which works
like pci_find_bsf(9) but additionally takes a domain number argument
and limiting pci_find_bsf(9) to only search devices in domain 0 (the
only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are
changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order
to no longer report false positives when searching for siblings and
dupe devices in the same domain respectively.
Along with this change the sole host-PCI bridge driver converted to
actually make use of PCI domain support is uninorth(4), the others
continue to use domain 0 only for now and need to be converted as
appropriate later on.
Note that this means that the format of the location strings as used
by pciconf(8) has been changed and that consumers of <sys/pciio.h>
potentially need to be recompiled.

Suggested by:	jhb
Reviewed by:	grehan, jhb, marcel
Approved by:	re (kensmith), jhb (PCI maintainer hat)
2007-09-30 11:05:18 +00:00
Christian Brueffer
fed3ad6334 Fix typo.
Approved by:	re (blanket)
2007-09-26 21:31:47 +00:00
Marius Strobl
1ed3fed743 o Revert the part of if_gem.c rev. 1.35 which added a call to gem_stop()
to gem_attach() as the former access softc members not yet initialized
  at that time and gem_reset() actually is enough to stop the chip. [1]
o Revise the use of gem_bitwait(); add bus_barrier() calls before calling
  gem_bitwait() to ensure the respective bit has been written before we
  starting polling on it and poll for the right bits to change, f.e. even
  though we only reset RX we have to actually wait for both GEM_RESET_RX
  and GEM_RESET_TX to clear. Add some additional gem_bitwait() calls in
  places we've been missing them according to the GEM documentation.
  Along with this some excessive DELAYs, which probably only were added
  because of bugs in gem_bitwait() and its use in the first place, as
  well as as have of an gem_bitwait() reimplementation in gem_reset_tx()
  were removed.
o Add gem_reset_rxdma() and use it to deal with GEM_MAC_RX_OVERFLOW errors
  more gracefully as unlike gem_init_locked() it resets the RX DMA engine
  only, causing no link loss and the FIFOs not to be cleared. Also use it
  deal with GEM_INTR_RX_TAG_ERR errors, with previously were unhandled.
  This was based on information obtained from the Linux GEM and OpenSolaris
  ERI drivers.
o Turn on workarounds for silicon bugs in the Apple GMAC variants.
  This was based on information obtained from the Darwin GMAC and Linux GEM
  drivers.
o Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts.
  This greatly improves especially RX performance.
o Optimize the RX path, this consists of:
  - kicking the receiver as soon as we've a spare descriptor in gem_rint()
    again instead of just once after all the ready ones have been handled;
  - kicking the receiver the right way, i.e. as outlined in the GEM
    documentation in batches of 4 and by pointing it to the descriptor
    after the last valid one;
  - calling gem_rint() before gem_tint() in gem_intr() as gem_tint() may
    take quite a while;
  - doubling the size of the RX ring to 256 descriptors.
  Overall the RX performance of a GEM in a 1GHz Sun Fire V210 was improved
  from ~100Mbit/s to ~850Mbit/s.
o In gem_add_rxbuf() don't assign the newly allocated mbuf to rxs_mbuf
  before calling bus_dmamap_load_mbuf_sg(), if bus_dmamap_load_mbuf_sg()
  fails we'll free the newly allocated mbuf, unable to recycle the
  previous one but a NULL pointer dereference instead.
o In gem_init_locked() honor the return value of gem_meminit().
o Simplify gem_ringsize() and dont' return garbage in the default case.
  Based on OpenBSD.
o Don't turn on MAC control, MIF and PCS interrupts unless GEM_DEBUG is
  defined as we don't need/use these interrupts for operation.
o In gem_start_locked() sync the DMA maps of the descriptor rings before
  every kick of the transmitter and not just once after enqueuing all
  packets as the NIC might instantly start transmitting after we kicked
  it the first time.
o Keep state of the link state and use it to enable or disable the MAC
  in gem_mii_statchg() accordingly as well as to return early from
  gem_start_locked() in case the link is down. [3]
o Initialize the maximum frame size to a sane value.
o In gem_mii_statchg() enable carrier extension if appropriate.
o Increment if_ierrors in case of an GEM_MAC_RX_OVERFLOW error and in
  gem_eint(). [3]
o Handle IFF_ALLMULTI correctly; don't set it if we've turned promiscuous
  group mode on and don't clear the flag if we've disabled promiscuous
  group mode (these were mostly NOPs though). [2]
o Let gem_eint() also report GEM_INTR_PERR errors.
o Move setting sc_variant from gem_pci_probe() to gem_pci_attach() as
  device probe methods are not supposed to touch the softc.
o Collapse sc_inited and sc_pci into bits for sc_flags.
o Add CTASSERTs ensuring that GEM_NRXDESC and GEM_NTXDESC are set to
  legal values.
o Correctly set up for 802.3x flow control, though #ifdef out the code
  that actually enables it as this needs more testing and mainly a proper
  framework to support it.
o Correct and add some conversions from hard-coded functions names to
  __func__ which were borked or forgotten in if_gem.c rev. 1.42.
o Use PCIR_BAR instead of a homegrown macro.
o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN].
o In gem_pci_attach() in case attaching fails release the resources in
  the opposite order they were allocated.
o Make gem_reset() static to if_gem.c as it's not needed outside that
  module.
o Remove the GEM_GIGABIT flag and the associated code; GEM_GIGABIT was
  never set and the associated code was in the wrong place.
o Remove sc_mif_config; it was only used to cache the contents of the
  respective register within gem_attach().
o Remove the #ifdef'ed out NetBSD/OpenBSD code for establishing a suspend
  hook as it will never be used on FreeBSD.
o Also probe Apple Intrepid 2 GMAC and Apple Shasta GMAC, add support for
  Apple K2 GMAC. Based on OpenBSD.
o Add support for Sun GBE/P cards, or in other words actually add support
  for cards based on GEM to gem(4). This mainly consists of adding support
  for the TBI of these chips. Along with this the PHY selection code was
  rewritten to hardcode the PHY number for certain configurations as for
  example the PHY of the on-board ERI of Blade 1000 shows up twice causing
  no link as the second incarnation is isolated.
  These changes were ported from OpenBSD with some additional improvements
  and modulo some bugs.
o Add code to if_gem_pci.c allowing to read the MAC-address from the VPD on
  systems without Open Firmware.
  This is an improved version of my variant of the respective code in
  if_hme_pci.c
o Now that gem(4) is MI enable it for all archs.

Pointed out by:	yongari [1]
Suggested by:	rwatson [2], yongari [3]
Tested on:	i386 (GEM), powerpc (GMACs by marcel and yongari),
		sparc64 (ERI and GEM)
Reviewed by:	yongari
Approved by:	re (kensmith)
2007-09-26 21:14:18 +00:00
Christian Brueffer
ab0274e4b3 - Use the correct expanded name for SCTP (1)
- Remove empty section

PR:		116496 (1)
Submitted by:	koitsu
Approved by:	re (blanket)
2007-09-25 16:03:10 +00:00
Andrew Thompson
32d1707a37 Bump the document date.
Forgotten by:	thompsa
Approved by:	re (bmah)
2007-09-16 21:14:47 +00:00
Andrew Thompson
31e4cb54e9 Allow additional packet filtering on the physical interface for locally
destined packets, disabled by default.

PR:		kern/116051
Submitted by:	Eygene Ryabinkin
Approved by:	re (bmah)
MFC after:	2 weeks
2007-09-16 21:09:15 +00:00
Ariff Abdullah
b28624fde6 Update snd_emu10kx driver with recent perforce changes (and few
other changes too).

(without any real order)

1. Use device_get_nameunit for mutex naming
2. Add timer for low-latency playback
3. Move most mixer controls from sysctls to mixer(8) controls.
   This is a largest part of this patch.
4. Add analog/digital switch (as a temporary sysctl)
5. Get back support for low-bitrate playback (with help of (2))
6. Change locking for exclusive I/O. Writing to non-PTR register
   is almost safe and does not need to be ordered with PTR operations.
7. Disable MIDI until we get it to detach properly and fix memory
   managment problems.
8. Enable multichannel playback by default. It is as stable as
   single-channel mode. Multichannel recording is still an
   experimental feature.
9. Multichannel options can be changed by loader tunables.
10. Add a way to disable card from a loader tunable.
11. Add new PCI IDs.
12. Debugger settings are loader tunables now.
14. Remove some unused variables.
15. Mark pcm sub-devices MPSAFE.
16. Partially revert (bus_setup_intr -> snd_setup_intr) since it need
    to be done independently

Submitted by:	Yuriy Tsibizov (driver maintainer)
Approved by:	re (bmah)
2007-09-12 07:43:43 +00:00
Christian Brueffer
376e68c55f Update for ICH9 support.
Submitted by:	simon
Approved by:	re (blanket)
2007-09-10 20:25:55 +00:00
Christian Brueffer
2ed6bd6c9e zyd(4) needs this as well. While here, add a missing article.
Approved by:	re (blanket)
2007-09-10 18:17:50 +00:00
Christian Brueffer
77143e74e0 Prepare for automatic hardware notes generation:
- mention the supported chipsets in the HARDWARE section
- remove unnecessary Li arguments

Approved by:	re (blanket)
2007-09-10 17:54:14 +00:00
Christian Brueffer
a30fc8542f Also mention zyd(4) in the DESCRIPTION section.
Approved by:	re (blanket)
2007-09-10 17:20:21 +00:00
Christian Brueffer
b994da335a Prepare for automatic hardware notes generation:
- mention the driver name and supported chipsets in the HARDWARE section
- remove unnecessary Li arguments

Approved by:	re (blanket)
2007-09-07 15:28:39 +00:00
Christian Brueffer
6be87061f8 Xref zyd(4).
Approved by:	re (blanket)
2007-09-06 20:15:04 +00:00
Christian Brueffer
8b9003d17a Replace OpenBSD SYNOPSIS with our standard SYNPOPSIS.
Approved by:	re (blanket)
2007-09-06 20:13:27 +00:00
Warner Losh
b4b882f7d9 Connect zyd.4 to the build.
Approved by: re@
2007-09-02 07:09:25 +00:00
Warner Losh
677494daf3 Remove extra copy of the man page that has been noted by many people.
Approved by: re@
2007-09-02 07:04:50 +00:00
Warner Losh
0c1154ea8f Bring in the man page for zyd, ported from NetBSD, complete with bogus
Bill Paul copyright.  Not sure what the right copyright is, but this
file has been through 22 reversions on OpenBSD and 1 on NetBSD.  This
isn't (yet) connected to the build, just in case I've done something
wrong (test builds worked, but better safe than sorry).

Submitted by: Weongyo Jeong
Approved by: re@
2007-08-29 21:08:14 +00:00
Ed Maste
afa3f6df27 Add PCI IDs for two cards:
- Adaptec RAID 3405
- Adaptec RAID 3805

Approved by:	re (bmah)
Submitted by:	John Marra  jmarra at nmu dot edu
MFC After:	1 week
2007-08-23 20:12:40 +00:00
Dag-Erling Smørgrav
c0103f02a0 Add man pages for coretemp(4) and ichwd(4).
Approved by:	re (bmah)
2007-08-23 20:05:09 +00:00
Gabor Kovesdan
d307eef80c - Fix a copy-paste bug in the list of supported chips
PR:		docs/115151
Submitted by:	O. Hartmann <ohartman at zedat dot fu-berlin dot de>
Approved by:	re (bmah),
		keramida (mentor)
2007-08-22 18:02:01 +00:00
MIHIRA Sanpei Yoshiro
ea486abe73 Add a HARDWARE section which lists supported devices.
Kyocera AH-K3001V Mobile Phone(WILLCOM)
	Kyocera WX320K Mobile Phone(WILLCOM)

Approved by:    re (bmah)
2007-08-21 13:20:13 +00:00
John Baldwin
8ec5c98ba4 Teach the mfi(4) driver to handle requests from userland management
applications to add and remove volumes.

MFC after:	1 week
Approved by:	re (bmah)
Reviewed by:	ambrisko, scottl
2007-08-13 19:29:17 +00:00
Daniel Gerzo
0e5a8a6d3d Sync with the source code: NGM_FEC_MODE_(MAC|INET) should be
NGM_FEC_SET_MODE_(MAC|INET).

Approved by: re@ (bmah)
2007-08-12 16:02:30 +00:00
Nate Lawson
3b3f28135f Add "show sysregs" command to ddb. On i386, this gives gdt, idt, ldt,
cr0-4, etc.  Support should be added for other platforms that have a
different set of registers for system use.

Loosely based on: OpenBSD
Approved by:	re
2007-08-09 20:14:35 +00:00
Bjoern A. Zeeb
cc977adc71 Rename option IPSEC_FILTERGIF to IPSEC_FILTERTUNNEL.
Also rename the related functions in a similar way.
There are no functional changes.

For a packet coming in with IPsec tunnel mode, the default is
to only call into the firewall with the "outer" IP header and
payload.

With this option turned on, in addition to the "outer" parts,
the "inner" IP header and payload are passed to the
firewall too when going through ip_input() the second time.

The option was never only related to a gif(4) tunnel within
an IPsec tunnel and thus the name was very misleading.

Discussed at:			BSDCan 2007
Best new name suggested by:	rwatson
Reviewed by:			rwatson
Approved by:			re (bmah)
2007-08-05 16:16:15 +00:00
Maxim Konovalov
d4cb78eb67 o Iomage -> Iomega.
PR:		docs/115208
Submitted by:	John Nielsen
Approved by:	re (kensmith)
MFC after:	1 week
2007-08-05 07:39:30 +00:00
Bjoern A. Zeeb
4ed3c2ad17 Remove fast_ipsec.4. Was merged in parts to ipsec.4.
Approved by:    re (bmah)
2007-08-02 08:05:56 +00:00
Bjoern A. Zeeb
e0c9263157 Remove the last entries to fast_ipsec.
Merge in parts of the old fast_ipsec.4 man page to ipsec.4 and
start updating ipsec.4 man page.

Reviewed by:	brueffer, sam (slightly earlier versions), bmah
Approved by:	re (bmah)
2007-08-02 08:04:48 +00:00
Alexander Motin
d6fe462ac1 Add 64bit statistic counters to the ng_ppp node.
64bit counters are needed to simplify traffic accounting and
reduce system load at the big PPP concentrators.

Approved by:	re (rwatson), glebius (mentor)
2007-08-01 20:49:35 +00:00
Andrew Thompson
de75afe64f - Propagate the largest set of interface capabilities supported by all lagg
ports to the lagg interface.
- Use the MTU from the first interface as the lagg MTU, all extra interfaces
  must be the same.

This fixes using a lagg interface for a vlan or enabling jumbo frames, etc.

Approved by:	re (kensmith)
MFC After:	3 days
2007-07-30 20:17:22 +00:00
Christian Brueffer
064d25a08a First round of cleanups.
Approved by:	re (blanket)
2007-07-24 18:08:16 +00:00
Scott Long
c5933b2086 Introduce Danny Braniss' iSCSI initiator, version 2.0.99. Please read the
included man pages on how to use it.  This code is still somewhat experimental
but has been successfully tested on a number of targets.  Many thanks to
Danny for contributing this.

Approved by: re
2007-07-24 15:35:02 +00:00
Warner Losh
c37e6fb302 Add some additional cross references.
Approved by: re@ (blanket)
2007-07-24 14:51:21 +00:00
Warner Losh
85b660a751 Add ChanTou ST268 USB NIC
PR: 114860
Approved by: re@ (blanket)
2007-07-24 14:49:25 +00:00
Doug Ambrisko
72d7331539 Add support to the ipmi, isa attachment to attempt to read ipmi
config info. from device.hints.  Some machines have ipmi controllers
that do not have attachment info in either PCI, SMBIOS or ACPI.
This idea was hacked together by me and then done properly by
jhb.

Submitted by:	jhb
Reviewed by:	jhb (man page)
Approved by:	re (Ken Smith)
MFC after:	1 week
2007-07-16 17:03:48 +00:00
Joel Dahl
bbff3c39b6 Document support for Intel 82801I and Realtek ALC268.
Approved by:	re
2007-07-14 12:35:29 +00:00
Warner Losh
04d4ea361c Add another SMC device.
Submitted by: ken wongk at abo dot dnsalias stop org
PR: 66343
Approved by: re@ (hrs)
2007-07-11 04:17:02 +00:00
Andrew Thompson
069441f718 Remove wicontrol(8) from the base system. Using wicontrol to configure an
interface has been deprecated since 5.1, wi(4) wireless interfaces are managed
via the net80211 stack and ifconfig.

Approved by:	re (rwatson)
2007-07-01 10:25:07 +00:00
Christian Brueffer
62acbaf00a The driver will also first appear in 6.3. While here, fix some
grammar issues and capitalize Jumbo Frames.

Approved by:	re (blanket)
MFC after:	3 days
2007-07-01 09:42:47 +00:00
Warner Losh
27f1d1718a Note the change in /dev name
Submitted By: Kay Abendroth
PR: usb/106070
Approved by: re (blanket)
2007-06-30 14:36:37 +00:00
Christian Brueffer
6f21e4a0dc Capitalize a few terms.
Approved by:	re (blanket)
2007-06-30 13:36:33 +00:00
Christian Brueffer
57e1df774f General cleanup.
Approved by:	re (blanket)
2007-06-30 07:28:39 +00:00
Warner Losh
0cb6a30c64 uhid.4: correct structure field names to match dev/usb/usb.h
Submitted by: Dmitry Marakasov
PR: 101757
Approved by: re (blanket)
2007-06-30 05:07:51 +00:00