From 4e15a5f398df5252d12cd3a225175ed37edd0c92 Mon Sep 17 00:00:00 2001 From: kettenis Date: Wed, 13 Dec 2017 10:38:06 +0000 Subject: [PATCH] Fix stray return; hopefully this makes the internal PHY actually work now. --- sys/dev/fdt/if_dwxe.c | 3 +-- 1 file changed, 1 insertion(+), 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 @@ -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); -- 2.20.1