#
# SMAC Gigabit ethernet driver configuration
#
config SMAC
	tristate "SMAC Gigabit Ethernet support"
	select MII
	help
	  This driver supports SMAC gigabit ethernet.

config SMAC_NR_RX_DESCRIPTORS
	int "Number of Rx descriptors (256, 128, 64)"
	depends on SMAC
	default "256"

config SMAC_NR_TX_DESCRIPTORS
	int "Number of Tx Descriptors (256, 128, 64)"
	depends on SMAC
	default "256"

choice
	prompt "Force Descriptor Endian"
	depends on SMAC
	optional
	default n

config SMAC_FORCE_DESCRIPTOR_ENDIAN_BIG
	bool "Big Endian"

config SMAC_FORCE_DESCRIPTOR_ENDIAN_LITTLE
	bool "Little Endian"

endchoice

config SMAC_ENABLE_NAPI
	bool "Use Rx Polling (NAPI)"
	depends on SMAC
	default y

config SMAC_ENABLE_JUMBOFRAME
	bool "Enable Jumbo Frame"
	depends on SMAC
	default n

config SMAC_MULTICAST_ADDR_NUM
	int "Multicast Address Number"
	depends on SMAC
	default "4"

config SMAC_FC_PAUSE_TIME
	int "Flow Control Pause Time"
	depends on SMAC
	default "1664"

config SMAC_RX_FIFO_ACTIVE
	int "Flow Control Active RxFIFO Threshold"
	depends on SMAC
	default "1"

config SMAC_RX_FIFO_DEACTIVE
	int "Flow Control Deactive RxFIFO Threshold"
	depends on SMAC
	default "2"

config SMAC_LOWEST_LATENCY
	int "Interrupt Throttle Number at Lowest Latency"
	depends on SMAC
	default "2"

config SMAC_TRACE_FUNCTION
	bool "Enable Function Trace"
	depends on SMAC
	default n

config SMAC_DBG
	bool "Enable Debug Output"
	depends on SMAC
	default n

config SMAC_WOL
	bool "Support Wake-on-LAN"
	depends on SMAC
	default n

config RTL8201FRVB_WOL_CHANGE_PHY_SPEED_10MBPS
	bool "Change phy speed to 10Mbps while entering WOL support"
	depends on SMAC_WOL
	default n
	help
	  Say Y if you want change phy speed to 10 MBPS for WOL
	  support on the SMAC Ethernet device.

config RTL8201FRVB_WOL_ACTIVE_LOW_MODE
	bool "Set phy to use active low mode for WOL support"
	depends on SMAC_WOL
	default n
	help
	  Say Y if you want set active low mode for WOL support on the
	  SMAC Ethernet device.
