Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux arch_io_reserve_memtype_...



details:   https://anonhg.NetBSD.org/src/rev/07d47b5964a1
branches:  trunk
changeset: 1028087:07d47b5964a1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:49:21 2021 +0000

description:
arch_io_reserve_memtype_wc, arch_io_free_memtype_wc stubs.

diffstat:

 sys/external/bsd/drm2/include/linux/io.h |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 53e61f59090c -r 07d47b5964a1 sys/external/bsd/drm2/include/linux/io.h
--- a/sys/external/bsd/drm2/include/linux/io.h  Sun Dec 19 01:49:14 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/io.h  Sun Dec 19 01:49:21 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: io.h,v 1.6 2018/08/27 07:33:45 riastradh Exp $ */
+/*     $NetBSD: io.h,v 1.7 2021/12/19 01:49:21 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,11 +32,15 @@
 #ifndef _LINUX_IO_H_
 #define _LINUX_IO_H_
 
+#include <linux/types.h>
+
 #include <asm/io.h>
 
-#define        arch_phys_wc_add        linux_arch_phys_wc_add
-#define        arch_phys_wc_del        linux_arch_phys_wc_del
-#define        arch_phys_wc_index      linux_arch_phys_wc_index
+#define        arch_phys_wc_add                linux_arch_phys_wc_add
+#define        arch_phys_wc_del                linux_arch_phys_wc_del
+#define        arch_phys_wc_index              linux_arch_phys_wc_index
+#define        arch_io_reserve_memtype_wc      linux_arch_io_reserve_memtype_wc
+#define        arch_io_free_memtype_wc         linux_arch_io_free_memtype_wc
 
 int    linux_writecomb_init(void);
 void   linux_writecomb_fini(void);
@@ -45,4 +49,7 @@
 void   arch_phys_wc_del(int);
 int    arch_phys_wc_index(int);
 
+int    arch_io_reserve_memtype_wc(resource_size_t, resource_size_t);
+void   arch_io_free_memtype_wc(resource_size_t, resource_size_t);
+
 #endif  /* _LINUX_IO_H_ */



Home | Main Index | Thread Index | Old Index