net: macb: Disable half duplex gigabit on Zynq
authorNathan Sullivan <nathan.sullivan@ni.com>
Fri, 22 May 2015 14:22:10 +0000 (09:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2015 18:58:09 +0000 (14:58 -0400)
commit222ca8e0c183309081bdb0fd5827fc2a922be3ad
treea30debc900238de4539cb48157adce7e53c18ead
parent6db99596d11a99f59e8f8f9353b22ef76e31ad6a
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>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h