aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c507.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/3c507.c')
-rw-r--r--drivers/net/3c507.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c507.c b/drivers/net/3c507.c
index 605f1d17a8f3..fbc231153e55 100644
--- a/drivers/net/3c507.c
+++ b/drivers/net/3c507.c
@@ -836,8 +836,8 @@ static void el16_rx(struct net_device *dev)
836 void __iomem *data_frame = lp->base + data_buffer_addr; 836 void __iomem *data_frame = lp->base + data_buffer_addr;
837 ushort pkt_len = readw(data_frame); 837 ushort pkt_len = readw(data_frame);
838 838
839 if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22 839 if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22 ||
840 || (pkt_len & 0xC000) != 0xC000) { 840 (pkt_len & 0xC000) != 0xC000) {
841 pr_err("%s: Rx frame at %#x corrupted, " 841 pr_err("%s: Rx frame at %#x corrupted, "
842 "status %04x cmd %04x next %04x " 842 "status %04x cmd %04x next %04x "
843 "data-buf @%04x %04x.\n", 843 "data-buf @%04x %04x.\n",