Module Name:    src
Committed By:   jmcneill
Date:           Tue Jan 22 15:34:04 UTC 2019

Modified Files:
        src/sys/dev/ic: lan9118.c

Log Message:
Fix return type of lan9118_mii_readreg


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ic/lan9118.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/lan9118.c
diff -u src/sys/dev/ic/lan9118.c:1.28 src/sys/dev/ic/lan9118.c:1.29
--- src/sys/dev/ic/lan9118.c:1.28	Tue Jan 22 03:42:26 2019
+++ src/sys/dev/ic/lan9118.c	Tue Jan 22 15:34:04 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: lan9118.c,v 1.28 2019/01/22 03:42:26 msaitoh Exp $	*/
+/*	$NetBSD: lan9118.c,v 1.29 2019/01/22 15:34:04 jmcneill Exp $	*/
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lan9118.c,v 1.28 2019/01/22 03:42:26 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lan9118.c,v 1.29 2019/01/22 15:34:04 jmcneill Exp $");
 
 /*
  * The LAN9118 Family
@@ -794,7 +794,7 @@ lan9118_miibus_statchg(struct ifnet *ifp
 }
 
 
-static uint16_t
+static int
 lan9118_mii_readreg(struct lan9118_softc *sc, int phy, int reg, uint16_t *val)
 {
 	uint32_t acc;

Reply via email to