|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)dr.4 6.2 (Berkeley) 6/30/87 ! 6: .\" ! 7: .TH DR 4 "November 21, 1986" ! 8: .UC 5 ! 9: .SH NAME ! 10: dr \- Ikon DR-11W interface ! 11: .SH SYNOPSIS ! 12: .B "device dr0 at vba? csr 0xffff8000 vector drintr" ! 13: .SH DESCRIPTION ! 14: The ! 15: .I dr ! 16: driver provides access ! 17: to an Ikon DR-11W DMA controller. ! 18: Each minor device is a different controller. ! 19: .PP ! 20: In addition to reading and writing, the following ! 21: .I ioctl ! 22: requests are available: ! 23: .TP 10 ! 24: DRWAIT ! 25: Wait for an attention interrupt from the associated device. ! 26: .TP ! 27: DRPIOW ! 28: Write to the programmed i/o register. ! 29: .TP ! 30: DRPACL ! 31: Write to the pulse register. ! 32: .TP ! 33: DRDACL ! 34: Set the ``ac-low'' bit in the next command sent to the DR-11W. ! 35: .TP ! 36: DRPCYL ! 37: Set the ``cycle'' bit in the next command sent to the DR-11W. ! 38: .TP ! 39: DRDFCN ! 40: Hold the function bits until the next command is issused. ! 41: .TP ! 42: DRRATN ! 43: Reset the attention flag. ! 44: .TP ! 45: DRRDMA ! 46: Reset the DMA complete flag. ! 47: .TP ! 48: DRSFCN ! 49: Set the function bits in the control status register and, ! 50: as a side effect, clear the interrupt enable flag. ! 51: .TP ! 52: DRRPER ! 53: Reset the parity error flag. ! 54: .TP ! 55: DRSETRSTALL ! 56: Set ``no stall'' mode for all subsequent reads. ! 57: In no stall mode the driver will abort ! 58: read requests that fail to complete before a user ! 59: specified timeout expires. ! 60: .TP ! 61: DRSETNORSTALL ! 62: Disable no stall mode for reads. ! 63: .TP ! 64: DRGETRSTALL ! 65: Return true if in no stall mode for reads. ! 66: .TP ! 67: DRSETRTIMEOUT ! 68: Set the value of the timeout used in no stall mode for ! 69: reads. The time is specified in tenths of seconds. ! 70: .TP ! 71: DRGETRTIMEOUT ! 72: Return the time until (in tenths of seconds) before a read ! 73: is timed out when in no stall mode. ! 74: .TP ! 75: DRSETWSTALL ! 76: Set ``no stall'' mode for all subsequent writes. ! 77: In no stall mode the driver will abort ! 78: write requests that fail to complete before a user ! 79: specified timeout expires. ! 80: .TP ! 81: DRSETNOWSTALL ! 82: Disable no stall mode for writes. ! 83: .TP ! 84: DRGETWSTALL ! 85: Return true if in no stall mode for writes. ! 86: .TP ! 87: DRSETWTIMEOUT ! 88: Set the value of the timeout used in no stall mode for ! 89: writes. The time is specified in tenths of seconds. ! 90: .TP ! 91: DRGETRTIMEOUT ! 92: Return the time until (in tenths of seconds) before a write ! 93: is timed out when in no stall mode. ! 94: .TP ! 95: DRWRITEREADY ! 96: Return 1 if the device can accept data, 0 otherwise ! 97: (this is areally the DR-11W A status bit). ! 98: .TP ! 99: DRREADREADY ! 100: Return 1 if the device has data for the host to read, ! 101: 0 otherwise (this is really the DR-11W B status bit). ! 102: .TP ! 103: DRBUSY ! 104: Return 1 if the device is busy, 0 otherwise. ! 105: .TP ! 106: DRRESET ! 107: Reset the DR-11W. ! 108: .TP ! 109: DR11STAT ! 110: Return the driver status and the contents of the ! 111: DR-11W i/o registers. The ! 112: eight words returned are, in order, the driver ! 113: status flags, the contents of the control status ! 114: register, the contents of the status register ! 115: at the time of the last interrupt from the device, ! 116: the contents of the programmed i/o data register, ! 117: a combination of the address modifier used by the ! 118: device in performing VERSAbus transfers and the ! 119: interrupt vector used by the device, the contents ! 120: of the range register, the contents of the rahi ! 121: register, and the contents of the ralo register. ! 122: .TP ! 123: DR11LOOP ! 124: Perform loopback testing (the loopback cable must ! 125: be in place for this to work). ! 126: .SH FILES ! 127: /dev/dr[0-7] standard devices ! 128: .SH DIAGNOSTICS ! 129: Lots of them, none of them meaningful. ! 130: .SH BUGS ! 131: This driver needs to be rewritten.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.