]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
9aa32835 | 2 | config IBM_EMAC |
1d3bb996 | 3 | tristate "IBM EMAC Ethernet support" |
83dad4c3 | 4 | depends on PPC_DCR |
8b8091fb | 5 | select CRC32 |
a577ca6b | 6 | select PHYLIB |
1d3bb996 DG |
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 | ||
9aa32835 | 12 | config IBM_EMAC_RXB |
1d3bb996 | 13 | int "Number of receive buffers" |
9aa32835 | 14 | depends on IBM_EMAC |
1d3bb996 DG |
15 | default "128" |
16 | ||
9aa32835 | 17 | config IBM_EMAC_TXB |
1d3bb996 | 18 | int "Number of transmit buffers" |
9aa32835 | 19 | depends on IBM_EMAC |
1d3bb996 DG |
20 | default "64" |
21 | ||
9aa32835 | 22 | config IBM_EMAC_POLL_WEIGHT |
1d3bb996 | 23 | int "MAL NAPI polling weight" |
9aa32835 | 24 | depends on IBM_EMAC |
1d3bb996 DG |
25 | default "32" |
26 | ||
9aa32835 | 27 | config IBM_EMAC_RX_COPY_THRESHOLD |
1d3bb996 | 28 | int "RX skb copy threshold (bytes)" |
9aa32835 | 29 | depends on IBM_EMAC |
1d3bb996 DG |
30 | default "256" |
31 | ||
9aa32835 | 32 | config IBM_EMAC_DEBUG |
1d3bb996 | 33 | bool "Debugging" |
9aa32835 | 34 | depends on IBM_EMAC |
1d3bb996 DG |
35 | default n |
36 | ||
37 | # The options below has to be select'ed by the respective | |
38 | # processor types or platforms | |
39 | ||
9aa32835 | 40 | config IBM_EMAC_ZMII |
1d3bb996 DG |
41 | bool |
42 | default n | |
43 | ||
9aa32835 | 44 | config IBM_EMAC_RGMII |
1d3bb996 DG |
45 | bool |
46 | default n | |
47 | ||
9aa32835 | 48 | config IBM_EMAC_TAH |
1d3bb996 DG |
49 | bool |
50 | default n | |
51 | ||
9aa32835 | 52 | config IBM_EMAC_EMAC4 |
1d3bb996 DG |
53 | bool |
54 | default n | |
b68d185a | 55 | |
9aa32835 | 56 | config IBM_EMAC_NO_FLOW_CTRL |
b68d185a JB |
57 | bool |
58 | default n | |
ec4f9945 | 59 | |
9aa32835 | 60 | config IBM_EMAC_MAL_CLR_ICINTSTAT |
ec4f9945 JB |
61 | bool |
62 | default n | |
63 | ||
9aa32835 | 64 | config IBM_EMAC_MAL_COMMON_ERR |
ec4f9945 JB |
65 | bool |
66 | default n |