Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Fill in <linux/...
details: https://anonhg.NetBSD.org/src/rev/7bb5f89ffaa6
branches: riastradh-drm2
changeset: 788268:7bb5f89ffaa6
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:00:03 2013 +0000
description:
Fill in <linux/acpi_io.h> with acpi_os_ioremap (= AcpiOsMapMemory).
Define __acpi_iomem as an empty frotz to replace the Linux __iomem
attribute selectively and greppably. AcpiOsMapMemory returns usable
kernel virtual addresses, so we don't need to use bus_space_mumble or
anything to dereference them.
diffstat:
sys/external/bsd/drm2/include/linux/acpi_io.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 43db6f574379 -r 7bb5f89ffaa6 sys/external/bsd/drm2/include/linux/acpi_io.h
--- a/sys/external/bsd/drm2/include/linux/acpi_io.h Wed Jul 24 02:59:46 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/acpi_io.h Wed Jul 24 03:00:03 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_io.h,v 1.1.2.1 2013/07/24 00:33:12 riastradh Exp $ */
+/* $NetBSD: acpi_io.h,v 1.1.2.2 2013/07/24 03:00:03 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,9 @@
#ifndef _LINUX_ACPI_IO_H_
#define _LINUX_ACPI_IO_H_
+#include <dev/acpi/acpica.h>
+
+#define acpi_os_ioremap AcpiOsMapMemory
+#define __acpi_iomem
+
#endif /* _LINUX_ACPI_IO_H_ */
Home |
Main Index |
Thread Index |
Old Index