diff options
author | ru <ru@FreeBSD.org> | 2005-03-26 20:22:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-03-26 20:22:58 +0000 |
commit | 004ebb83cec6af041581958c1fa96fe404ae6076 (patch) | |
tree | a1479a429c3f59ef9d823eea956717058f856e58 /sys/pci/if_xlreg.h | |
parent | d55eb47f57678d7d708778f89fb689ee9d1da22e (diff) | |
download | FreeBSD-src-004ebb83cec6af041581958c1fa96fe404ae6076.zip FreeBSD-src-004ebb83cec6af041581958c1fa96fe404ae6076.tar.gz |
xl(4) meets polling(4). Hardware for this work kindly provided by
Eric Masson.
MFC after: 3 weeks
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r-- | sys/pci/if_xlreg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h index f76c14b..8fbcc53 100644 --- a/sys/pci/if_xlreg.h +++ b/sys/pci/if_xlreg.h @@ -607,6 +607,9 @@ struct xl_softc { bus_space_handle_t xl_fhandle; bus_space_tag_t xl_ftag; struct mtx xl_mtx; +#ifdef DEVICE_POLLING + int rxcycles; +#endif }; #define XL_LOCK(_sc) mtx_lock(&(_sc)->xl_mtx) |