Subject: port-i386/4316: i386/isa/pcvt/pcvt_conf.h needs to know about 1.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 10/22/1997 17:33:44
>Number:         4316
>Category:       port-i386
>Synopsis:       i386/isa/pcvt/pcvt_conf.h needs to know about 1.3
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 22 08:50:03 1997
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
	
>Release:        <NetBSD-current source date> NetBSD-current 22.10.1997
>Environment:
	
System: NetBSD cyberlap 1.2G NetBSD 1.2G (CYBERLAP) #0: Sat Oct 18 16:13:39 CEST 1997 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386


>Description:
	
If you try to compile a kernel on i386 with pcvt support enabled since
the version bumped to 1.3_ALPHA, you will fail at compiling
/src/sys/arch/i386/isa/pcvt/pcvt_drv.c.

>How-To-Repeat:
	
Try to compile a current kernel on i386 with 

vt0     at isa? port 0x60 irq 1         # PCVT console driver

enabled, and watch it fail.

>Fix:
	
Apply the following patch to /src/sys/arch/i386/isa/pcvt/pcvt_conf.h:

*** pcvt_conf.h-orig	Mon Oct 14 18:09:19 1996
--- pcvt_conf.h	Wed Oct 22 17:24:35 1997
***************
*** 91,96 ****
--- 91,100 ----
  #define PCVT_NETBSD (120 + (NetBSD1_2 - 1))
  #endif
  
+ #ifdef NetBSD1_3
+ #define PCVT_NETBSD (120 + (NetBSD1_3 - 1))
+ #endif
+ 
  #endif
  
  
>Audit-Trail:
>Unformatted:
i386/isa/pcvt/pcvt_conf.h needs to know about 1.3