Skip to content

Commit

Permalink
r8169: fix the typo in the comment
Browse files Browse the repository at this point in the history
>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>
  • Loading branch information
Zhu Yanjun authored and David S. Miller committed Jan 5, 2017
1 parent e02003b commit 9b60047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/realtek/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9b60047

Please sign in to comment.