artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e05edd
)
Fix stray return; hopefully this makes the internal PHY actually work now.
author
kettenis
<kettenis@openbsd.org>
Wed, 13 Dec 2017 10:38:06 +0000
(10:38 +0000)
committer
kettenis
<kettenis@openbsd.org>
Wed, 13 Dec 2017 10:38:06 +0000
(10:38 +0000)
sys/dev/fdt/if_dwxe.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/if_dwxe.c
b/sys/dev/fdt/if_dwxe.c
index
cdcd75d
..
c385998
100644
(file)
--- 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);