summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-02-24 21:44:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-02-24 21:44:13 +0000
commit84d3cbf044d2ed7c08de103181238b25a5c6c943 (patch)
tree42d0366a428bd940f8cb9cdf5178a081e18f6dbe /sys
parented72a7942543329dcad780fc87380847ff7a545e (diff)
Don't print "EEPROM reload timed out" message. Devices that don't have an
EEPROM exist (RouterBOARD RB600A) and reloading default values from the EEPROM will fail on those decives. ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_vge.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c
index 0f87d056054..b11a9014bee 100644
--- a/sys/dev/pci/if_vge.c
+++ b/sys/dev/pci/if_vge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vge.c,v 1.46 2009/11/23 23:18:16 kettenis Exp $ */
+/* $OpenBSD: if_vge.c,v 1.47 2010/02/24 21:44:12 kettenis Exp $ */
/* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -561,11 +561,6 @@ vge_reset(struct vge_softc *sc)
break;
}
- if (i == VGE_TIMEOUT) {
- printf("%s: EEPROM reload timed out\n", sc->vge_dev.dv_xname);
- return;
- }
-
CSR_CLRBIT_1(sc, VGE_CHIPCFG0, VGE_CHIPCFG0_PACPI);
}