#
#	creater by jinyuewei 20170523
# 	HIK-BASE menu
#

menuconfig HIKBASE_NET
	bool "platform net interface support"
	default y
	help
	  a basic configuration to PHY/SWITCH/MDIO.

if HIKBASE_NET

config HIKBASE_LIBMAC_DTB_COMPAT
	bool "MAC/NET fixup by dtb of module"
	default y
	depends on ARM_APPENDED_DTB || BUILD_ARM64_APPENDED_DTB_IMAGE
	help
	  Support Hikvsion MAC/NET fixup fixup, Like so.
	  1. fixup phy address
	  2. fixup phy interface

config HIKBASE_LIBMAC_TOE
	bool "MAC/NET fixup by HISI TOE module"
	default y
	depends on STMMAC_ETH_TNK
	help
	  Support Hikvsion MAC/NET fixup fixup, Like so.
	  1. fixup phy address

config HIKBASE_LIBMAC_GMAC
	bool "MAC/NET fixup by HISI GSF module"
	default y
	depends on HIETH_GMAC && !ARM_APPENDED_DTB
	help
	  Support Hikvsion MAC/NET fixup fixup, Like so.
	  1. fixup phy address

config HIKBASE_LIBMAC_GSF
	bool "MAC/NET phy clk adjust"
	default y
	help
		You'll have to say Y if you want to set phy source colck to 50MHz in RMII mode.

config HIKBASE_FIXED_MDIO
	bool "MDIO bus emulation with fixed PHYs"
	help
	  Support Hikvsion add fixed phy to Fixed MDIO bus (MDIO bus emulation with fixed PHYs), 
	  if you are using the products which no phy connected to MAC, please choose 'Y'.

config HIKBASE_PHY_FIXUP
	bool "phy chip fixup"
	default y
	help
	  Support Hikvsion phy chip quirks fixup, 
	  if you are using the products of Hikvison, please choose 'Y'.

config HIKBASE_PHY_WOL
	bool "phy chip wol"
	default n
	help
	  Support Hikvsion phy chip quirks wol, 

config HIKBASE_HIGMAC_HWQ_MAX_DEPTH
   int "higmac max rx/tx queue size"
   default "2048"
   depends on ARCH_HI3521A
   help
      higmac max static rx/tx queue size.

endif #HIKBASE_NET
