📄 dr.4
字号:
.\" Copyright (c) 1983, 1991, 1993.\" The Regents of the University of California. All rights reserved..\".\" 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 University of.\" California, Berkeley and its contributors..\" 4. Neither the name of the University 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 REGENTS 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 REGENTS 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..\".\" @(#)dr.4 8.1 (Berkeley) 6/5/93.\".Dd June 5, 1993.Dt DR 4 tahoe.Os BSD 4.2.Sh NAME.Nm dr.Nd Ikon.Tn DR-11Winterface.Sh SYNOPSIS.Cd "device dr0 at vba? csr 0xffff8000 vector drintr".Sh DESCRIPTIONThe.Nm drdriver provides accessto an Ikon.Tn DR-11W.Tn DMAcontroller.Each minor device is a different controller..PpIn addition to reading and writing, the following.Xr ioctl 2requests are available:.Bl -tag -width DRSETNORSTALL.It Dv DRWAITWait for an attention interrupt from the associated device..It Dv DRPIOWWrite to the programmed.Tn I/Oregister..It Dv DRPACLWrite to the pulse register..It Dv DRDACLSet the ``ac-low'' bit in the next command sent to the.Tn DR-11W ..It Dv DRPCYLSet the ``cycle'' bit in the next command sent to the.Tn DR-11W ..It Dv DRDFCNHold the function bits until the next command is issused..It Dv DRRATNReset the attention flag..It Dv DRRDMAReset the.Tn DMAcomplete flag..It Dv DRSFCNSet the function bits in the control status register and,as a side effect, clear the interrupt enable flag..It Dv DRRPERReset the parity error flag..It Dv DRSETRSTALLSet ``no stall'' mode for all subsequent reads.In no stall mode the driver will abortread requests that fail to complete before a userspecified timeout expires..It Dv DRSETNORSTALLDisable no stall mode for reads..It Dv DRGETRSTALLReturn true if in no stall mode for reads..It Dv DRSETRTIMEOUTSet the value of the timeout used in no stall mode forreads. The time is specified in tenths of seconds..It Dv DRGETRTIMEOUTReturn the time until (in tenths of seconds) before a readis timed out when in no stall mode..It Dv DRSETWSTALLSet ``no stall'' mode for all subsequent writes.In no stall mode the driver will abortwrite requests that fail to complete before a userspecified timeout expires..It Dv DRSETNOWSTALLDisable no stall mode for writes..It Dv DRGETWSTALLReturn true if in no stall mode for writes..It Dv DRSETWTIMEOUTSet the value of the timeout used in no stall mode forwrites. The time is specified in tenths of seconds..It Dv DRGETRTIMEOUTReturn the time until (in tenths of seconds) before a writeis timed out when in no stall mode..It Dv DRWRITEREADYReturn 1 if the device can accept data, 0 otherwise(this is really the.Tn DR-11W Astatus bit)..It Dv DRREADREADYReturn 1 if the device has data for the host to read,0 otherwise (this is really the.Tn DR-11W Bstatus bit)..It Dv DRBUSYReturn 1 if the device is busy, 0 otherwise..It Dv DRRESETReset the DR-11W..It Dv DR11STATReturn the driver status and the contents of the.Tn DR-11W.Tn I/O registers. Theeight words returned are, in order, the driverstatus flags, the contents of the control statusregister, the contents of the status registerat the time of the last interrupt from the device,the contents of the programmed.Tn I/O data register,a combination of the address modifier used by thedevice in performing.Tn VERSAbustransfers and theinterrupt vector used by the device, the contentsof the range register, the contents of the rahiregister, and the contents of the ralo register..It Dv DR11LOOPPerform loopback testing (the loopback cable mustbe in place for this to work)..El.Sh FILES.Bl -tag -width /dev/dr[0-7]xx -compact.It Pa /dev/dr[0-7]standard devices.El.Sh DIAGNOSTICSLots of them, none of them meaningful..Sh HISTORYThe.Nmdriver appeared in.Bx 4.3 tahoe ..Sh BUGSThis driver needs to be rewritten.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -