Subject: kern/19557: typo in sys/dev/sbus/qereg.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <roskens@elfin.net>
List: netbsd-bugs
Date: 12/24/2002 22:36:31
>Number:         19557
>Category:       kern
>Synopsis:       typo in sys/dev/sbus/qereg.h
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 24 22:37:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ron Roskens
>Release:        current
>Organization:
>Environment:
>Description:
The define for QE_CR_STAT_BITS used with a bitmask_snprintf() contains two entries for bit 26 (octal 32). (ERETRIES and EDEFER)

EDEFER should be referenced via octal 34.
>How-To-Repeat:

>Fix:
--- qereg.h     2000/07/24 04:28:51     1.3
+++ qereg.h     2002/12/25 06:35:23
@@ -141,7 +141,7 @@
                        "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"
+                       "b\33CLOSS\0b\34EDEFER\0\0"
 
 /*
  * Errors: all status bits except for TX/RX IRQ

>Release-Note:
>Audit-Trail:
>Unformatted: