xref: /openbmc/linux/drivers/net/ethernet/ibm/emac/Kconfig (revision 9aa32835)
19aa32835SJeff Kirsherconfig IBM_EMAC
29aa32835SJeff Kirsher	tristate "IBM EMAC Ethernet support"
39aa32835SJeff Kirsher	depends on PPC_DCR
49aa32835SJeff Kirsher	select CRC32
59aa32835SJeff Kirsher	help
69aa32835SJeff Kirsher	  This driver supports the IBM EMAC family of Ethernet controllers
79aa32835SJeff Kirsher	  typically found on 4xx embedded PowerPC chips, but also on the
89aa32835SJeff Kirsher	  Axon southbridge for Cell.
99aa32835SJeff Kirsher
109aa32835SJeff Kirsherconfig IBM_EMAC_RXB
119aa32835SJeff Kirsher	int "Number of receive buffers"
129aa32835SJeff Kirsher	depends on IBM_EMAC
139aa32835SJeff Kirsher	default "128"
149aa32835SJeff Kirsher
159aa32835SJeff Kirsherconfig IBM_EMAC_TXB
169aa32835SJeff Kirsher	int "Number of transmit buffers"
179aa32835SJeff Kirsher	depends on IBM_EMAC
189aa32835SJeff Kirsher	default "64"
199aa32835SJeff Kirsher
209aa32835SJeff Kirsherconfig IBM_EMAC_POLL_WEIGHT
219aa32835SJeff Kirsher	int "MAL NAPI polling weight"
229aa32835SJeff Kirsher	depends on IBM_EMAC
239aa32835SJeff Kirsher	default "32"
249aa32835SJeff Kirsher
259aa32835SJeff Kirsherconfig IBM_EMAC_RX_COPY_THRESHOLD
269aa32835SJeff Kirsher	int "RX skb copy threshold (bytes)"
279aa32835SJeff Kirsher	depends on IBM_EMAC
289aa32835SJeff Kirsher	default "256"
299aa32835SJeff Kirsher
309aa32835SJeff Kirsherconfig IBM_EMAC_RX_SKB_HEADROOM
319aa32835SJeff Kirsher	int "Additional RX skb headroom (bytes)"
329aa32835SJeff Kirsher	depends on IBM_EMAC
339aa32835SJeff Kirsher	default "0"
349aa32835SJeff Kirsher	help
359aa32835SJeff Kirsher	  Additional receive skb headroom. Note, that driver
369aa32835SJeff Kirsher	  will always reserve at least 2 bytes to make IP header
379aa32835SJeff Kirsher	  aligned, so usually there is no need to add any additional
389aa32835SJeff Kirsher	  headroom.
399aa32835SJeff Kirsher
409aa32835SJeff Kirsher	  If unsure, set to 0.
419aa32835SJeff Kirsher
429aa32835SJeff Kirsherconfig IBM_EMAC_DEBUG
439aa32835SJeff Kirsher	bool "Debugging"
449aa32835SJeff Kirsher	depends on IBM_EMAC
459aa32835SJeff Kirsher	default n
469aa32835SJeff Kirsher
479aa32835SJeff Kirsher# The options below has to be select'ed by the respective
489aa32835SJeff Kirsher# processor types or platforms
499aa32835SJeff Kirsher
509aa32835SJeff Kirsherconfig IBM_EMAC_ZMII
519aa32835SJeff Kirsher	bool
529aa32835SJeff Kirsher	default n
539aa32835SJeff Kirsher
549aa32835SJeff Kirsherconfig IBM_EMAC_RGMII
559aa32835SJeff Kirsher	bool
569aa32835SJeff Kirsher	default n
579aa32835SJeff Kirsher
589aa32835SJeff Kirsherconfig IBM_EMAC_TAH
599aa32835SJeff Kirsher	bool
609aa32835SJeff Kirsher	default n
619aa32835SJeff Kirsher
629aa32835SJeff Kirsherconfig IBM_EMAC_EMAC4
639aa32835SJeff Kirsher	bool
649aa32835SJeff Kirsher	default n
659aa32835SJeff Kirsher
669aa32835SJeff Kirsherconfig IBM_EMAC_NO_FLOW_CTRL
679aa32835SJeff Kirsher	bool
689aa32835SJeff Kirsher	default n
699aa32835SJeff Kirsher
709aa32835SJeff Kirsherconfig IBM_EMAC_MAL_CLR_ICINTSTAT
719aa32835SJeff Kirsher	bool
729aa32835SJeff Kirsher	default n
739aa32835SJeff Kirsher
749aa32835SJeff Kirsherconfig IBM_EMAC_MAL_COMMON_ERR
759aa32835SJeff Kirsher	bool
769aa32835SJeff Kirsher	default n
77