#
# Realtek device configuration
#

config RTL8168G
	bool "Realtek RTL-8168G 10/100 Mbps Ethernet Adapter support"
	select CRC32
	select NET_CORE
	select MII
	---help---
	  Support for rtl8168g chipset.

if RTL8168G
config RTL8168_DMA_TEST
	bool "Enable rtl8168 RX driect connect TX for DMA test"

config RTL8168G_NUM_RX_DESC
	bool "Set RX DESC NUM"
	default y

if RTL8168G_NUM_RX_DESC
choice
	prompt "Selected NUM_RX_DESC"
	default RTL8168G_NUM_RX_DESC_256
config RTL8168G_NUM_RX_DESC_1024
	bool "Set rx desc number 1024"
config RTL8168G_NUM_RX_DESC_512
	bool "Set rx desc number 512"
config RTL8168G_NUM_RX_DESC_256
	bool "Set rx desc number 256"
endchoice
endif

config RTL8168G_NUM_TX_DESC
	bool "Set TX DESC NUM"
	default y

if RTL8168G_NUM_TX_DESC
choice
	prompt "Selected NUM_TX_DESC"
	default RTL8168G_NUM_TX_DESC_256
config RTL8168G_NUM_TX_DESC_1024
	bool "Set tx desc number 1024"
config RTL8168G_NUM_TX_DESC_512
	bool "Set tx desc number 512"
config RTL8168G_NUM_TX_DESC_256
	bool "Set tx desc number 256"
endchoice
endif

config RTL8168_TARGET_FPGA
	bool "config board fpga"

endif
