underrun, not underun
This commit is contained in:
parent
b8ce84dc0b
commit
b50f28c38a
sys/dev/ic
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hd64570.c,v 1.15 2001/03/01 00:40:41 itojun Exp $ */
|
||||
/* $NetBSD: hd64570.c,v 1.16 2001/06/12 11:48:51 wiz Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Christian E. Hopps
|
||||
@ -1410,7 +1410,7 @@ sca_msci_intr(sca_port_t *scp, u_int8_t isr)
|
||||
/* underrun -- try to increase ready control */
|
||||
trc0 = msci_read_1(scp, SCA_TRC00);
|
||||
if (trc0 == 0x1f)
|
||||
printf("TX: underun - fifo depth maxed\n");
|
||||
printf("TX: underrun - fifo depth maxed\n");
|
||||
else {
|
||||
if ((trc0 += 2) > 0x1f)
|
||||
trc0 = 0x1f;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hd64570reg.h,v 1.6 2001/03/01 00:40:41 itojun Exp $ */
|
||||
/* $NetBSD: hd64570reg.h,v 1.7 2001/06/12 11:48:51 wiz Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Vixie Enterprises
|
||||
@ -318,7 +318,7 @@ struct hdlc_llc_header {
|
||||
#define SCA_CTL_IDLC_MASK 0x10 /* control idle state */
|
||||
#define SCA_CTL_IDLC_MARK 0x00 /* transmit mark in idle state */
|
||||
#define SCA_CTL_IDLC_PATTERN 0x10 /* tranmist idle pattern */
|
||||
#define SCA_CTL_UDRNC_MASK 0x20 /* control underun state */
|
||||
#define SCA_CTL_UDRNC_MASK 0x20 /* control underrun state */
|
||||
#define SCA_CTL_UDRNC_AFTER_ABORT 0x00 /* idle after aborting trans */
|
||||
#define SCA_CTL_UDRNC_AFTER_FCS 0x20 /* idle after FCS and flag trans */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user