summaryrefslogtreecommitdiffstats
path: root/sys/dev/re/if_re.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-08-04 04:00:10 +0000
committeryongari <yongari@FreeBSD.org>2008-08-04 04:00:10 +0000
commitbfce43df588d6c27e2859a749c641a25969021b6 (patch)
tree48d999e219768e8f51bfbf568485877c52da36a2 /sys/dev/re/if_re.c
parentf38b468cd2c6bf4b88dd3b083787962187dc5fff (diff)
downloadFreeBSD-src-bfce43df588d6c27e2859a749c641a25969021b6.zip
FreeBSD-src-bfce43df588d6c27e2859a749c641a25969021b6.tar.gz
Rearrange conditional compilation directives. This makes syntax
highlighting work in vim.
Diffstat (limited to 'sys/dev/re/if_re.c')
-rw-r--r--sys/dev/re/if_re.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 0628ac9..c845c74 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -2132,10 +2132,11 @@ re_int_task(void *arg, int npending)
if (status & (RL_ISR_RX_OK|RL_ISR_RX_ERR|RL_ISR_FIFO_OFLOW))
rval = re_rxeof(sc);
+ if (status & (
#ifdef RE_TX_MODERATION
- if (status & (RL_ISR_TIMEOUT_EXPIRED|
+ RL_ISR_TIMEOUT_EXPIRED|
#else
- if (status & (RL_ISR_TX_OK|
+ RL_ISR_TX_OK|
#endif
RL_ISR_TX_ERR|RL_ISR_TX_DESC_UNAVAIL))
re_txeof(sc);
OpenPOWER on IntegriCloud