summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bge.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-12-09 21:35:45 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-12-09 21:35:45 +0000
commit582161c9851cc826bdf0f5361247cc83de8b3e67 (patch)
tree68c0dff2a7e55b8284dfbbae97e717bbfd737f83 /sys/dev/pci/if_bge.c
parent8c6c6af784a8ebd5299324b39f9bc6449552c9f5 (diff)
remove unused function bge_shutdown().
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r--sys/dev/pci/if_bge.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 501d1a555cd..ad54f3c1d22 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.112 2005/12/09 21:06:45 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.113 2005/12/09 21:35:44 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -144,7 +144,6 @@ void bge_init(void *);
void bge_stop_block(struct bge_softc *, bus_size_t, u_int32_t);
void bge_stop(struct bge_softc *);
void bge_watchdog(struct ifnet *);
-void bge_shutdown(void *);
int bge_ifmedia_upd(struct ifnet *);
void bge_ifmedia_sts(struct ifnet *, struct ifmediareq *);
@@ -3350,16 +3349,3 @@ bge_stop(struct bge_softc *sc)
sc->bge_tx_saved_considx = BGE_TXCONS_UNSET;
}
-
-/*
- * Stop all chip I/O so that the kernel's probe routines don't
- * get confused by errant DMAs when rebooting.
- */
-void
-bge_shutdown(void *xsc)
-{
- struct bge_softc *sc = (struct bge_softc *)xsc;
-
- bge_stop(sc);
- bge_reset(sc);
-}