linux-mips
[Top] [All Lists]

MIPS config.in NET configuration

To: linux-mips@oss.sgi.com
Subject: MIPS config.in NET configuration
From: Steve Johnson <stevej@ridgerun.com>
Date: Thu, 16 Nov 2000 18:15:51 -0700
Organization: Ridgerun, Inc.
Sender: owner-linux-mips@oss.sgi.com
Hi,

    I'm trying to add support for a Galileo Tech. EV64120A board, building on Pete Popov's work that's already in CVS.  I'm having trouble with the "Network device support" menu when I "make xconfig".

    If I select "Galileo EV96100 Evaluation board" on the "Machine selection" menu, I can't select PPP support in the "Network device support" menu because the IP22/Decstation/Baget code in arch/mips/config.in eclipses the normal net menu's CONFIG_PPP.  Is there a reasonable way to resolve two different environments needing the same variable defined?

    The same problem exists for CONFIG_SERIAL, which is defined by the Decstation and doesn't let me use the normal character device 16550 UART menu item.

    Please note that this is only a problem for "make xconfig".  "make menuconfig" works correctly and selects one set of responses for network devices based on the machine selection.  Is that the solution, that everyone in MIPS uses "make menuconfig"?

if [ "$CONFIG_NET" = "y" ]; then
   mainmenu_option next_comment
   comment 'Network device support'

   bool 'Network device support' CONFIG_NETDEVICES
   if [ "$CONFIG_NETDEVICES" = "y" ]; then

      if [ "$CONFIG_SGI_IP22" != "y" -a \
          "$CONFIG_DECSTATION" != "y" -a \
    "$CONFIG_BAGET_MIPS" != "y" ]; then

  source drivers/net/Config.in

  if [ "$CONFIG_ATM" = "y" ]; then
     source drivers/atm/Config.in
  fi
      else
  tristate 'Dummy net driver support' CONFIG_DUMMY
  tristate 'SLIP (serial line) support' CONFIG_SLIP
  if [ "$CONFIG_SLIP" != "n" ]; then
     bool ' CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
     bool ' Keepalive and linefill' CONFIG_SLIP_SMART
  fi
  tristate 'PPP (point-to-point) support' CONFIG_PPP
  if [ ! "$CONFIG_PPP" = "n" ]; then
     comment 'CCP compressors for PPP are only built as modules.'
  fi
         if [ "$CONFIG_SGI_IP22" = "y" ]; then
     bool 'SGI Seeq ethernet controller support' CONFIG_SGISEEQ
  fi
  if [ "$CONFIG_DECSTATION" = "y" ]; then
     bool 'DEC LANCE ethernet controller support' CONFIG_DECLANCE
  fi
  if [ "$CONFIG_BAGET_MIPS" = "y" ]; then
     tristate 'Baget AMD LANCE support' CONFIG_BAGETLANCE
  fi
      fi
   fi
   endmenu
fi
 

    Steve
 

Attachment: stevej.vcf
Description: Card for Steve Johnson

<Prev in Thread] Current Thread [Next in Thread>