Subject: KA53 console bug
To: None <port-vax@netbsd.org>
From: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
List: port-vax
Date: 07/29/2007 09:57:43
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
There is a bug in vsa/dz_vsbus.c that causes the console to be on line 0
instead of line 3, so after boot starts the kernel the system seems
dead. The attached patch fixes this.
Note that vsa/dz_ibus.c is unused since 2001 and should probably
be removed.
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dz_vsbus.diff"
Index: dz_vsbus.c
===================================================================
RCS file: /cvsroot/src/sys/arch/vax/vsa/dz_vsbus.c,v
retrieving revision 1.37
diff -u -r1.37 dz_vsbus.c
--- dz_vsbus.c 12 Mar 2006 17:14:42 -0000 1.37
+++ dz_vsbus.c 29 Jul 2007 07:40:47 -0000
@@ -263,11 +263,15 @@
break;
case VAX_BTYP_49:
- case VAX_BTYP_53:
ioaddr = 0x25000000;
diagcons = (vax_confdata & 8 ? 3 : 0);
break;
+ case VAX_BTYP_53:
+ ioaddr = 0x25000000;
+ diagcons = 3;
+ break;
+
default:
cndev->cn_pri = CN_DEAD;
return;
--ZGiS0Q5IWpPtfppv--