Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79088
b: refs/heads/master
c: 4602e66
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg authored and David S. Miller committed Jan 28, 2008
1 parent bb82c4d commit 261b6a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9305a775210030a09f2e373e72920573770a37de
refs/heads/master: 4602e665ff45e0af4cc64a6caf4c872f18d14148
18 changes: 7 additions & 11 deletions trunk/drivers/net/ipg.h
Original file line number Diff line number Diff line change
Expand Up @@ -478,38 +478,34 @@ enum ipg_regs {
* Tune
*/

/* Miscellaneous Constants. */
#define TRUE 1
#define FALSE 0

/* Assign IPG_APPEND_FCS_ON_TX > 0 for auto FCS append on TX. */
#define IPG_APPEND_FCS_ON_TX TRUE
#define IPG_APPEND_FCS_ON_TX 1

/* Assign IPG_APPEND_FCS_ON_TX > 0 for auto FCS strip on RX. */
#define IPG_STRIP_FCS_ON_RX TRUE
#define IPG_STRIP_FCS_ON_RX 1

/* Assign IPG_DROP_ON_RX_ETH_ERRORS > 0 to drop RX frames with
* Ethernet errors.
*/
#define IPG_DROP_ON_RX_ETH_ERRORS TRUE
#define IPG_DROP_ON_RX_ETH_ERRORS 1

/* Assign IPG_INSERT_MANUAL_VLAN_TAG > 0 to insert VLAN tags manually
* (via TFC).
*/
#define IPG_INSERT_MANUAL_VLAN_TAG FALSE
#define IPG_INSERT_MANUAL_VLAN_TAG 0

/* Assign IPG_ADD_IPCHECKSUM_ON_TX > 0 for auto IP checksum on TX. */
#define IPG_ADD_IPCHECKSUM_ON_TX FALSE
#define IPG_ADD_IPCHECKSUM_ON_TX 0

/* Assign IPG_ADD_TCPCHECKSUM_ON_TX > 0 for auto TCP checksum on TX.
* DO NOT USE FOR SILICON REVISIONS B3 AND EARLIER.
*/
#define IPG_ADD_TCPCHECKSUM_ON_TX FALSE
#define IPG_ADD_TCPCHECKSUM_ON_TX 0

/* Assign IPG_ADD_UDPCHECKSUM_ON_TX > 0 for auto UDP checksum on TX.
* DO NOT USE FOR SILICON REVISIONS B3 AND EARLIER.
*/
#define IPG_ADD_UDPCHECKSUM_ON_TX FALSE
#define IPG_ADD_UDPCHECKSUM_ON_TX 0

/* If inserting VLAN tags manually, assign the IPG_MANUAL_VLAN_xx
* constants as desired.
Expand Down

0 comments on commit 261b6a6

Please sign in to comment.