]> git.karo-electronics.de Git - linux-beck.git/commitdiff
r8169: fix the typo in the comment
authorZhu Yanjun <yanjun.zhu@oracle.com>
Thu, 5 Jan 2017 07:54:27 +0000 (02:54 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2017 16:24:48 +0000 (11:24 -0500)
>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>
drivers/net/ethernet/realtek/r8169.c

index 44389c90056a0f197a97f5d36478ec597f266004..8f1623bf2134700498198a98cb6aca9dddd2a6cd 100644 (file)
@@ -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)