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/linux Make sure the resources are mark...
details: https://anonhg.NetBSD.org/src/rev/0a1aa54a6ac6
branches: trunk
changeset: 366260:0a1aa54a6ac6
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 14:16:52 2018 +0000
description:
Make sure the resources are marked unmapped initially.
diffstat:
sys/external/bsd/drm2/linux/linux_pci.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 7482c83b8b0a -r 0a1aa54a6ac6 sys/external/bsd/drm2/linux/linux_pci.c
--- a/sys/external/bsd/drm2/linux/linux_pci.c Mon Aug 27 14:16:38 2018 +0000
+++ b/sys/external/bsd/drm2/linux/linux_pci.c Mon Aug 27 14:16:52 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_pci.c,v 1.1 2018/08/27 14:16:38 riastradh Exp $ */
+/* $NetBSD: linux_pci.c,v 1.2 2018/08/27 14:16:52 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_pci.c,v 1.1 2018/08/27 14:16:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_pci.c,v 1.2 2018/08/27 14:16:52 riastradh Exp $");
#include <linux/pci.h>
@@ -97,6 +97,7 @@
pdev->pd_resources[i].flags = 0;
}
pdev->pd_resources[i].kva = NULL;
+ pdev->pd_resources[i].mapped = false;
}
}
Home |
Main Index |
Thread Index |
Old Index