1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 29aa32835SJeff Kirsherconfig IBM_EMAC 39aa32835SJeff Kirsher tristate "IBM EMAC Ethernet support" 49aa32835SJeff Kirsher depends on PPC_DCR 59aa32835SJeff Kirsher select CRC32 6a577ca6bSChristian Lamparter select PHYLIB 79aa32835SJeff Kirsher help 89aa32835SJeff Kirsher This driver supports the IBM EMAC family of Ethernet controllers 99aa32835SJeff Kirsher typically found on 4xx embedded PowerPC chips, but also on the 109aa32835SJeff Kirsher Axon southbridge for Cell. 119aa32835SJeff Kirsher 129aa32835SJeff Kirsherconfig IBM_EMAC_RXB 139aa32835SJeff Kirsher int "Number of receive buffers" 149aa32835SJeff Kirsher depends on IBM_EMAC 159aa32835SJeff Kirsher default "128" 169aa32835SJeff Kirsher 179aa32835SJeff Kirsherconfig IBM_EMAC_TXB 189aa32835SJeff Kirsher int "Number of transmit buffers" 199aa32835SJeff Kirsher depends on IBM_EMAC 209aa32835SJeff Kirsher default "64" 219aa32835SJeff Kirsher 229aa32835SJeff Kirsherconfig IBM_EMAC_POLL_WEIGHT 239aa32835SJeff Kirsher int "MAL NAPI polling weight" 249aa32835SJeff Kirsher depends on IBM_EMAC 259aa32835SJeff Kirsher default "32" 269aa32835SJeff Kirsher 279aa32835SJeff Kirsherconfig IBM_EMAC_RX_COPY_THRESHOLD 289aa32835SJeff Kirsher int "RX skb copy threshold (bytes)" 299aa32835SJeff Kirsher depends on IBM_EMAC 309aa32835SJeff Kirsher default "256" 319aa32835SJeff Kirsher 329aa32835SJeff Kirsherconfig IBM_EMAC_DEBUG 339aa32835SJeff Kirsher bool "Debugging" 349aa32835SJeff Kirsher depends on IBM_EMAC 359aa32835SJeff Kirsher default n 369aa32835SJeff Kirsher 379aa32835SJeff Kirsher# The options below has to be select'ed by the respective 389aa32835SJeff Kirsher# processor types or platforms 399aa32835SJeff Kirsher 409aa32835SJeff Kirsherconfig IBM_EMAC_ZMII 419aa32835SJeff Kirsher bool 429aa32835SJeff Kirsher default n 439aa32835SJeff Kirsher 449aa32835SJeff Kirsherconfig IBM_EMAC_RGMII 459aa32835SJeff Kirsher bool 469aa32835SJeff Kirsher default n 479aa32835SJeff Kirsher 489aa32835SJeff Kirsherconfig IBM_EMAC_TAH 499aa32835SJeff Kirsher bool 509aa32835SJeff Kirsher default n 519aa32835SJeff Kirsher 529aa32835SJeff Kirsherconfig IBM_EMAC_EMAC4 539aa32835SJeff Kirsher bool 549aa32835SJeff Kirsher default n 559aa32835SJeff Kirsher 569aa32835SJeff Kirsherconfig IBM_EMAC_NO_FLOW_CTRL 579aa32835SJeff Kirsher bool 589aa32835SJeff Kirsher default n 599aa32835SJeff Kirsher 609aa32835SJeff Kirsherconfig IBM_EMAC_MAL_CLR_ICINTSTAT 619aa32835SJeff Kirsher bool 629aa32835SJeff Kirsher default n 639aa32835SJeff Kirsher 649aa32835SJeff Kirsherconfig IBM_EMAC_MAL_COMMON_ERR 659aa32835SJeff Kirsher bool 669aa32835SJeff Kirsher default n 67