diff options
author | bde <bde@FreeBSD.org> | 1998-12-17 17:40:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-12-17 17:40:13 +0000 |
commit | 54f96be976a3971faa99b61949eabd13b4b341c4 (patch) | |
tree | dfcbe8c705e71c680ac8919008f3cf9259fcd888 /sys/i386/isa/ic | |
parent | 7cdf796bab6a556fe3ed95398c479a01dcde9a15 (diff) | |
download | FreeBSD-src-54f96be976a3971faa99b61949eabd13b4b341c4.zip FreeBSD-src-54f96be976a3971faa99b61949eabd13b4b341c4.tar.gz |
Implemented sending of BREAKs. This is quite complicated because the
hardware is interrupt-driven to a fault and sending a BREAK requires
mode switching. Always running in the BREAK-capable mode as in PR 8318
would double the overhead for sending \0's.
Reminded by: PR 8318
Diffstat (limited to 'sys/i386/isa/ic')
-rw-r--r-- | sys/i386/isa/ic/cd1400.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/i386/isa/ic/cd1400.h b/sys/i386/isa/ic/cd1400.h index 52081fe..ee9b9f2 100644 --- a/sys/i386/isa/ic/cd1400.h +++ b/sys/i386/isa/ic/cd1400.h @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: cd1400.h,v 1.4 1997/02/22 09:37:59 peter Exp $ */ /* @@ -99,6 +99,7 @@ #define CD1400_CCR_CMDRESET (1<<7) /* enables following: */ #define CD1400_CCR_FTF (1<<1) /* flush tx fifo */ #define CD1400_CCR_FULLRESET (1<<0) /* full reset */ +#define CD1400_CCR_CHANRESET 0 /* current channel */ #define CD1400_CCR_CMDCORCHG (1<<6) /* enables following: */ #define CD1400_CCR_COR3 (1<<3) /* COR3 changed */ #define CD1400_CCR_COR2 (1<<2) /* COR2 changed */ @@ -133,6 +134,10 @@ #define CD1400_COR2_IXANY (1<<7) /* implied XON mode */ #define CD1400_COR2_IXOFF (1<<6) /* in-band tx flow control */ #define CD1400_COR2_ETC (1<<5) /* embedded tx command */ +#define CD1400_ETC_CMD 0x00 /* start an ETC */ +#define CD1400_ETC_SENDBREAK 0x81 +#define CD1400_ETC_INSERTDELAY 0x82 +#define CD1400_ETC_STOPBREAK 0x83 #define CD1400_COR2_LLM (1<<4) /* local loopback mode */ #define CD1400_COR2_RLM (1<<3) /* remote loopback mode */ #define CD1400_COR2_RTSAO (1<<2) /* RTS auto output */ |