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/dist/drm/i915 Use __pci_rom_i...
details: https://anonhg.NetBSD.org/src/rev/c2250aa3f8a2
branches: riastradh-drm2
changeset: 788384:c2250aa3f8a2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:32:41 2013 +0000
description:
Use __pci_rom_iomem marker in intel_parse_bios.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/intel_bios.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r 66868cdb7fb2 -r c2250aa3f8a2 sys/external/bsd/drm2/dist/drm/i915/intel_bios.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_bios.c Wed Jul 24 03:32:19 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_bios.c Wed Jul 24 03:32:41 2013 +0000
@@ -693,6 +693,9 @@
*
* Returns 0 on success, nonzero on failure.
*/
+#ifdef __NetBSD__
+# define __iomem __pci_rom_iomem
+#endif
int
intel_parse_bios(struct drm_device *dev)
{
@@ -757,6 +760,9 @@
return 0;
}
+#ifdef __NetBSD__
+# undef __iomem
+#endif
/* Ensure that vital registers have been initialised, even if the BIOS
* is absent or just failing to do its job.
Home |
Main Index |
Thread Index |
Old Index