sfc: Don't use enums as a bitmask.
[zen-stable.git] / drivers / net / ibm_newemac / Kconfig
blob78a1628c9892f71514cd781eed6a62b56fa0de48
1 config IBM_NEW_EMAC
2         tristate "IBM EMAC Ethernet support"
3         depends on PPC_DCR
4         select CRC32
5         help
6           This driver supports the IBM EMAC family of Ethernet controllers
7           typically found on 4xx embedded PowerPC chips, but also on the
8           Axon southbridge for Cell.
10 config IBM_NEW_EMAC_RXB
11         int "Number of receive buffers"
12         depends on IBM_NEW_EMAC
13         default "128"
15 config IBM_NEW_EMAC_TXB
16         int "Number of transmit buffers"
17         depends on IBM_NEW_EMAC
18         default "64"
20 config IBM_NEW_EMAC_POLL_WEIGHT
21         int "MAL NAPI polling weight"
22         depends on IBM_NEW_EMAC
23         default "32"
25 config IBM_NEW_EMAC_RX_COPY_THRESHOLD
26         int "RX skb copy threshold (bytes)"
27         depends on IBM_NEW_EMAC
28         default "256"
30 config IBM_NEW_EMAC_RX_SKB_HEADROOM
31         int "Additional RX skb headroom (bytes)"
32         depends on IBM_NEW_EMAC
33         default "0"
34         help
35           Additional receive skb headroom. Note, that driver
36           will always reserve at least 2 bytes to make IP header
37           aligned, so usually there is no need to add any additional
38           headroom.
40           If unsure, set to 0.
42 config IBM_NEW_EMAC_DEBUG
43         bool "Debugging"
44         depends on IBM_NEW_EMAC
45         default n
47 # The options below has to be select'ed by the respective
48 # processor types or platforms
50 config IBM_NEW_EMAC_ZMII
51         bool
52         default n
54 config IBM_NEW_EMAC_RGMII
55         bool
56         default n
58 config IBM_NEW_EMAC_TAH
59         bool
60         default n
62 config IBM_NEW_EMAC_EMAC4
63         bool
64         default n
66 config IBM_NEW_EMAC_NO_FLOW_CTRL
67         bool
68         default n
70 config IBM_NEW_EMAC_MAL_CLR_ICINTSTAT
71         bool
72         default n
74 config IBM_NEW_EMAC_MAL_COMMON_ERR
75         bool
76         default n