diff options
author | Nathan Sullivan <nathan.sullivan@ni.com> | 2015-05-22 16:22:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-22 20:58:09 +0200 |
commit | 222ca8e0c183309081bdb0fd5827fc2a922be3ad (patch) | |
tree | a30debc900238de4539cb48157adce7e53c18ead /drivers/net/ethernet/cadence/macb.h | |
parent | net: macb: Document zynq gem dt binding (diff) | |
download | linux-222ca8e0c183309081bdb0fd5827fc2a922be3ad.tar.xz linux-222ca8e0c183309081bdb0fd5827fc2a922be3ad.zip |
net: macb: Disable half duplex gigabit on Zynq
According to the Zynq TRM, gigabit half duplex is not supported. Add a
new cap and compatible string so Zynq can avoid advertising that mode.
Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.h')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h index eb7d76f7bf6a..24b1d9bcd865 100644 --- a/drivers/net/ethernet/cadence/macb.h +++ b/drivers/net/ethernet/cadence/macb.h @@ -393,6 +393,7 @@ #define MACB_CAPS_ISR_CLEAR_ON_WRITE 0x00000001 #define MACB_CAPS_USRIO_HAS_CLKEN 0x00000002 #define MACB_CAPS_USRIO_DEFAULT_IS_MII 0x00000004 +#define MACB_CAPS_NO_GIGABIT_HALF 0x00000008 #define MACB_CAPS_FIFO_MODE 0x10000000 #define MACB_CAPS_GIGABIT_MODE_AVAILABLE 0x20000000 #define MACB_CAPS_SG_DISABLED 0x40000000 |