Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sandpoint/sandpoint Adapt to proplib api changes
details: https://anonhg.NetBSD.org/src/rev/6964adfef330
branches: trunk
changeset: 1011750:6964adfef330
user: nisimura <nisimura%NetBSD.org@localhost>
date: Thu Jul 09 05:12:09 2020 +0000
description:
Adapt to proplib api changes
diffstat:
sys/arch/sandpoint/sandpoint/autoconf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r ef1b210e67f9 -r 6964adfef330 sys/arch/sandpoint/sandpoint/autoconf.c
--- a/sys/arch/sandpoint/sandpoint/autoconf.c Thu Jul 09 02:13:58 2020 +0000
+++ b/sys/arch/sandpoint/sandpoint/autoconf.c Thu Jul 09 05:12:09 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.28 2015/09/30 14:18:54 phx Exp $ */
+/* $NetBSD: autoconf.c,v 1.29 2020/07/09 05:12:09 nisimura Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28 2015/09/30 14:18:54 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.29 2020/07/09 05:12:09 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -152,7 +152,7 @@
&& bi_net->cookie == tag) {
prop_data_t pd;
- pd = prop_data_create_data_nocopy(bi_net->mac_address,
+ pd = prop_data_create_nocopy(bi_net->mac_address,
ETHER_ADDR_LEN);
KASSERT(pd != NULL);
if (prop_dictionary_set(device_properties(dev),
@@ -201,7 +201,7 @@
!(bi_model->flags & model_i2c_devs[i].model_mask))
continue;
pd = prop_dictionary_create();
- prop_dictionary_set_cstring_nocopy(pd, "name",
+ prop_dictionary_set_string_nocopy(pd, "name",
model_i2c_devs[i].name);
prop_dictionary_set_uint32(pd, "addr",
model_i2c_devs[i].addr);
Home |
Main Index |
Thread Index |
Old Index