diff options
author | yongari <yongari@FreeBSD.org> | 2006-12-29 04:55:38 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2006-12-29 04:55:38 +0000 |
commit | 3906d99432c20b2bdd1a50f632851d14d137f95f (patch) | |
tree | b33f89cf6e31b8ba2707a17571a6413c79e15ed2 /sys/dev/msk/if_mskreg.h | |
parent | dd8327815dc821c8fa35ea17b8024bf15de73dcd (diff) | |
download | FreeBSD-src-3906d99432c20b2bdd1a50f632851d14d137f95f.zip FreeBSD-src-3906d99432c20b2bdd1a50f632851d14d137f95f.tar.gz |
Piggyback watchdog timer handling with msk_tick which is called every
hz. This will result in slightly faster Tx processing as it does not
need lock operations for callouts in msk_start/msk_txeof.
Diffstat (limited to 'sys/dev/msk/if_mskreg.h')
-rw-r--r-- | sys/dev/msk/if_mskreg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/msk/if_mskreg.h b/sys/dev/msk/if_mskreg.h index dd061d7..09b24d4 100644 --- a/sys/dev/msk/if_mskreg.h +++ b/sys/dev/msk/if_mskreg.h @@ -2373,7 +2373,7 @@ struct msk_if_softc { int msk_phyaddr; int msk_link; struct callout msk_tick_ch; - struct callout msk_watchdog_ch; + int msk_watchdog_timer; uint32_t msk_txq; /* Tx. Async Queue offset */ uint32_t msk_txsq; /* Tx. Syn Queue offset */ uint32_t msk_rxq; /* Rx. Qeueue offset */ |