diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-09-20 18:27:03 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-09-20 18:27:03 +0000 |
commit | 69e84f32ce246d3e9732fb39f4ca1a6572372d89 (patch) | |
tree | adadef9d2ab143a0bc65918f6fd971ebafee8aca | |
parent | bd04352a893eaa2c28a7cb87d2ae9a55ac2dee73 (diff) |
OpenBSD style bit definitions
-rw-r--r-- | sys/dev/ic/hmereg.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/sys/dev/ic/hmereg.h b/sys/dev/ic/hmereg.h index b6145be3516..38281503be3 100644 --- a/sys/dev/ic/hmereg.h +++ b/sys/dev/ic/hmereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hmereg.h,v 1.1 2001/08/21 16:16:50 jason Exp $ */ +/* $OpenBSD: hmereg.h,v 1.2 2001/09/20 18:27:02 jason Exp $ */ /* $NetBSD: hmereg.h,v 1.8 2001/04/30 12:22:42 bouyer Exp $ */ /*- @@ -88,18 +88,13 @@ #define HME_SEB_STAT_TXTERR 0x20000000 /* tag error durig tx dma */ #define HME_SEB_STAT_SLVERR 0x40000000 /* pio access error */ #define HME_SEB_STAT_SLVPERR 0x80000000 /* pio access parity error */ -#define HME_SEB_STAT_BITS "\177\020" \ - "b\0GOTFRAME\0b\1RCNTEXP\0b\2ACNTEXP\0" \ - "b\3CCNTEXP\0b\4LCNTEXP\0b\5RFIFOVF\0" \ - "b\6CVCNTEXP\0b\7STSTERR\0b\10SENTFRAME\0" \ - "b\11TFIFO_UND\0b\12MAXPKTERR\0b\13NCNTEXP\0" \ - "b\14ECNTEXP\0b\15LCCNTEXP\0b\16FCNTEXP\0" \ - "b\17DTIMEXP\0b\20RXTOHOST\0b\21NORXD\0" \ - "b\22RXERR\0b\23RXLATERR\0b\24RXPERR\0" \ - "b\25RXTERR\0b\26EOPERR\0b\27MIFIRQ\0" \ - "b\30HOSTTOTX\0b\31TXALL\0b\32XTEACK\0" \ - "b\33TXLERR\0b\34TXPERR\0b\35TXTERR\0" \ - "b\36SLVERR\0b\37SLVPERR\0\0" +#define HME_SEB_STAT_BITS \ + "\020\1RX\2RCNT\3ACNT\4CCNT\5LCNT\6RFIFO\7CVCNT\10STST" \ + "\11TX\12TFIFO\13MAXPKT\14NCNT\15ECNT\16LCCNT\17FCNT" \ + "\20DTIME\21RXHOST\22NORXD\23RXE\24EXLATE\25RXP\26RXT\27EOP" \ + "\30MIF\31TXHOST\32TXALL\33TXE\34TXL\35TXP\36TXT\37SLV" \ + "\40SLVP" + #define HME_SEB_STAT_ALL_ERRORS \ (HME_SEB_STAT_SLVPERR | HME_SEB_STAT_SLVERR | HME_SEB_STAT_TXTERR |\ |