summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-12-13 10:38:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-12-13 10:38:07 +0000
commit4c2f5470599e14370fdd4b17012bf35309131484 (patch)
tree923b603585bf76e2dd04a0c75fe20fad052f6303
parenta1350df5999c9c04fbd452bd76c268219492bfa9 (diff)
Fix stray return; hopefully this makes the internal PHY actually work now.
-rw-r--r--sys/dev/fdt/if_dwxe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/fdt/if_dwxe.c b/sys/dev/fdt/if_dwxe.c
index cdcd75d443b..c38599814ad 100644
--- a/sys/dev/fdt/if_dwxe.c
+++ b/sys/dev/fdt/if_dwxe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dwxe.c,v 1.5 2017/12/10 12:28:37 kettenis Exp $ */
+/* $OpenBSD: if_dwxe.c,v 1.6 2017/12/13 10:38:06 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
@@ -477,7 +477,6 @@ dwxe_phy_setup(struct dwxe_softc *sc)
syscon &= ~SYSCON_H3_EPHY_LED_POL;
syscon &= ~SYSCON_H3_EPHY_ADDR_MASK;
syscon |= (sc->sc_phyloc << SYSCON_H3_EPHY_ADDR_SHIFT);
- return;
}
free(phy_mode, M_TEMP, len);