config RTL865XC_8186SDK_GW
	bool 
	default y

config RTL865XC
	bool
	default y
	
config DEFAULTS_KERNEL_2_6
	bool
	default y
	
config RTL865X
	bool "Support for Realtek RTL865XC advanced gateway/router SoC"
	default y
	select RTL865XC
	select MIPS32
	select EXPERIMENTAL
#	select PCI
	select RTL8186_GW_8M
	select RTK_MTD_ROOT
	select NONCOHERENT_IO
	select NEW_TIME_C
	select NEW_IRQ 
	select RTL8181_GPIO
	select KERNEL_CMDLINE
	help
		This is a global Option, define Macro CONFIG_RTL865X for RTL865x SDK.

config RTL8186_GW_8M
        bool "Kernel is configured for 8186SDK GW Mode"
        depends on RTL865X

config RTK_MTD_ROOT
	bool
	depends on RTL865X

config NEW_PCI
	bool 
	default y 
	depends on PCI

config RTL865X_SUSPEND
#	bool "Enable RTL865xC suspend mode"
	bool 
	default n
	depends on RTL865X

menu "Config for Layered Driver Features"
	config RTL865X_LAYERED_DRIVER
        	bool "Enable rtl865x layered driver"
	        default y
        	depends on RTL865X

	config RTL865X_LAYERED_ASIC_DRIVER
                bool
                default y
                depends on RTL865X_LAYERED_DRIVER

        config RTL865X_LAYERED_ASIC_DRIVER_L3
                bool
                default y
                depends on RTL865X_LAYERED_ASIC_DRIVER

	config RTL865X_LAYERED_DRIVER_ACL
		bool
		default n
		depends on RTL865X_LAYERED_DRIVER

	config RTL865X_LAYERED_DRIVER_L2
		bool
		default n
		depends on RTL865X_LAYERED_DRIVER

	config RTL865X_HW_QOS_SUPPORT
		bool
                default n
                depends on RTL865X_LAYERED_DRIVER

	config RTL865X_LAYERED_DRIVER_L3
		bool
                default n
                depends on RTL865X_LAYERED_DRIVER

	config RTL865X_HARDWARE_MULTICAST
		bool
                default y
                depends on RTL865X_LAYERED_DRIVER

	config RTL865X_LAYERED_DRIVER_L4
		bool
                default n
                depends on RTL865X_LAYERED_DRIVER
	
	comment 'Choose basic features.'

	config RTL865X_EXTPORT
                bool "Rtl865x extension port"
       	        default n
      		depends on RTL865X_LAYERED_DRIVER

        config RTL865X_EXTPORT_VLANID
       	        int
               	default "9"
                depends on RTL865X_LAYERED_DRIVER
	
	comment 'Choose hardware features.'	
	
	choice  
       		prompt "Hardware Features Selection"
        	default RTL865X_HW_MULTICAST_ONLY
		depends on RTL865X_LAYERED_DRIVER

	config RTL865X_HW_MULTICAST_ONLY
		bool "Enable RTL865x Hardware Multicast Only"
		select RTL865X_HARDWARE_MULTICAST
		select RTL865X_LAYERED_DRIVER_L2	
	endchoice

endmenu
	
#config RTK_KERNEL_MIPS16
#        bool "Encode Kernel Code with MIPS16 Instruction Set"
#        default y
#        depends on RTL865X

config NONCOHERENT_IO
	bool
	default y
	depends on RTL865X

config NEW_TIME_C
	bool
	default y
	depends on RTL865X

config NEW_IRQ
	bool
	default y
	depends on RTL865X

config RTL8181_GPIO 
	bool
	default y
	depends on RTL865X

config MIPS32
	bool

config EXPERIMENTAL 
	bool 

config RTL865X_WATCHDOG
#	bool "Enable Watchdog"
	bool
	default y
	depends on RTL865X


config KERNEL_CMDLINE
	bool 
	default y
	depends on RTL865X
config CMDLINE
	string 
	default "console=ttyS0,38400"
	depends on KERNEL_CMDLINE
config RTL865X_MBUF_HEADROOM
	int
	range 0 256
	default "128"
	depends on RTL865X

config RTL865X_WTDOG 
        bool "Enable watchdog timer support"
        default y
        depends on RTL865X

config RTL865X_ETH_PRIV_SKB
	bool "Enable Ethernet Private Skb"
	default y
	depends on RTL865X

#config RTL8190_PRIV_SKB
#	bool "Enable 8190 Private Skb"
#	default y
#	depends on RTL865X
	
#config RTL8214_SUPPORT
#	bool
#	default n
#	depends on RTL865X
	
config EXTRTL8212_PHYID_P1
	int
	default "18"
	depends on RTL865X

config EXTRTL8212_PHYID_P3
	int
	default "20"
	depends on RTL865X

config EXTRTL8212_PHYID_P5
	int
	default "22"
	depends on RTL865X

#config RTL865X_LAYERED_DRIVER
#	bool "Enable rtl865x layered driver"
#	default y
#	depends on RTL865X
	

#config RTL865X_EXTPORT
#	bool "Rtl865x extension port"
#	default n
#	depends on RTL865X_LAYERED_DRIVER

#config RTL865X_EXTPORT_VLANID
#	int
#	default "9"
#	depends on RTL865X_EXTPORT

#config RTL865X_HW_QOS_SUPPORT
#	bool "Support HW Qos"
#	default n
#	depends on RTL865X_LAYERED_DRIVER
#	depends on RTL865X_HARDWARE_NAT

#config RTL865X_HARDWARE_MULTICAST
#	bool "Enable rtl865x ip multicast hardware accelerate"
#	default n
#	depends on RTL865X_LAYERED_DRIVER

config RTL865X_HARDWARE_NAT
	bool "Rtl865x napt hardware accelerate"
	default n
	depends on RTL865X

config RTL865X_PPPOE_HWACC
	bool "Rtl865x pppoe hardware accelerate"
	default n
	depends on RTL865X_HARDWARE_NAT

config RTL865X_HW_PPTPL2TP
	bool "Rtl865x pptp hardware offload"
	default n
	depends on RTL865X_HARDWARE_NAT

config RTL865X_PROC_DEBUG
	bool "Enable proc filesystem for debug"
	default n
	depends on RTL865X_HARDWARE_NAT

config QOS_UI_BY_BANDWIDTH
        bool "Support Qos UI by bandwidth"
        default y
        depends on RTL865X	

#config NMS
#	bool "Enable NMS"
#	default n
#	depends on MESH_ENABLE

config TEST_PKG
	bool "Test Package(test_traffic ...)" 
	default n
	depends on MESH_ENABLE

config 11S_TEST_MODE
	bool "Enable 11s Test Mode"
	default n
	depends on MESH_ENABLE

#============================= End of Kconfig ===============================#

	 
