diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-08-19 21:16:23 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-08-19 21:16:23 +0000 |
commit | f515a0b0f1f3bb65822bca3bc3d1dd6c74cd0323 (patch) | |
tree | 67448a61d31f680c273bd54b9620c614a4a4cbaf /sys/dev/pci/if_msk.c | |
parent | 98bbad9db621599bade84b182a02610d5a959700 (diff) |
Make sure Rx timestamps are disabled.
Diffstat (limited to 'sys/dev/pci/if_msk.c')
-rw-r--r-- | sys/dev/pci/if_msk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index 3f3e954e27c..2aa1cf3816c 100644 --- a/sys/dev/pci/if_msk.c +++ b/sys/dev/pci/if_msk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_msk.c,v 1.12 2006/08/19 04:03:22 brad Exp $ */ +/* $OpenBSD: if_msk.c,v 1.13 2006/08/19 21:16:22 kettenis Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -829,6 +829,10 @@ void msk_reset(struct sk_softc *sc) /* Disable descriptor polling */ CSR_WRITE_4(sc, SK_DPT_TIMER_CTRL, SK_DPT_TCTL_STOP); + /* Disable time stamps */ + CSR_WRITE_1(sc, SK_TSTAMP_CTL, SK_TSTAMP_STOP); + CSR_WRITE_1(sc, SK_TSTAMP_CTL, SK_TSTAMP_IRQ_CLEAR); + /* Enable RAM interface */ sk_win_write_1(sc, SK_RAMCTL, SK_RAMCTL_UNRESET); for (reg = SK_TO0;reg <= SK_TO11; reg++) |