Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Fix ix{gbe,v}_set_sysctlvalue().
details: https://anonhg.NetBSD.org/src/rev/3e915360923d
branches: trunk
changeset: 349257:3e915360923d
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Dec 02 11:56:55 2016 +0000
description:
Fix ix{gbe,v}_set_sysctlvalue().
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 6 +++---
sys/dev/pci/ixgbe/ixv.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r 05656b31357b -r 3e915360923d sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Fri Dec 02 10:48:11 2016 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Fri Dec 02 11:56:55 2016 +0000
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: head/sys/dev/ixgbe/if_ix.c 292674 2015-12-23 22:45:17Z sbruno $*/
-/*$NetBSD: ixgbe.c,v 1.49 2016/12/02 10:46:58 msaitoh Exp $*/
+/*$NetBSD: ixgbe.c,v 1.50 2016/12/02 11:56:55 msaitoh Exp $*/
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -4816,9 +4816,9 @@
return;
}
if (sysctl_createv(log, 0, &rnode, &cnode,
- CTLFLAG_READWRITE|CTLFLAG_IMMEDIATE, CTLTYPE_INT,
+ CTLFLAG_READWRITE, CTLTYPE_INT,
name, SYSCTL_DESCR(description),
- NULL, value, limit, 0, CTL_CREATE, CTL_EOL) != 0)
+ NULL, 0, limit, 0, CTL_CREATE, CTL_EOL) != 0)
aprint_error_dev(dev, "could not create sysctl\n");
*limit = value;
}
diff -r 05656b31357b -r 3e915360923d sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c Fri Dec 02 10:48:11 2016 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c Fri Dec 02 11:56:55 2016 +0000
@@ -31,7 +31,7 @@
******************************************************************************/
/*$FreeBSD: head/sys/dev/ixgbe/if_ixv.c 292674 2015-12-23 22:45:17Z sbruno $*/
-/*$NetBSD: ixv.c,v 1.26 2016/12/02 10:42:04 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.27 2016/12/02 11:56:55 msaitoh Exp $*/
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -2194,9 +2194,9 @@
return;
}
if (sysctl_createv(log, 0, &rnode, &cnode,
- CTLFLAG_READWRITE|CTLFLAG_IMMEDIATE, CTLTYPE_INT,
+ CTLFLAG_READWRITE, CTLTYPE_INT,
name, SYSCTL_DESCR(description),
- NULL, 0, limit, CTL_CREATE, CTL_EOL) != 0)
+ NULL, 0, limit, 0, CTL_CREATE, CTL_EOL) != 0)
aprint_error_dev(dev, "could not create sysctl\n");
*limit = value;
}
Home |
Main Index |
Thread Index |
Old Index