1#
2#	On-chip network configuration
3#
4mainmenu_option next_comment
5comment 'On-chip net devices'
6if [ "$CONFIG_IBM_OCP" = "y" ]; then
7   bool '  IBM on-chip ethernet' CONFIG_IBM_OCP_ENET
8   if [ "$CONFIG_IBM_OCP_ENET" = "y" ]; then
9      bool '    Verbose error messages' CONFIG_IBM_OCP_ENET_ERROR_MSG
10      int '    Number of receive buffers' CONFIG_IBM_OCP_ENET_RX_BUFF 64
11      int '    Number of transmit buffers' CONFIG_IBM_OCP_ENET_TX_BUFF 8
12      int '    Frame gap' CONFIG_IBM_OCP_ENET_GAP 8
13      int '    Skb reserve amount' CONFIG_IBM_OCP_ENET_SKB_RES 0
14   fi
15   if [ "$CONFIG_IBM_OCP_ENET" = "y" ]; then
16      define_bool CONFIG_OCP_NET y
17      if [ "$CONFIG_NP405H" = "y" -o  "$CONFIG_NP405L" = "y"	\
18	   -o "$CONFIG_440" = "y" ]; then
19	 define_int CONFIG_IBM_OCP_MAL_CNT 1
20	 define_bool CONFIG_IBM_OCP_ZMII  y
21      fi
22   fi
23fi
24endmenu
25