summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2017-01-05 10:54:27 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-05 19:24:48 +0300
commit9b60047a9c950e3fde186466774ffd1ab1104d4e (patch)
treeaab5084f52fb967234dfd9647c04fbe838f6e961 /drivers
parente02003b515e8d95f40f20f213622bb82510873d2 (diff)
downloadlinux-9b60047a9c950e3fde186466774ffd1ab1104d4e.tar.xz
r8169: fix the typo in the comment
>From the realtek data sheet, the PID0 should be bit 0. Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/realtek/r8169.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 44389c90056a..8f1623bf2134 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -696,7 +696,7 @@ enum rtl_tx_desc_bit_1 {
enum rtl_rx_desc_bit {
/* Rx private */
PID1 = (1 << 18), /* Protocol ID bit 1/2 */
- PID0 = (1 << 17), /* Protocol ID bit 2/2 */
+ PID0 = (1 << 17), /* Protocol ID bit 0/2 */
#define RxProtoUDP (PID1)
#define RxProtoTCP (PID0)