diff options
author | ru <ru@FreeBSD.org> | 2004-07-08 10:31:12 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-07-08 10:31:12 +0000 |
commit | 54adde43e3db43893e9824235a81823cf679c051 (patch) | |
tree | 9633dc5aa9a7c09ac83bb96f74d275b65d77e839 /share/man/man4/hatm.4 | |
parent | 64c32415ce9ffa8cd1c9daad2badb08c90241e48 (diff) | |
download | FreeBSD-src-54adde43e3db43893e9824235a81823cf679c051.zip FreeBSD-src-54adde43e3db43893e9824235a81823cf679c051.tar.gz |
Markup fixes.
Diffstat (limited to 'share/man/man4/hatm.4')
-rw-r--r-- | share/man/man4/hatm.4 | 120 |
1 files changed, 68 insertions, 52 deletions
diff --git a/share/man/man4/hatm.4 b/share/man/man4/hatm.4 index 4264dfd..df85456 100644 --- a/share/man/man4/hatm.4 +++ b/share/man/man4/hatm.4 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" Author: Hartmut Brandt <harti@freebsd.org> +.\" Author: Hartmut Brandt <harti@FreeBSD.org> .\" .\" $FreeBSD$ .\" @@ -35,11 +35,12 @@ .Os .Sh NAME .Nm hatm -.Nd Device driver for Fore/Marconi HE155 and HE622 ATM interfaces +.Nd "device driver for Fore/Marconi HE155 and HE622 ATM interfaces" .Sh SYNOPSIS .Cd device hatm .Cd device utopia .Cd device atm +.Pp .Cd options NATM .Sh DESCRIPTION The @@ -63,58 +64,71 @@ For configuring the card for IP see The following sysctls are recognized by the driver additionally to those handled by .Xr utopia 4 : -.Bl -tag -width XXX -.It Cm hw.atm.hatm.natm_traffic +.Bl -tag -width indent +.It Va hw.atm.hatm.natm_traffic This is the traffic type to be used for NATM pvc connections. The type of this variable is integer and it must have one of the values 0 (UBR) or 1 (CBR). -.It Cm hw.atm.hatm.natm_pcr +.It Va hw.atm.hatm.natm_pcr This is the peak cell rate to be used for NATM CBR connections. -.It Cm hw.atm.hatmN.stats +.It Va hw.atm.hatm Ns Ar N Ns Va .stats Contains an array of .Vt uint32_t with device specific statistics. -.It Cm hw.atm.hatmN.istats +.It Va hw.atm.hatm Ns Ar N Ns Va .istats Contains an array of .Vt uint32_t with internal driver statistics. -.It Cm hw.atm.hatmN.debug -.Em (only if debugging enabled) +.It Va hw.atm.hatm Ns Ar N Ns Va .debug +.Bf Em +(Only if debugging enabled.) +.Ef These are the debugging flags. See -.Fn if_hatmvar.h +.Pa src/sys/dev/hatm/if_hatmvar.h for the possible flags. -.It Cm hw.atm.hatmN.tsr -.Em (only if debugging enabled) +.It Va hw.atm.hatm Ns Ar N Ns Va .tsr +.Bf Em +(Only if debugging enabled.) +.Ef This is an array containing all transmission status registers. For each of the 4096 possible VCCs there are 15 32-bit registers. -.It Cm hw.atm.hatmN.tpd -.Em (only if debugging enabled) +.It Va hw.atm.hatm Ns Ar N Ns Va .tpd +.Bf Em +(Only if debugging enabled.) +.Ef This is an array containing all on card current transmission packet descriptors. For each of the 4096 possible VCCs there are 16 32-bit registers. -.It Cm hw.atm.hatmN.mbox -.Em (only if debugging enabled) +.It Va hw.atm.hatm Ns Ar N Ns Va .mbox +.Bf Em +(Only if debugging enabled.) +.Ef This is an array containing the mbox registers. -.It Cm hw.atm.hatmN.cm -.Em (only if debugging enabled) +.It Va hw.atm.hatm Ns Ar N Ns Va .cm +.Bf Em +(Only if debugging enabled.) +.Ef This is an array containing all connection memory registers. The first 32-bit integer of this array is the ABR base address. -.It Cm hw.atm.hatmN.heregs -.Em (only if debugging enabled) +.It Va hw.atm.hatm Ns Ar N Ns Va .heregs +.Bf Em +(Only if debugging enabled.) +.Ef This is an array containing all card registers including SUNI and the FLASH ROM. -.It Cm hw.atm.hatmN.lbmem -.Em (only if debugging enabled) +.It Va hw.atm.hatm Ns Ar N Ns Va .lbmem +.Bf Em +(Only if debugging enabled.) +.Ef Returns the contents of the local memory. .El .Pp The driver supports the media options -.Ar sdh , -.Ar noscramb +.Cm sdh , noscramb and -.Ar unassigned +.Cm unassigned (see -.Xr utopia 4 ). +.Xr utopia 4 ) . .Sh DIAGNOSTICS .Bd -literal hatm0: <FORE HE> mem 0xd2600000-0xd26fffff irq 9 at device 15.0 on pci2 @@ -123,13 +137,13 @@ hatm0: ForeRunnerHE 622, Rev. D, S/N 2949834, MAC=00:20:48:2d:02:ca .Sh ENVIRONMENT When attaching to a device the driver checks the kernel environment (see -.Xr kenv 4 ) +.Xr kenv 1 ) to see if the default queues sizes should be overwritten or not. The following variables are checked and interpreted as unsigned integer values (in either radix): -.Bl -tag -width XXX -.It Cm hw.hatmN.rbps0_size +.Bl -tag -width indent +.It Va hw.hatm Ns Ar N Ns Va .rbps0_size Size of the small receive buffer pool 0. This pool is used for all except raw AAL connections. @@ -137,12 +151,12 @@ The pool size must be a power of two between 4 and 8192 inclusive. When attaching the driver allocates this number of mbufs. -.It Cm hw.hatmN.rbps0_thresh +.It Va hw.hatm Ns Ar N Ns Va .rbps0_thresh Interrupt threshold for small receive buffer pool 0. When the number of free buffers in the pool falls below this threshold it generates an interrupt so that the driver can refill the pool. -.It Cm hw.hatmN.rbpl0_thresh +.It Va hw.hatm Ns Ar N Ns Va .rbpl0_thresh Size of the large receive buffer pool 0. This pool is used for all except raw AAL connections. @@ -150,32 +164,32 @@ The pool size must be a power of two between 4 and 8192 inclusive. When attaching the driver allocates this number of mbufs with clusters. -.It Cm hw.hatmN.rbpl0_thresh +.It Va hw.hatm Ns Ar N Ns Va .rbpl0_thresh Interrupt threshold for large receive buffer pool 0. When the number of free buffers in the pool falls below this threshold it generates an interrupt so that the driver can refill the pool. -.It Cm hw.hatmN.rbrq0_size +.It Va hw.hatm Ns Ar N Ns Va .rbrq0_size Size of receive buffer return queue 0. This queue is used to return buffers filled with received frames to the driver. The size must be a power of 2 between 1 and 16384 inclusive. -.It Cm hw.hatmN.rbrq0_thresh +.It Va hw.hatm Ns Ar N Ns Va .rbrq0_thresh Interrupt threshold for receive buffer return queue 0. This threshold should only be triggered in exceptional cases. -.It Cm hw.hatmN.rbrq0_tout +.It Va hw.hatm Ns Ar N Ns Va .rbrq0_tout Interrupt timeout for receive buffer return queue 0. An interrupt is generated after this time if the queue is not empty. The number is in internal card ticks. -.It Cm hw.hatmN.rbrq0_pcnt +.It Va hw.hatm Ns Ar N Ns Va .rbrq0_pcnt Packet count threshold for receive buffer return queue 0. An interrupt is generated if this number of packets is in the queue. -.It Cm hw.hatmN.rbps1_size +.It Va hw.hatm Ns Ar N Ns Va .rbps1_size Size of the small receive buffer pool 1. This pool is used for all raw AAL connections. @@ -183,63 +197,63 @@ The pool size must be a power of two between 4 and 8192 inclusive. When attaching the driver allocates this number of mbufs. -.It Cm hw.hatmN.rbps1_thresh +.It Va hw.hatm Ns Ar N Ns Va .rbps1_thresh Interrupt threshold for small receive buffer pool 1. When the number of free buffers in the pool falls below this threshold it generates an interrupt so that the driver can refill the pool. -.It Cm hw.hatmN.rbrq1_size +.It Va hw.hatm Ns Ar N Ns Va .rbrq1_size Size of receive buffer return queue 1. This queue is used to return buffers filled with received cells to the driver. The size must be a power of 2 between 1 and 16384 inclusive. -.It Cm hw.hatmN.rbrq1_thresh +.It Va hw.hatm Ns Ar N Ns Va .rbrq1_thresh Interrupt threshold for receive buffer return queue 1. This threshold should only be triggered in exceptional cases. -.It Cm hw.hatmN.rbrq1_tout +.It Va hw.hatm Ns Ar N Ns Va .rbrq1_tout Interrupt timeout for receive buffer return queue 1. An interrupt is generated after this time if the queue is not empty. The number is in internal card ticks. -.It Cm hw.hatmN.rbrq1_pcnt +.It Va hw.hatm Ns Ar N Ns Va .rbrq1_pcnt Packet count threshold for receive buffer return queue 0. An interrupt is generated if this number of cells is in the queue. -.It Cm hw.hatmN.irq0_size +.It Va hw.hatm Ns Ar N Ns Va .irq0_size Size of interrupt queue 0. This must be a number between 1 and 1023 inclusive. -.It Cm hw.hatmN.irq0_thresh +.It Va hw.hatm Ns Ar N Ns Va .irq0_thresh Interrupt retrigger threshold of interrupt queue 0. A new interrupt is trigger if the queue fill state reaches this threshold and the interrupt was no served. -.It Cm hw.hatmN.tbrq0_size +.It Va hw.hatm Ns Ar N Ns Va .tbrq0_size Transmit buffer return queue 0 size. This queue is used to feed back empty buffers of transmitted frames back to the driver. It must be a power of 2 between 1 and 4096 inclusive. -.It Cm hw.hatmN.tbrq0_thresh +.It Va hw.hatm Ns Ar N Ns Va .tbrq0_thresh Transmit buffer return queue 0 threshold. An interrupt is generated if the queue fill state reaches this point. -.It Cm hw.hatmN.tpdrq_size +.It Va hw.hatm Ns Ar N Ns Va .tpdrq_size Transmit descriptor ready queue size. This queue is used by the driver to feed transmit descriptors into the card. The size must be a power of 2 between 1 and 16384 inclusive. -.It Cm hw.hatmN.tpdmax +.It Va hw.hatm Ns Ar N Ns Va .tpdmax Maximum number of active TPDs per connection. This controls the maximum number of outstanding packet chunks per connection and thus the maximum delay packets can have because of queueing on the adapter. If set to 0, a connection can eat up all available TPDs. -.It Cm hw.hatmN.mbuf_max_pages +.It Va hw.hatm Ns Ar N Ns Va .mbuf_max_pages Maximum number of memory pages allocated to small external mbufs. This must not be zero and not larger than 65536. .El @@ -250,12 +264,14 @@ The HE155 runs only in 33MHz slots (either 32 or 64-bit). HE622 cards work just fine in 64-bit slots. .Pp The driver may not work with bounce buffer, because of -.Fn bus_dma_sync +.Xr bus_dmamap_sync 9 missing the .Fa offset and .Fa len -arguments the NetBSD function has. +arguments the +.Nx +function has. .Sh SEE ALSO .Xr natm 4 , .Xr natmip 4 , @@ -263,4 +279,4 @@ arguments the NetBSD function has. .Xr ifconfig 8 , .Xr route 8 .Sh AUTHORS -.An Harti Brandt Aq harti@freebsd.org . +.An Harti Brandt Aq harti@FreeBSD.org |