Module Name: src
Committed By: msaitoh
Date: Wed Jan 23 07:40:05 UTC 2019
Modified Files:
src/sys/arch/mips/sibyte/dev: sbmac.c
Log Message:
Fix build break (return type of mii_writereg).
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/mips/sibyte/dev/sbmac.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/arch/mips/sibyte/dev/sbmac.c
diff -u src/sys/arch/mips/sibyte/dev/sbmac.c:1.52 src/sys/arch/mips/sibyte/dev/sbmac.c:1.53
--- src/sys/arch/mips/sibyte/dev/sbmac.c:1.52 Tue Jan 22 03:42:26 2019
+++ src/sys/arch/mips/sibyte/dev/sbmac.c Wed Jan 23 07:40:05 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: sbmac.c,v 1.52 2019/01/22 03:42:26 msaitoh Exp $ */
+/* $NetBSD: sbmac.c,v 1.53 2019/01/23 07:40:05 msaitoh Exp $ */
/*
* Copyright 2000, 2001, 2004
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbmac.c,v 1.52 2019/01/22 03:42:26 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbmac.c,v 1.53 2019/01/23 07:40:05 msaitoh Exp $");
#include "opt_inet.h"
#include "opt_ns.h"
@@ -314,7 +314,7 @@ sbmac_mii_readreg(device_t self, int phy
/*
* Write to a PHY register through the MII.
*/
-static
+static int
sbmac_mii_writereg(device_t self, int phy, int reg, uint16_t val)
{