From 17f69685add5d7c7b091170795b8da4b41f39390 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Mon, 12 May 2008 07:12:36 +0200 Subject: [PATCH] Squashed commit of the following: commit 1ad8f4fbb706d9b2a41db9fd521b45482acdd510 Author: Michael Mueller Date: Mon May 12 04:38:01 2008 +0200 3c527: The offset to start the receive from was already in the correct byte order since read from the card directly. So the byte reordering was duplicate. commit 8b9dae475a5f0cc0d2675d43a49992204409e7b7 Author: Michael Mueller Date: Thu May 8 22:30:30 2008 +0200 Still not working for receive on the POWER platform. --- drivers/net/3c527.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/3c527.c b/drivers/net/3c527.c index a3af10cc5db..c2ee70b82f8 100644 --- a/drivers/net/3c527.c +++ b/drivers/net/3c527.c @@ -702,7 +702,7 @@ static void mc32_start_transceiver(struct net_device *dev) { /* Give the card the offset to the post-EOL-bit RX descriptor */ mc32_ready_poll(dev); lp->rx_box->mbox=0; - lp->rx_box->data[0]=cpu_to_le16(lp->rx_ring[prev_rx(lp->rx_ring_tail)].p->next); + lp->rx_box->data[0]=lp->rx_ring[prev_rx(lp->rx_ring_tail)].p->next; outb(HOST_CMD_START_RX, ioaddr+HOST_CMD); mc32_ready_poll(dev); -- 2.11.4.GIT