#
# 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_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
