summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2010-01-09 02:40:19 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2010-01-09 02:40:19 +0000
commitaf5121682d87ee62dec06c6d60c20d8527fec470 (patch)
tree7ceaa006c0b9792483bd18c39415e4258e25ddef /sys/dev
parent35a0142edfa5cc9f6eaa4c19b865eec07be0a3fd (diff)
Remove typo and magic numbers from #if 0'd block, from Brad.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_msk.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index da4e9fd84e2..01e6a545b0f 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.85 2009/12/18 21:46:24 sthen Exp $ */
+/* $OpenBSD: if_msk.c,v 1.86 2010/01/09 02:40:18 sthen Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -780,10 +780,9 @@ mskc_reset(struct sk_softc *sc)
sk_win_write_1(sc, SK_STAT_BMU_FIFOIWM, 16);
#if 0
- sk_win_write_4(sc, SK_Y2_LEV_TIMERINIT, SK_IM_USECS(100));
- sk_win_write_4(sc, 0x0ec0, SK_IM_USECS(1000));
-
- sk_win_write_4(sc, 0x0ed0, SK_IM_USECS(20));
+ sk_win_write_4(sc, SK_Y2_LEV_ITIMERINIT, SK_IM_USECS(100));
+ sk_win_write_4(sc, SK_Y2_TX_ITIMERINIT, SK_IM_USECS(1000));
+ sk_win_write_4(sc, SK_Y2_ISR_ITIMERINIT, SK_IM_USECS(20));
#else
sk_win_write_4(sc, SK_Y2_ISR_ITIMERINIT, SK_IM_USECS(4));
#endif