diff options
Diffstat (limited to 'sys/dev/sbus/qereg.h')
-rw-r--r-- | sys/dev/sbus/qereg.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/sbus/qereg.h b/sys/dev/sbus/qereg.h index 09a54be6dc0..cde81f198a1 100644 --- a/sys/dev/sbus/qereg.h +++ b/sys/dev/sbus/qereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: qereg.h,v 1.2 2003/06/02 18:32:41 jason Exp $ */ +/* $OpenBSD: qereg.h,v 1.3 2006/05/29 20:40:03 miod Exp $ */ /* $NetBSD: qereg.h,v 1.3 2000/07/24 04:28:51 mycroft Exp $ */ /*- @@ -131,16 +131,16 @@ struct qe_cregs { #define QE_CR_STAT_RXLERR 0x00000004 /* rx late error */ #define QE_CR_STAT_RXPERR 0x00000002 /* rx parity error */ #define QE_CR_STAT_RXSERR 0x00000001 /* rx sbus error ack */ -#define QE_CR_STAT_BITS "\177\020" \ - "b\0RXSERR\0b\1RXPERR\0b\2RXLERR\0" \ - "b\3RXSMALL\0b\4RXDROP\0b\5RXIRQ\0" \ - "b\6CECOFLOW\0b\7FCOFLOW\0b\10RLCOLL\0" \ - "b\11RXFOFLOW\0b\12MCOFLOW\0b\13RUOFLOW\0" \ - "b\14RCCOFLOW\0b\20TXSERR\0b\21TXPERR\0" \ - "b\22TXLERR\0b\23TXDERROR\0b\24TCCOFLOW\0" \ - "b\25TXIRQ\0b\26BERROR\0b\27JERROR\0" \ - "b\30FUFLOW\0b\31LCOLL\0b\32ERETRIES\0" \ - "b\33CLOSS\0b\32EDEFER\0\0" +#define QE_CR_STAT_BITS "\020" \ + "\01RXSERR\02RXPERR\03RXLERR" \ + "\04RXSMALL\05RXDROP\06RXIRQ" \ + "\07CECOFLOW\010FCOFLOW\011RLCOLL" \ + "\012RXFOFLOW\013MCOFLOW\014RUOFLOW" \ + "\015RCCOFLOW\021TXSERR\022TXPERR" \ + "\023TXLERR\024TXDERROR\025TCCOFLOW" \ + "\026TXIRQ\027BERROR\030JERROR" \ + "\031FUFLOW\032LCOLL\033ERETRIES" \ + "\034CLOSS\035EDEFER" /* * Errors: all status bits except for TX/RX IRQ |