summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-11-12 19:55:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-11-12 19:55:49 +0000
commit814eaf690d9a95d588fb5bc0bdf3c94c0385818c (patch)
tree2da430c90659f73167d6a3dc0d8fcafe31f159f3 /sys
parent5d257720f92f137d5f26c01db0a9590c03931876 (diff)
Revert 1.372, reported to cause regressions on some models.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_bge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index c119b676e7a..b5c7aaba774 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.372 2015/11/10 20:23:50 miod Exp $ */
+/* $OpenBSD: if_bge.c,v 1.373 2015/11/12 19:55:48 miod Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -3221,7 +3221,7 @@ bge_reset(struct bge_softc *sc)
* When firmware finishes its initialization it will
* write ~BGE_SRAM_FW_MB_MAGIC to the same location.
*/
- write_op(sc, BGE_SOFTWARE_GENCOMM, BGE_MAGIC_NUMBER);
+ bge_writemem_ind(sc, BGE_SOFTWARE_GENCOMM, BGE_MAGIC_NUMBER);
reset = BGE_MISCCFG_RESET_CORE_CLOCKS | BGE_32BITTIME_66MHZ;