diff options
Diffstat (limited to 'sys/dev/pci/if_nfereg.h')
-rw-r--r-- | sys/dev/pci/if_nfereg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pci/if_nfereg.h b/sys/dev/pci/if_nfereg.h index 36d131bf6d8..79eab5149c7 100644 --- a/sys/dev/pci/if_nfereg.h +++ b/sys/dev/pci/if_nfereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nfereg.h,v 1.16 2006/02/22 19:23:44 damien Exp $ */ +/* $OpenBSD: if_nfereg.h,v 1.17 2006/04/26 02:07:30 jsg Exp $ */ /*- * Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org> @@ -151,6 +151,10 @@ struct nfe_desc32 { #define NFE_TX_LASTFRAG_V1 (1 << 0) } __packed; +#define NFE_V1_TXERR "\020" \ + "\14TXERROR\13UNDERFLOW\12LATECOLLISION\11LOSTCARRIER\10DEFERRED" \ + "\08FORCEDINT\03RETRY\00LASTPACKET" + /* V2 Rx/Tx descriptor */ struct nfe_desc64 { uint32_t physaddr[2]; @@ -165,6 +169,9 @@ struct nfe_desc64 { #define NFE_TX_LASTFRAG_V2 (1 << 13) } __packed; +#define NFE_V2_TXERR "\020" \ + "\14FORCEDINT\13LASTPACKET\12UNDERFLOW\10LOSTCARRIER\09DEFERRED\02RETRY" + /* flags common to V1/V2 descriptors */ #define NFE_RX_CSUMOK 0x1c00 #define NFE_RX_ERROR (1 << 14) |