Subject: port-hp300/1874: Bogus values in /sys/arch/hp300/dev/{ct,rd}reg.h
To: None <gnats-bugs@gnats.netbsd.org>
From: Jason R. Thorpe <thorpej@SJ.Xenotropic.COM>
List: netbsd-bugs
Date: 12/30/1995 20:12:41
>Number:         1874
>Category:       port-hp300
>Synopsis:       Bogus values in /sys/arch/hp300/dev/{ct,rd}reg.h
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 30 23:20:02 1995
>Last-Modified:
>Originator:     Jason R. Thorpe
>Organization:
Just me and my collection of obsolete computer gear(s).
>Release:        -current, December 30, 1995
>Environment:
	
System: NetBSD basalt 1.1 NetBSD 1.1 (BASALT) #108: Mon Dec 11 08:30:18 PST 1995 thorpej@basalt:/work/netbsd/src/sys/arch/hp300/compile/BASALT hp300


>Description:
	[ From my commit message... ]

XXX TEMPORARY STOP-GAP MEASURE!  A 12-bit command modifier was being
squished into an 8-bit position in a command stream!  Which one is wrong?
Changed the constant from 0x140 to 0x40, which is what ended up happening
anyhow.  This exists in the old Utah sources, too!  How long has this
bug existed?!

>How-To-Repeat:
	Compile the ct or rd drivers with a smart version of GCC.
>Fix:
	Don't know which is wrong.  This is an old bug.  Still waiting
	to hear back from Mike (or anyone else who might who the
	right answer).  Filing PR so it doesn't slip though the cracks.
>Audit-Trail:
>Unformatted: