Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Add fdtbus_device_register(). Just a placeholde...
details: https://anonhg.NetBSD.org/src/rev/016e1f21b7c1
branches: trunk
changeset: 1018468:016e1f21b7c1
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Feb 04 22:14:08 2021 +0000
description:
Add fdtbus_device_register(). Just a placeholder for now.
diffstat:
sys/dev/fdt/fdtbus.c | 10 ++++++++--
sys/dev/fdt/fdtvar.h | 4 +++-
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (47 lines):
diff -r 8caf4b452e6d -r 016e1f21b7c1 sys/dev/fdt/fdtbus.c
--- a/sys/dev/fdt/fdtbus.c Thu Feb 04 21:50:39 2021 +0000
+++ b/sys/dev/fdt/fdtbus.c Thu Feb 04 22:14:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtbus.c,v 1.38 2021/01/27 03:10:21 thorpej Exp $ */
+/* $NetBSD: fdtbus.c,v 1.39 2021/02/04 22:14:08 thorpej Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.38 2021/01/27 03:10:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.39 2021/02/04 22:14:08 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -550,3 +550,9 @@
return UNCONF;
}
+
+void
+fdtbus_device_register(device_t dev __unused, void *aux __unused)
+{
+ /* Placeholder. */
+}
diff -r 8caf4b452e6d -r 016e1f21b7c1 sys/dev/fdt/fdtvar.h
--- a/sys/dev/fdt/fdtvar.h Thu Feb 04 21:50:39 2021 +0000
+++ b/sys/dev/fdt/fdtvar.h Thu Feb 04 22:14:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtvar.h,v 1.68 2021/01/16 09:09:37 ryo Exp $ */
+/* $NetBSD: fdtvar.h,v 1.69 2021/02/04 22:14:08 thorpej Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -434,7 +434,9 @@
void fdt_remove_byhandle(int);
void fdt_remove_bycompat(const char *[]);
int fdt_find_with_property(const char *, int *);
+
int fdtbus_print(void *, const char *);
+void fdtbus_device_register(device_t, void *);
bus_dma_tag_t fdtbus_dma_tag_create(int, const struct fdt_dma_range *,
u_int);
Home |
Main Index |
Thread Index |
Old Index