From: Ian Jackson Date: Mon, 26 Aug 2002 10:38:52 +0000 (-0400) Subject: Fix typos in 8139cp net driver RxProto{TCP,UDP} constants X-Git-Tag: v2.5.32~16^2 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=aa13002bdc63aed72219ca49923557d1f3bdbc9e;p=history.git Fix typos in 8139cp net driver RxProto{TCP,UDP} constants --- diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index 3f7d7eb5df2a..8573fb4b9c92 100644 --- a/drivers/net/8139cp.c +++ b/drivers/net/8139cp.c @@ -188,8 +188,8 @@ enum { NormalTxPoll = (1 << 6), /* One or more normal Tx packets to send */ PID1 = (1 << 17), /* 2 protocol id bits: 0==non-IP, */ PID0 = (1 << 16), /* 1==UDP/IP, 2==TCP/IP, 3==IP */ - RxProtoTCP = 2, - RxProtoUDP = 1, + RxProtoTCP = 1, + RxProtoUDP = 2, RxProtoIP = 3, TxFIFOUnder = (1 << 25), /* Tx FIFO underrun */ TxOWC = (1 << 22), /* Tx Out-of-window collision */