Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 91099

Summary: line 84 config.in in /linux-2.4.20-13.9/drivers/net/wan is incorrect
Product: [Retired] Red Hat Linux Reporter: agis <agises>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-03 10:16:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description agis 2003-05-18 02:49:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.2.1) Gecko/20030225

Description of problem:
the line 84 is incorrect see
# Generic HDLC

   tristate '  Generic HDLC layer' CONFIG_HDLC
   if [ "$CONFIG_HDLC" != "n" ]; then
      bool '    Raw HDLC support' CONFIG_HDLC_RAW
      bool '    Raw HDLC Ethernet device support' CONFIG_HDLC_RAW_ETH
      bool '    Cisco HDLC support' CONFIG_HDLC_CISCO
      bool '    Frame Relay support' CONFIG_HDLC_FR
      bool '    Synchronous Point-to-Point Protocol (PPP) support' CONFIG_HDLC_PPP
      if [ "$CONFIG_LAPB" = "m" -a "$CONFIG_HDLC" = "m" -o "$CONFIG_LAPB" = "y"
]; then
	 bool '    X.25 protocol support' CONFIG_HDLC_X25
      else
	 comment '    X.25/LAPB support is disabled'
      fi
      if [ "$CONFIG_PCI" != "n" ]; then
	dep_tristate '    Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)'
CONFIG_PC300 $CONFIG_HDLC
	if [ "$CONFIG_PC300" != "n" ]; then
		if ["$CONFIG_PPP" != "n" -a "$CONFIG_PPP_MULTLINK" != "n" -a
"$CONFIG_PPP_SYNCTTY" != "n" -a "$CONFIG_HDLC_PPP" = "y"]; 
		then <===here is the problem 
			bool '      Cyclades-PC300 MLPPP support' CONFIG_PC300_MLPPP
		else
		.......


i resolve this moving the "then" to the correct position: 


# Generic HDLC

   tristate '  Generic HDLC layer' CONFIG_HDLC
   if [ "$CONFIG_HDLC" != "n" ]; then
      bool '    Raw HDLC support' CONFIG_HDLC_RAW
      bool '    Raw HDLC Ethernet device support' CONFIG_HDLC_RAW_ETH
      bool '    Cisco HDLC support' CONFIG_HDLC_CISCO
      bool '    Frame Relay support' CONFIG_HDLC_FR
      bool '    Synchronous Point-to-Point Protocol (PPP) support' CONFIG_HDLC_PPP
      if [ "$CONFIG_LAPB" = "m" -a "$CONFIG_HDLC" = "m" -o "$CONFIG_LAPB" = "y"
]; then
	 bool '    X.25 protocol support' CONFIG_HDLC_X25
      else
	 comment '    X.25/LAPB support is disabled'
      fi
      if [ "$CONFIG_PCI" != "n" ]; then
	dep_tristate '    Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)'
CONFIG_PC300 $CONFIG_HDLC
	if [ "$CONFIG_PC300" != "n" ]; then
		if ["$CONFIG_PPP" != "n" -a "$CONFIG_PPP_MULTLINK" != "n" -a
"$CONFIG_PPP_SYNCTTY" != "n" -a "$CONFIG_HDLC_PPP" = "y"]; then 
			bool '      Cyclades-PC300 MLPPP support' CONFIG_PC300_MLPPP
		else
			comment '     Cyclades-PC300 MLPPP support is disabled. You have to enable
PPP, PPP_MULTILINK'
			comment '     PPP_SYNCTTY and HDLC_PPP to use this package.'
		fi
	fi
      fi
..............



Version-Release number of selected component (if applicable):
kernel-source-2.4.20-13.9

How reproducible:
Always

Steps to Reproduce:
1. update the kernel source in up2date
2. open control central kde 
3. kernel config show the  bug in config.in
    

Additional info:

Comment 1 Arjan van de Ven 2003-06-03 10:16:18 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2003-187.html