diff options
author | marius <marius@FreeBSD.org> | 2006-12-06 02:07:20 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-12-06 02:07:20 +0000 |
commit | d6685ecfb2ee0ef325499c7ad340360ccfc8a7be (patch) | |
tree | aafb37566c5ed62cacbcb713538e3ec9f87b36b4 /sys/dev/hme/if_hmevar.h | |
parent | 4298c9bcb6ea4ab94650afd06fc11a7143dca6e4 (diff) | |
download | FreeBSD-src-d6685ecfb2ee0ef325499c7ad340360ccfc8a7be.zip FreeBSD-src-d6685ecfb2ee0ef325499c7ad340360ccfc8a7be.tar.gz |
- Use the hme_tick() callout instead of if_slowtimo() for driving
hme_watchdog() in order to avoid races accessing if_timer.
- Use bus_get_dma_tag() so hme(4) works on platforms requiring it.
- Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
Diffstat (limited to 'sys/dev/hme/if_hmevar.h')
-rw-r--r-- | sys/dev/hme/if_hmevar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hme/if_hmevar.h b/sys/dev/hme/if_hmevar.h index a5d50e2..70c9d78 100644 --- a/sys/dev/hme/if_hmevar.h +++ b/sys/dev/hme/if_hmevar.h @@ -116,6 +116,7 @@ struct hme_softc { struct mii_data *sc_mii; /* MII media control */ u_char sc_enaddr[6]; struct callout sc_tick_ch; /* tick callout */ + int sc_wdog_timer; /* watchdog timer */ /* The following bus handles are to be provided by the bus front-end */ bus_dma_tag_t sc_pdmatag; /* bus dma parent tag */ |