1# SPDX-License-Identifier: GPL-2.0-only
2config IBM_EMAC
3	tristate "IBM EMAC Ethernet support"
4	depends on PPC_DCR
5	select CRC32
6	select PHYLIB
7	help
8	  This driver supports the IBM EMAC family of Ethernet controllers
9	  typically found on 4xx embedded PowerPC chips, but also on the
10	  Axon southbridge for Cell.
11
12config IBM_EMAC_RXB
13	int "Number of receive buffers"
14	depends on IBM_EMAC
15	default "128"
16
17config IBM_EMAC_TXB
18	int "Number of transmit buffers"
19	depends on IBM_EMAC
20	default "64"
21
22config IBM_EMAC_POLL_WEIGHT
23	int "MAL NAPI polling weight"
24	depends on IBM_EMAC
25	default "32"
26
27config IBM_EMAC_RX_COPY_THRESHOLD
28	int "RX skb copy threshold (bytes)"
29	depends on IBM_EMAC
30	default "256"
31
32config IBM_EMAC_DEBUG
33	bool "Debugging"
34	depends on IBM_EMAC
35	default n
36
37# The options below has to be select'ed by the respective
38# processor types or platforms
39
40config IBM_EMAC_ZMII
41	bool
42	default n
43
44config IBM_EMAC_RGMII
45	bool
46	default n
47
48config IBM_EMAC_TAH
49	bool
50	default n
51
52config IBM_EMAC_EMAC4
53	bool
54	default n
55
56config IBM_EMAC_NO_FLOW_CTRL
57	bool
58	default n
59
60config IBM_EMAC_MAL_CLR_ICINTSTAT
61	bool
62	default n
63
64config IBM_EMAC_MAL_COMMON_ERR
65	bool
66	default n
67