From: Valentin Longchamp Date: Tue, 31 May 2011 02:12:51 +0000 (+0000) Subject: mvgbe: enable configurability of PORT_SERIAL_CONTROL_VALUE X-Git-Tag: v2011.06-rc2~7^2^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d3920144e132eb7f30d40d4a5ad13ae85d2e2818;p=oweals%2Fu-boot.git mvgbe: enable configurability of PORT_SERIAL_CONTROL_VALUE This allows this configuration to be defined differently for some boards that request it. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Heiko Schocher cc: Wolfgang Denk cc: Detlev Zundel cc: Prafulla Wadaskar --- diff --git a/drivers/net/mvgbe.h b/drivers/net/mvgbe.h index 3de98d01bd..d8a5429de4 100644 --- a/drivers/net/mvgbe.h +++ b/drivers/net/mvgbe.h @@ -84,6 +84,7 @@ MVGBE_TX_BURST_SIZE_16_64BIT) /* Default port serial control value */ +#ifndef PORT_SERIAL_CONTROL_VALUE #define PORT_SERIAL_CONTROL_VALUE ( \ MVGBE_FORCE_LINK_PASS | \ MVGBE_DIS_AUTO_NEG_FOR_DUPLX | \ @@ -101,6 +102,7 @@ MVGBE_CLR_EXT_LOOPBACK | \ MVGBE_SET_FULL_DUPLEX_MODE | \ MVGBE_DIS_FLOW_CTRL_TX_RX_IN_FULL_DUPLEX) +#endif /* Tx WRR confoguration macros */ #define PORT_MAX_TRAN_UNIT 0x24 /* MTU register (default) 9KByte */