Add a simple manpage for the cfi(4) and associated cfid(4) drivers.
MFC after: 1 week Sponsored by: DARPA, AFRL
This commit is contained in:
parent
7a73d15e90
commit
159da0bcfd
@ -94,6 +94,7 @@ MAN= aac.4 \
|
||||
${_ccd.4} \
|
||||
cd.4 \
|
||||
cdce.4 \
|
||||
cfi.4 \
|
||||
ch.4 \
|
||||
ciss.4 \
|
||||
cloudabi.4 \
|
||||
@ -592,6 +593,7 @@ MLINKS+=bwn.4 if_bwn.4
|
||||
MLINKS+=${_bxe.4} ${_if_bxe.4}
|
||||
MLINKS+=cas.4 if_cas.4
|
||||
MLINKS+=cdce.4 if_cdce.4
|
||||
MLINKS+=cfi.4 cfid.4
|
||||
MLINKS+=cloudabi.4 cloudabi64.4
|
||||
MLINKS+=crypto.4 cryptodev.4
|
||||
MLINKS+=cue.4 if_cue.4
|
||||
|
94
share/man/man4/cfi.4
Normal file
94
share/man/man4/cfi.4
Normal file
@ -0,0 +1,94 @@
|
||||
.\"-
|
||||
.\" Copyright (c) 2015-2016 SRI International
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" This software was developed by SRI International and the University of
|
||||
.\" Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
|
||||
.\" ("CTSRD"), as part of the DARPA CRASH research programme.
|
||||
.\"
|
||||
.\" 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.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd January 20, 2016
|
||||
.Dt CFI 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm cfi ,
|
||||
.Nm cfid
|
||||
.Nd driver for Common Flash Interface (CFI) NOR flash
|
||||
.Sh SYNOPSIS
|
||||
.Cd "device cfi"
|
||||
.Cd "device cfid"
|
||||
.Cd "options CFI_SUPPORT_STRATAFLASH"
|
||||
.Cd "options CFI_ARMEDANDDANGEROUS"
|
||||
.Pp
|
||||
In
|
||||
.Pa /boot/device.hints :
|
||||
.Cd hint.cfi.0.at="nexus0"
|
||||
.Cd hint.cfi.0.maddr=0x74000000
|
||||
.Cd hint.cfi.0.msize=0x4000000
|
||||
.Pp
|
||||
In DTS file:
|
||||
.Cd flash@74000000 {
|
||||
.Cd " compatible =" Qo cfi-flash Qc ;
|
||||
.Cd " reg = <0x74000000 0x4000000>;"
|
||||
.Cd };
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
device driver provides a management interface to NOR flash devices supporting
|
||||
the Common Flash Interface (CFI) specification.
|
||||
Its companion device
|
||||
.Nm cfid
|
||||
provides a
|
||||
.Xr geom 4
|
||||
disk interface to the device.
|
||||
.Pp
|
||||
Special support for features of the Intel StrataFlash line are available
|
||||
with the
|
||||
.Cd CFI_SUPPORT_STRATAFLASH
|
||||
kernel option.
|
||||
Additional support for write-once bits to switch part of Intel StrataFlash
|
||||
devices to read-only can be enabled by the
|
||||
.Cd CFI_ARMEDANDDANGEROUS
|
||||
kernel option.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr led 4
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
device driver first appeared in
|
||||
.Fx 8.0 .
|
||||
.Sh AUTHORS
|
||||
The
|
||||
.Nm
|
||||
driver was written by
|
||||
.An Juniper Networks
|
||||
with StrataFlash support by
|
||||
.An Sam Leffler .
|
||||
This manual page was written by SRI International and the University of
|
||||
Cambridge Computer Laboratory under DARPA/AFRL contract
|
||||
.Pq FA8750-10-C-0237
|
||||
.Pq Do CTSRD Dc ,
|
||||
as part of the DARPA CRASH research programme.
|
Loading…
Reference in New Issue
Block a user