summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2007-09-19 02:32:58 +0000
committerBrad Smith <brad@cvs.openbsd.org>2007-09-19 02:32:58 +0000
commitf545539f9b9eae3fceedafd2f4ec5549dd132a2c (patch)
treebda22934c26e1c76314cccf3236a30f97257526d /sys
parent4193b191ec2324390873d1e90fef4e6405ec119e (diff)
Remove unused tulip_21041_media_noprobe() function and tulip_21041np_boardsw
struct. ok dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_de.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index bc9d0657b66..cac5e4bfb93 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.97 2007/02/14 00:53:48 jsg Exp $ */
+/* $OpenBSD: if_de.c,v 1.98 2007/09/19 02:32:57 brad Exp $ */
/* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */
/*-
@@ -158,7 +158,6 @@ void tulip_21040_auibnc_only_media_probe(tulip_softc_t * const sc);
void tulip_21040_auibnc_only_media_select(tulip_softc_t * const sc);
void tulip_21041_mediainfo_init(tulip_softc_t * const sc);
-void tulip_21041_media_noprobe(tulip_softc_t * const sc);
void tulip_21041_media_probe(tulip_softc_t * const sc);
void tulip_21041_media_poll(tulip_softc_t * const sc, const tulip_mediapoll_event_t event);
@@ -945,15 +944,6 @@ tulip_21041_mediainfo_init(tulip_softc_t * const sc)
}
void
-tulip_21041_media_noprobe(tulip_softc_t * const sc)
-{
- sc->tulip_if.if_baudrate = 10000000;
- sc->tulip_cmdmode |= TULIP_CMD_CAPTREFFCT|TULIP_CMD_ENHCAPTEFFCT
- |TULIP_CMD_THRSHLD160|TULIP_CMD_BACKOFFCTR;
- sc->tulip_intrmask |= TULIP_STS_LINKPASS|TULIP_STS_LINKFAIL;
-}
-
-void
tulip_21041_media_probe(tulip_softc_t * const sc)
{
sc->tulip_if.if_baudrate = 10000000;
@@ -1112,13 +1102,6 @@ static const tulip_boardsw_t tulip_21041_boardsw = {
tulip_21041_media_poll
};
-static const tulip_boardsw_t tulip_21041np_boardsw = {
- TULIP_21041_GENERIC,
- tulip_21041_media_noprobe,
- tulip_media_select,
- tulip_21041_media_poll
-};
-
static const tulip_phy_attr_t tulip_mii_phy_attrlist[] = {
{ 0x20005c00, 0, /* 08-00-17 */
{