summaryrefslogtreecommitdiffstats
path: root/sys/dev/dc/if_dcreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dc/if_dcreg.h')
-rw-r--r--sys/dev/dc/if_dcreg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h
index 0052d33..8980e44 100644
--- a/sys/dev/dc/if_dcreg.h
+++ b/sys/dev/dc/if_dcreg.h
@@ -453,7 +453,11 @@ struct dc_desc {
#define DC_FILTER_HASHONLY 0x10400000
#define DC_MAXFRAGS 16
+#ifdef DEVICE_POLLING
+#define DC_RX_LIST_CNT 192
+#else
#define DC_RX_LIST_CNT 64
+#endif
#define DC_TX_LIST_CNT 256
#define DC_MIN_FRAMELEN 60
#define DC_RXLEN 1536
@@ -717,6 +721,9 @@ struct dc_softc {
int dc_srm_media;
#endif
struct mtx dc_mtx;
+#ifdef DEVICE_POLLING
+ int rxcycles; /* ... when polling */
+#endif
};
OpenPOWER on IntegriCloud