0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config IBM_EMAC
0003 tristate "IBM EMAC Ethernet support"
0004 depends on PPC_DCR
0005 select CRC32
0006 select PHYLIB
0007 help
0008 This driver supports the IBM EMAC family of Ethernet controllers
0009 typically found on 4xx embedded PowerPC chips, but also on the
0010 Axon southbridge for Cell.
0011
0012 config IBM_EMAC_RXB
0013 int "Number of receive buffers"
0014 depends on IBM_EMAC
0015 default "128"
0016
0017 config IBM_EMAC_TXB
0018 int "Number of transmit buffers"
0019 depends on IBM_EMAC
0020 default "64"
0021
0022 config IBM_EMAC_POLL_WEIGHT
0023 int "MAL NAPI polling weight"
0024 depends on IBM_EMAC
0025 default "32"
0026
0027 config IBM_EMAC_RX_COPY_THRESHOLD
0028 int "RX skb copy threshold (bytes)"
0029 depends on IBM_EMAC
0030 default "256"
0031
0032 config IBM_EMAC_DEBUG
0033 bool "Debugging"
0034 depends on IBM_EMAC
0035 default n
0036
0037 # The options below has to be select'ed by the respective
0038 # processor types or platforms
0039
0040 config IBM_EMAC_ZMII
0041 bool
0042 default n
0043
0044 config IBM_EMAC_RGMII
0045 bool
0046 default n
0047
0048 config IBM_EMAC_TAH
0049 bool
0050 default n
0051
0052 config IBM_EMAC_EMAC4
0053 bool
0054 default n
0055
0056 config IBM_EMAC_NO_FLOW_CTRL
0057 bool
0058 default n
0059
0060 config IBM_EMAC_MAL_CLR_ICINTSTAT
0061 bool
0062 default n
0063
0064 config IBM_EMAC_MAL_COMMON_ERR
0065 bool
0066 default n