| David Gibson | 1d3bb99 | 2007-08-23 13:56:01 +1000 | [diff] [blame] | 1 | config IBM_NEW_EMAC | 
|  | 2 | tristate "IBM EMAC Ethernet support" | 
| Kumar Gala | 83dad4c | 2008-09-22 14:52:19 -0700 | [diff] [blame] | 3 | depends on PPC_DCR | 
| Josh Boyer | 8b8091f | 2008-06-17 19:27:55 -0400 | [diff] [blame] | 4 | select CRC32 | 
| David Gibson | 1d3bb99 | 2007-08-23 13:56:01 +1000 | [diff] [blame] | 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. | 
|  | 9 |  | 
|  | 10 | config IBM_NEW_EMAC_RXB | 
|  | 11 | int "Number of receive buffers" | 
|  | 12 | depends on IBM_NEW_EMAC | 
|  | 13 | default "128" | 
|  | 14 |  | 
|  | 15 | config IBM_NEW_EMAC_TXB | 
|  | 16 | int "Number of transmit buffers" | 
|  | 17 | depends on IBM_NEW_EMAC | 
|  | 18 | default "64" | 
|  | 19 |  | 
|  | 20 | config IBM_NEW_EMAC_POLL_WEIGHT | 
|  | 21 | int "MAL NAPI polling weight" | 
|  | 22 | depends on IBM_NEW_EMAC | 
|  | 23 | default "32" | 
|  | 24 |  | 
|  | 25 | config IBM_NEW_EMAC_RX_COPY_THRESHOLD | 
|  | 26 | int "RX skb copy threshold (bytes)" | 
|  | 27 | depends on IBM_NEW_EMAC | 
|  | 28 | default "256" | 
|  | 29 |  | 
|  | 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. | 
|  | 39 |  | 
|  | 40 | If unsure, set to 0. | 
|  | 41 |  | 
|  | 42 | config IBM_NEW_EMAC_DEBUG | 
|  | 43 | bool "Debugging" | 
|  | 44 | depends on IBM_NEW_EMAC | 
|  | 45 | default n | 
|  | 46 |  | 
|  | 47 | # The options below has to be select'ed by the respective | 
|  | 48 | # processor types or platforms | 
|  | 49 |  | 
|  | 50 | config IBM_NEW_EMAC_ZMII | 
|  | 51 | bool | 
|  | 52 | default n | 
|  | 53 |  | 
|  | 54 | config IBM_NEW_EMAC_RGMII | 
|  | 55 | bool | 
|  | 56 | default n | 
|  | 57 |  | 
|  | 58 | config IBM_NEW_EMAC_TAH | 
|  | 59 | bool | 
|  | 60 | default n | 
|  | 61 |  | 
|  | 62 | config IBM_NEW_EMAC_EMAC4 | 
|  | 63 | bool | 
|  | 64 | default n | 
| Josh Boyer | b68d185 | 2008-09-04 02:57:57 +0000 | [diff] [blame] | 65 |  | 
|  | 66 | config IBM_NEW_EMAC_NO_FLOW_CTRL | 
|  | 67 | bool | 
|  | 68 | default n | 
| Josh Boyer | ec4f994 | 2008-09-04 04:03:45 +0000 | [diff] [blame] | 69 |  | 
|  | 70 | config IBM_NEW_EMAC_MAL_CLR_ICINTSTAT | 
|  | 71 | bool | 
|  | 72 | default n | 
|  | 73 |  | 
|  | 74 | config IBM_NEW_EMAC_MAL_COMMON_ERR | 
|  | 75 | bool | 
|  | 76 | default n |