Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man4/fdc.4
Show All 21 Lines | |||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 11, 2006 | .Dd April 7, 2017 | ||||
.Dt FDC 4 | .Dt FDC 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm fdc | .Nm fdc | ||||
.Nd "PC architecture floppy disk controller driver" | .Nd "PC architecture floppy disk controller driver" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Cd device fdc | .Cd device fdc | ||||
.Pp | .Pp | ||||
▲ Show 20 Lines • Show All 237 Lines • ▼ Show 20 Lines | |||||
this one is read-only. | this one is read-only. | ||||
.El | .El | ||||
.It Dv FD_SOPTS | .It Dv FD_SOPTS | ||||
Set device options, see above for their meaning. | Set device options, see above for their meaning. | ||||
Third argument is a | Third argument is a | ||||
pointer to | pointer to | ||||
.Vt int . | .Vt int . | ||||
Drive options will always be cleared when closing the descriptor. | Drive options will always be cleared when closing the descriptor. | ||||
.It Dv FD_DEBUG | |||||
Set the driver debug level. | |||||
Third argument is a pointer to | |||||
.Vt int , | |||||
level 0 turns off all debugging. | |||||
Only applicable if the driver has | |||||
been configured with | |||||
.Cd "options FDC_DEBUG" . | |||||
.It Dv FD_CLRERR | .It Dv FD_CLRERR | ||||
Clear the internal low-level error counter. | Clear the internal low-level error counter. | ||||
Normally, controller-level | Normally, controller-level | ||||
I/O errors are only logged up to | I/O errors are only logged up to | ||||
.Dv FDC_ERRMAX | .Dv FDC_ERRMAX | ||||
errors (currently defined to 100). | errors (currently defined to 100). | ||||
This command resets the counter. | This command resets the counter. | ||||
Requires superuser privileges. | Requires superuser privileges. | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |