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/847848a5a8a0
branches:  trunk
changeset: 447767:847848a5a8a0
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 5b96f5e6d37f -r 847848a5a8a0 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