netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 1/3] bgmac: fix descriptor frame start/end definitions
@ 2015-03-23 11:35 Felix Fietkau
  2015-03-23 11:35 ` [PATCH net-next 2/3] bgmac: implement GRO and use build_skb Felix Fietkau
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Felix Fietkau @ 2015-03-23 11:35 UTC (permalink / raw)
  To: netdev; +Cc: zajec5, hauke

The start-of-frame and end-of-frame bits were accidentally swapped.
In the current code it does not make any difference, since they are
always used together.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
 drivers/net/ethernet/broadcom/bgmac.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/broadcom/bgmac.h b/drivers/net/ethernet/broadcom/bgmac.h
index 89fa5bc..1f9f36f 100644
--- a/drivers/net/ethernet/broadcom/bgmac.h
+++ b/drivers/net/ethernet/broadcom/bgmac.h
@@ -345,8 +345,8 @@
 
 #define BGMAC_DESC_CTL0_EOT			0x10000000	/* End of ring */
 #define BGMAC_DESC_CTL0_IOC			0x20000000	/* IRQ on complete */
-#define BGMAC_DESC_CTL0_SOF			0x40000000	/* Start of frame */
-#define BGMAC_DESC_CTL0_EOF			0x80000000	/* End of frame */
+#define BGMAC_DESC_CTL0_EOF			0x40000000	/* End of frame */
+#define BGMAC_DESC_CTL0_SOF			0x80000000	/* Start of frame */
 #define BGMAC_DESC_CTL1_LEN			0x00001FFF
 
 #define BGMAC_PHY_NOREGS			0x1E
-- 
2.2.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-23 20:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-23 11:35 [PATCH net-next 1/3] bgmac: fix descriptor frame start/end definitions Felix Fietkau
2015-03-23 11:35 ` [PATCH net-next 2/3] bgmac: implement GRO and use build_skb Felix Fietkau
2015-03-23 20:56   ` David Miller
2015-03-23 11:35 ` [PATCH net-next 3/3] bgmac: implement scatter/gather support Felix Fietkau
2015-03-23 20:56   ` David Miller
2015-03-23 20:56 ` [PATCH net-next 1/3] bgmac: fix descriptor frame start/end definitions David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).