xref: /openbmc/linux/drivers/net/ethernet/ibm/emac/Kconfig (revision 93d90ad7)
1config IBM_EMAC
2	tristate "IBM EMAC Ethernet support"
3	depends on PPC_DCR
4	select CRC32
5	help
6	  This driver supports the IBM EMAC family of Ethernet controllers
7	  typically found on 4xx embedded PowerPC chips, but also on the
8	  Axon southbridge for Cell.
9
10config IBM_EMAC_RXB
11	int "Number of receive buffers"
12	depends on IBM_EMAC
13	default "128"
14
15config IBM_EMAC_TXB
16	int "Number of transmit buffers"
17	depends on IBM_EMAC
18	default "64"
19
20config IBM_EMAC_POLL_WEIGHT
21	int "MAL NAPI polling weight"
22	depends on IBM_EMAC
23	default "32"
24
25config IBM_EMAC_RX_COPY_THRESHOLD
26	int "RX skb copy threshold (bytes)"
27	depends on IBM_EMAC
28	default "256"
29
30config IBM_EMAC_RX_SKB_HEADROOM
31	int "Additional RX skb headroom (bytes)"
32	depends on IBM_EMAC
33	default "0"
34	help
35	  Additional receive skb headroom. Note, that driver
36	  will always reserve at least 2 bytes to make IP header
37	  aligned, so usually there is no need to add any additional
38	  headroom.
39
40	  If unsure, set to 0.
41
42config IBM_EMAC_DEBUG
43	bool "Debugging"
44	depends on IBM_EMAC
45	default n
46
47# The options below has to be select'ed by the respective
48# processor types or platforms
49
50config IBM_EMAC_ZMII
51	bool
52	default n
53
54config IBM_EMAC_RGMII
55	bool
56	default n
57
58config IBM_EMAC_TAH
59	bool
60	default n
61
62config IBM_EMAC_EMAC4
63	bool
64	default n
65
66config IBM_EMAC_NO_FLOW_CTRL
67	bool
68	default n
69
70config IBM_EMAC_MAL_CLR_ICINTSTAT
71	bool
72	default n
73
74config IBM_EMAC_MAL_COMMON_ERR
75	bool
76	default n
77