Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f42c302 authored by Ilia Lin's avatar Ilia Lin
Browse files

ax88179_178a: Correct the RX error definition in RX header



Correct the definition of AX_RXHDR_CRC_ERR and
AX_RXHDR_DROP_ERR. They are BIT29 and BIT31 in pkt_hdr
seperately.

Change-Id: I3d3b29874a94ab4ba6c94ee7d40d2b75afbd0027
Signed-off-by: default avatarFreddy Xin <freddy@asix.com.tw>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Git-commit: 7e78b83cb95dd2c3a6c829c5d861d515c1d817a5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[ilialin@codeaurora.org: Backported to the msm-3.10]
Signed-off-by: default avatarIlia Lin <ilialin@codeaurora.org>
parent 512fe370
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/*
 * ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet Devices
 *
 * Copyright (C) 2011-2013 ASIX
 * Copyright (C) 2011-2014 ASIX
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License
@@ -36,8 +36,8 @@
#define AX_RXHDR_L4_TYPE_TCP			16
#define AX_RXHDR_L3CSUM_ERR			2
#define AX_RXHDR_L4CSUM_ERR			1
#define AX_RXHDR_CRC_ERR			((u32)BIT(31))
#define AX_RXHDR_DROP_ERR			((u32)BIT(30))
#define AX_RXHDR_CRC_ERR			((u32)BIT(29))
#define AX_RXHDR_DROP_ERR			((u32)BIT(31))
#define AX_ACCESS_MAC				0x01
#define AX_ACCESS_PHY				0x02
#define AX_ACCESS_EEPROM			0x04