Mon Jan 25 19:59:49 2021 UTC ()
s/boolean_t/bool/. boolean_t is obsolete (from Mach), and this
also fixes a new build issue in libkvm on sparc*.
(mrg)
diff -r1.49 -r1.50 src/sys/dev/ofw/ofw_subr.c
diff -r1.41 -r1.42 src/sys/dev/ofw/openfirm.h
diff -r1.8 -r1.9 src/sys/dev/pci/ixgbe/if_sriov.c
--- src/sys/dev/ofw/ofw_subr.c 2021/01/25 12:15:33 1.49
+++ src/sys/dev/ofw/ofw_subr.c 2021/01/25 19:59:49 1.50
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_subr.c,v 1.49 2021/01/25 12:15:33 jmcneill Exp $ */
+/* $NetBSD: ofw_subr.c,v 1.50 2021/01/25 19:59:49 mrg Exp $ */
/*
* Copyright 1998
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_subr.c,v 1.49 2021/01/25 12:15:33 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_subr.c,v 1.50 2021/01/25 19:59:49 mrg Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -395,7 +395,7 @@
* Create a uint32_t integer property from an OFW node property.
*/
-boolean_t
+bool
of_to_uint32_prop(prop_dictionary_t dict, int node, const char *ofname,
const char *propname)
{
@@ -411,7 +411,7 @@
* Create a data property from an OFW node property. Max size of 256bytes.
*/
-boolean_t
+bool
of_to_dataprop(prop_dictionary_t dict, int node, const char *ofname,
const char *propname)
{
--- src/sys/dev/ofw/openfirm.h 2021/01/18 02:35:49 1.41
+++ src/sys/dev/ofw/openfirm.h 2021/01/25 19:59:49 1.42
@@ -1,4 +1,4 @@
-/* $NetBSD: openfirm.h,v 1.41 2021/01/18 02:35:49 thorpej Exp $ */
+/* $NetBSD: openfirm.h,v 1.42 2021/01/25 19:59:49 mrg Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -115,10 +115,8 @@
int of_find_firstchild_byname(int, const char *);
int of_find_bycompat(int, const char *);
int of_getnode_byname(int, const char *);
-boolean_t of_to_uint32_prop(prop_dictionary_t, int, const char *,
- const char *);
-boolean_t of_to_dataprop(prop_dictionary_t, int, const char *,
- const char *);
+bool of_to_uint32_prop(prop_dictionary_t, int, const char *, const char *);
+bool of_to_dataprop(prop_dictionary_t, int, const char *, const char *);
int *of_network_decode_media(int, int *, int *);
char *of_get_mode_string(char *, int);
--- src/sys/dev/pci/ixgbe/if_sriov.c 2020/09/07 05:50:58 1.8
+++ src/sys/dev/pci/ixgbe/if_sriov.c 2021/01/25 19:59:49 1.9
@@ -119,7 +119,7 @@
ixgbe_send_vf_nack(adapter, vf, 0);
}
-static inline boolean_t
+static inline bool
ixgbe_vf_mac_changed(struct ixgbe_vf *vf, const uint8_t *mac)
{
return (bcmp(mac, vf->ether_addr, ETHER_ADDR_LEN) != 0);
@@ -264,7 +264,7 @@
} /* ixgbe_clear_vfmbmem */
-static boolean_t
+static bool
ixgbe_vf_frame_size_compatible(struct adapter *adapter, struct ixgbe_vf *vf)
{