summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rlreg.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2002-04-16 22:03:14 +0000
committerluigi <luigi@FreeBSD.org>2002-04-16 22:03:14 +0000
commit73a7e12af14a421104c3c5a8e10b94d1b14f8595 (patch)
tree2af4535149502f6b1f2ef2c60315c198d9f68be1 /sys/pci/if_rlreg.h
parent4d82810dc3a5a742ebe17d8d5428fc2608f711d1 (diff)
downloadFreeBSD-src-73a7e12af14a421104c3c5a8e10b94d1b14f8595.zip
FreeBSD-src-73a7e12af14a421104c3c5a8e10b94d1b14f8595.tar.gz
Add DEVICE_POLLING support to the "rl" driver.
The diffs are very similar to the ones for the "sis" driver. MFC After: 5 days
Diffstat (limited to 'sys/pci/if_rlreg.h')
-rw-r--r--sys/pci/if_rlreg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h
index 2e4086c..8f7b544 100644
--- a/sys/pci/if_rlreg.h
+++ b/sys/pci/if_rlreg.h
@@ -378,6 +378,9 @@ struct rl_softc {
struct callout_handle rl_stat_ch;
struct mtx rl_mtx;
int suspended; /* 0 = normal 1 = suspended */
+#ifdef DEVICE_POLLING
+ int rxcycles;
+#endif
u_int32_t saved_maps[5]; /* pci data */
u_int32_t saved_biosaddr;
OpenPOWER on IntegriCloud