summaryrefslogtreecommitdiffstats
path: root/sys/dev/ae
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
commit2314521104388ada19392a3b2cdaca4ba6f82243 (patch)
tree861cbfaa866bcf3864607e709a7f079f8e0b8b88 /sys/dev/ae
parent3f6c5f153b139d0086f063e076f19f4f76da1927 (diff)
downloadFreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.zip
FreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.tar.gz
Add necessary include.
Diffstat (limited to 'sys/dev/ae')
-rw-r--r--sys/dev/ae/if_ae.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ae/if_ae.c b/sys/dev/ae/if_ae.c
index da26ee7..a5837c3 100644
--- a/sys/dev/ae/if_ae.c
+++ b/sys/dev/ae/if_ae.c
@@ -1662,6 +1662,7 @@ ae_stop_rxmac(ae_softc_t *sc)
/*
* Wait for IDLE state.
*/
+ /* XXX: Flexelint "<" test with -- */
for (i = 0; i < AE_IDLE_TIMEOUT; i--) {
val = AE_READ_4(sc, AE_IDLE_REG);
if ((val & (AE_IDLE_RXMAC | AE_IDLE_DMAWRITE)) == 0)
@@ -1698,6 +1699,7 @@ ae_stop_txmac(ae_softc_t *sc)
/*
* Wait for IDLE state.
*/
+ /* XXX: Flexelint "<" test with -- */
for (i = 0; i < AE_IDLE_TIMEOUT; i--) {
val = AE_READ_4(sc, AE_IDLE_REG);
if ((val & (AE_IDLE_TXMAC | AE_IDLE_DMAREAD)) == 0)
OpenPOWER on IntegriCloud