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