diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index bb6a756325bf..219c9fffcf4b 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.166 2000/09/28 06:59:58 thorpej Exp $ +# $NetBSD: Makefile,v 1.167 2000/10/19 14:55:50 ad Exp $ # @(#)Makefile 8.1 (Berkeley) 6/18/93 MAN= adv.4 adw.4 ahb.4 ahc.4 aria.4 atalk.4 audio.4 auvia.4 \ - awi.4 bba.4 bha.4 bktr.4 bpf.4 ca.4 cac.4 cardbus.4 ccd.4 \ + awi.4 bba.4 bha.4 bktr.4 bpf.4 cac.4 cardbus.4 ccd.4 \ cd.4 ch.4 clcs.4 clnp.4 cltp.4 cmpci.4 cms.4 cnw.4 ddb.4 \ de.4 dpt.4 drum.4 eap.4 en.4 envsys.4 ep.4 esh.4 \ esis.4 eso.4 exphy.4 fd.4 fpa.4 fms.4 fxp.4 gre.4 icmp.4 \ @@ -15,7 +15,7 @@ MAN= adv.4 adw.4 ahb.4 ahc.4 aria.4 atalk.4 audio.4 auvia.4 \ pty.4 puc.4 qsphy.4 raid.4 ray.4 rnd.4 route.4 \ rtk.4 scsi.4 sd.4 siop.4 sl.4 sm.4 speaker.4 spp.4 \ sqphy.4 ss.4 st.4 sv.4 strip.4 tb.4 tcp.4 termios.4 \ - ti.4 tl.4 tlp.4 tlphy.4 tp.4 tr.4 tty.4 tun.4 tqphy.4 \ + ti.4 tl.4 tlp.4 tlphy.4 tp.4 tr.4 tty.4 tun.4 tqphy.4 twe.4 \ udp.4 uha.4 uk.4 ukphy.4 unix.4 vga.4 vlan.4 vnd.4 vr.4 wd.4 \ wdc.4 wi.4 wscons.4 wsdisplay.4 wskbd.4 wsmouse.4 \ wsmux.4 ym.4 zero.4 zstty.4 diff --git a/share/man/man4/cac.4 b/share/man/man4/cac.4 index 7b28740ded03..b4e7db02aa12 100644 --- a/share/man/man4/cac.4 +++ b/share/man/man4/cac.4 @@ -1,4 +1,4 @@ -.\" $NetBSD: cac.4,v 1.4 2000/09/01 12:17:55 ad Exp $ +.\" $NetBSD: cac.4,v 1.5 2000/10/19 14:55:51 ad Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -34,7 +34,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd March 9, 2000 +.Dd October 17, 2000 .Dt CAC 4 .Os .Sh NAME @@ -48,8 +48,9 @@ The .Nm driver provides basic message passing and DMA support for Compaq array -controllers. Disk arrays are supported by the -.Nm ca +controllers. +Disk arrays are supported by the +.Nm lsu driver. .Sh HARDWARE The @@ -76,7 +77,7 @@ driver provides support for the following controllers: .El .Sh SEE ALSO .Xr intro 4 , -.Xr ca 4 +.Xr lsu 4 .Sh AUTHOR The .Nm diff --git a/share/man/man4/ca.4 b/share/man/man4/lsu.4 similarity index 79% rename from share/man/man4/ca.4 rename to share/man/man4/lsu.4 index 1975cbbf31b3..6aab49f19e94 100644 --- a/share/man/man4/ca.4 +++ b/share/man/man4/lsu.4 @@ -1,10 +1,10 @@ -.\" $NetBSD: ca.4,v 1.4 2000/07/05 15:45:34 msaitoh Exp $ +.\" $NetBSD: lsu.4,v 1.1 2000/10/19 14:55:51 ad Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This code is derived from software contributed to The NetBSD Foundation -.\" by Andy Doran. +.\" by Andrew Doran. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions @@ -34,29 +34,28 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd March 9, 2000 -.Dt CA 4 +.Dd September 1, 2000 +.Dt LSU 4 .Os .Sh NAME -.Nm ca -.Nd Compaq array disk driver +.Nm lsu +.Nd logical storage unit .Sh SYNOPSIS -.Cd ca* at cac? unit ? +.Cd lsu* at cac? unit ? +.Cd lsu* at twe? unit ? .Sh DESCRIPTION The .Nm -driver provides support for disk arrays attached to Compaq array controllers -(supported by the -.Nm cac -driver). +driver provides support for ``logical storage units'' -- simple block +devices, usually presented by a disk array controller. .Sh FILES .Bl -tag -width /dev/rcaXXXXX -compact -.It Pa /dev/ca Ns Ar u Ns Ar p +.It Pa /dev/lsu Ns Ar u Ns Ar p block mode disk unit .Ar u , partition .Ar p -.It Pa /dev/rca Ns Ar u Ns Ar p +.It Pa /dev/rlsu Ns Ar u Ns Ar p raw mode disk unit .Ar u , partition @@ -65,19 +64,18 @@ partition .El .Sh SEE ALSO .Xr intro 4 , -.Xr cac 4 +.Xr cac 4 , +.Xr twe 4 .Sh AUTHOR The .Nm -driver was written by Andy Doran -.Aq ad@netbsd.org , -based upon the -.Nm sd -driver, which is the work of others. +driver was written by Andrew Doran +.Aq ad@netbsd.org . .Sh HISTORY The -.Nm ca +.Nm driver first appeared in -.Nx 1.5 . +.Nx 1.6 . .Sh BUGS -Array state is not verified upon startup. +This driver is in reality a nasty hack intended to reduce code size and +maintenace overheads. diff --git a/share/man/man4/twe.4 b/share/man/man4/twe.4 new file mode 100644 index 000000000000..435c893aebac --- /dev/null +++ b/share/man/man4/twe.4 @@ -0,0 +1,87 @@ +.\" $NetBSD: twe.4,v 1.1 2000/10/19 14:55:51 ad Exp $ +.\" +.\" Copyright (c) 2000 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Andrew Doran. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by the NetBSD +.\" Foundation, Inc. and its contributors. +.\" 4. Neither the name of The NetBSD Foundation nor the names of its +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd October 17, 2000 +.Dt TWE 4 +.Os +.Sh NAME +.Nm twe +.Nd +.Tn 3ware Escalade RAID controller driver +.Sh SYNOPSIS +.Cd "twe* at pci? dev ? function ?" +.Cd options TWE_MAX_QUEUECNT=n +.Cd options TWE_MAX_PI_QUEUECNT=n +.Sh DESCRIPTION +The +.Nm +driver provides support for the +.Tn 3ware Escalade +family of RAID controllers. +Attached disk arrays are supported by the +.Nm lsu +driver. +.Pp +The following kernel configuration options are available: +.Bl -ohang +.It Cd options TWE_MAX_QUEUECNT=n +Set the maximum queued command count to +.Ar n +commands. +The default value is 128. +The maximum value that the underlying hardware can support is 256. +.It Cd options TWE_MAX_PI_QUEUECNT=n +Set the maximum per-initiator (per disk array) queued command count to +.Ar n +commands. +The default value is 32. +.El +.Sh SEE ALSO +.Xr intro 4 , +.Xr lsu 4 +.Sh AUTHOR +The +.Nm +driver was written by +by Andrew Doran +.Aq ad@netbsd.org . +Some parts of the driver are derived from code written by Micheal Smith +.Aq msmith@freebsd.org . +.Sh HISTORY +The +.Nm twe +driver first appeared in +.Nx 1.6 .