"Config.in" File in linux/drivers/char has a bug !

From: Christoph Plattner (christoph.plattner@gmx.at)
Date: Sun Aug 11 2002 - 11:03:58 MDT


Hello PA-RISC community !

After this CVS update, I could not find my PDC_CONSOLE
driver to configure any more. I think, the part

   if [ "$CONFIG_PARISC" = "y" ]; then
     bool ' PDC software console support' CONFIG_PDC_CONSOLE
   fi

is inserted at a wrong place, it is nested with the

if [ "$CONFIG_FOOTBRIDGE" = "y" ]; then
        :
        :
fi

... which is wrong for HP PDC console.
Or do I not understand the "FOOTBRIDGE" stuff ?

So the fix should be:

Index: drivers/char/Config.in
===================================================================
RCS file: /var/cvs/linux/drivers/char/Config.in,v
retrieving revision 1.23
diff -u -r1.23 Config.in
--- drivers/char/Config.in 4 Aug 2002 22:58:10 -0000 1.23
+++ drivers/char/Config.in 11 Aug 2002 17:03:04 -0000
@@ -114,9 +114,9 @@
          bool ' Enable Au1000 serial console'
CONFIG_AU1000_SERIAL_CONSOLE
      fi
    fi
- if [ "$CONFIG_PARISC" = "y" ]; then
- bool ' PDC software console support' CONFIG_PDC_CONSOLE
- fi
+fi
+if [ "$CONFIG_PARISC" = "y" ]; then
+ bool ' PDC software console support' CONFIG_PDC_CONSOLE
 fi
 if [ "$CONFIG_MIPS_ITE8172" = "y" ]; then
    bool 'Enable Qtronix 990P Keyboard Support' CONFIG_QTRONIX_KEYBOARD

With friendly regards
Christoph P

-- 
-------------------------------------------------------
private:	christoph.plattner@gmx.at
company:	christoph.plattner@alcatel.at


List: parisc-linux@lists.parisc-linux.org