Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/sibyte/dev Fix build break (return type of mii...



details:   https://anonhg.NetBSD.org/src/rev/3eef58433afe
branches:  trunk
changeset: 996210:3eef58433afe
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Jan 23 07:40:05 2019 +0000

description:
Fix build break (return type of mii_writereg).

diffstat:

 sys/arch/mips/sibyte/dev/sbmac.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6936819f9302 -r 3eef58433afe sys/arch/mips/sibyte/dev/sbmac.c
--- a/sys/arch/mips/sibyte/dev/sbmac.c  Wed Jan 23 07:05:52 2019 +0000
+++ b/sys/arch/mips/sibyte/dev/sbmac.c  Wed Jan 23 07:40:05 2019 +0000
@@ -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 @@
 /*
  * Write to a PHY register through the MII.
  */
-static 
+static int
 sbmac_mii_writereg(device_t self, int phy, int reg, uint16_t val)
 {
 



Home | Main Index | Thread Index | Old Index