From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dejCI-0003rl-Ao for barebox@lists.infradead.org; Mon, 07 Aug 2017 14:40:03 +0000 From: Oleksij Rempel Date: Mon, 7 Aug 2017 16:39:20 +0200 Message-Id: <20170807143927.1641-6-linux@rempel-privat.de> In-Reply-To: <20170807143927.1641-1-linux@rempel-privat.de> References: <20170807143927.1641-1-linux@rempel-privat.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 06/13] net: ag71xx: bit 19 should be set to 1 for GE0 To: barebox@lists.infradead.org From: Antony Pavlov Signed-off-by: Antony Pavlov --- drivers/net/ag71xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ag71xx.c b/drivers/net/ag71xx.c index b2e066be3..d13bf9171 100644 --- a/drivers/net/ag71xx.c +++ b/drivers/net/ag71xx.c @@ -492,7 +492,8 @@ static int ag71xx_probe(struct device_d *dev) ag71xx_wr(priv, AG71XX_REG_FIFO_CFG2, 0xAAA0555); ag71xx_wr(priv, AG71XX_REG_FIFO_CFG4, 0x3ffff); - ag71xx_wr(priv, AG71XX_REG_FIFO_CFG5, 0x66b82); + /* bit 19 should be set to 1 for GE0 */ + ag71xx_wr(priv, AG71XX_REG_FIFO_CFG5, (0x66b82) | (1 << 19)); ag71xx_wr(priv, AG71XX_REG_FIFO_CFG3, 0x1f00140); priv->rx_buffer = xmemalign(PAGE_SIZE, NO_OF_RX_FIFOS * MAX_RBUFF_SZ); -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox