summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_vrreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_vrreg.h')
-rw-r--r--sys/pci/if_vrreg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/pci/if_vrreg.h b/sys/pci/if_vrreg.h
index 2f8e810..5cf3bb2 100644
--- a/sys/pci/if_vrreg.h
+++ b/sys/pci/if_vrreg.h
@@ -420,9 +420,8 @@ struct vr_chain_data {
struct vr_chain_onefrag *vr_rx_head;
- struct vr_chain *vr_tx_head;
- struct vr_chain *vr_tx_tail;
- struct vr_chain *vr_tx_free;
+ struct vr_chain *vr_tx_cons;
+ struct vr_chain *vr_tx_prod;
};
struct vr_type {
@@ -469,6 +468,9 @@ struct vr_softc {
struct vr_chain_data vr_cdata;
struct callout_handle vr_stat_ch;
struct mtx vr_mtx;
+#ifdef DEVICE_POLLING
+ int rxcycles;
+#endif
};
#define VR_F_RESTART 0x01 /* Restart unit on next tick */
OpenPOWER on IntegriCloud