summaryrefslogtreecommitdiffstats
path: root/sys/dev/tsec/if_tsec.h
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-08-26 09:38:28 +0000
committerraj <raj@FreeBSD.org>2008-08-26 09:38:28 +0000
commit95151c566b2fd63067837554caf4e0f2194561af (patch)
tree67ebdd501d0a6bad5c7bcdfb1b5f2bbe41b7fafa /sys/dev/tsec/if_tsec.h
parent7490ae7b0e7ec07f48d2423ab2ceee04145f1de4 (diff)
downloadFreeBSD-src-95151c566b2fd63067837554caf4e0f2194561af.zip
FreeBSD-src-95151c566b2fd63067837554caf4e0f2194561af.tar.gz
tsec: Improve and clean up callouts.
- eliminate the unused tsec_tick_ch callout - adjust and fix the main tsec callout handling - minor naming improvements Obtained from: Semihalf
Diffstat (limited to 'sys/dev/tsec/if_tsec.h')
-rw-r--r--sys/dev/tsec/if_tsec.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/tsec/if_tsec.h b/sys/dev/tsec/if_tsec.h
index c143509..9b7b331 100644
--- a/sys/dev/tsec/if_tsec.h
+++ b/sys/dev/tsec/if_tsec.h
@@ -46,7 +46,6 @@ struct tsec_softc {
device_t dev;
device_t tsec_miibus;
struct mii_data *tsec_mii; /* MII media control */
- struct callout tsec_tick_ch;
int tsec_link;
bus_dma_tag_t tsec_tx_dtag; /* TX descriptors tag */
@@ -91,9 +90,9 @@ struct tsec_softc {
int tsec_if_flags;
- /* Watchdog related */
- struct callout wd_callout;
- int wd_timer;
+ /* Watchdog and MII tick related */
+ struct callout tsec_callout;
+ int tsec_watchdog;
/* TX maps */
bus_dmamap_t tx_map_data[TSEC_TX_NUM_DESC];
OpenPOWER on IntegriCloud