Subject: port-i386/2475: the change in src/sys/sys/param.h broke pcvt
To: None <gnats-bugs@NetBSD.ORG>
From: None <windsor@punk.hedgehog.com>
List: netbsd-bugs
Date: 05/26/1996 23:19:25
>Number:         2475
>Category:       port-i386
>Synopsis:       pcvt_conf.h needs updated to grok NetBSD1_2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 27 02:35:03 1996
>Last-Modified:
>Originator:     Rob Windsor
>Organization:
>Release:        1.2_ALPHA
>Environment:
System: NetBSD punk 1.1B NetBSD 1.1B (PUNK) #7: Sun May 26 01:00:47 PDT 1996 windsor@punk:/usr/local/src/NetBSD-compile/src/sys/arch/i386/compile/PUNK i386

>Description:

Recent change to /usr/src/sys/sys/param.h that replaces 'NetBSD1_1' with
'NetBSD1_2' breaks pcvt by leaving PCVT_NETBSD undefined.

>How-To-Repeat:

Define 'vt0' in the kernel config file and try to compile.

>Fix:

*** /sys/arch/i386/isa/pcvt/pcvt_conf.h.orig    Sun May 26 22:47:26 1996
--- /sys/arch/i386/isa/pcvt/pcvt_conf.h Sun May 26 23:10:38 1996
***************
*** 88,93 ****
--- 88,97 ----
  #define PCVT_NETBSD (110 + (NetBSD1_1 - 1))
  #endif
  
+ #ifdef NetBSD1_2
+ #define PCVT_NETBSD (120 + (NetBSD1_2 - 1))
+ #endif
+ 
  /*---------------------------------------------------------------------------
   * Note that each of the options below should rather be overriden by the
   * kernel config file instead of this .h file - this allows for different

>Audit-Trail:
>Unformatted: