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/pci Define dummy drm_irq_by_busid, leg...



details:   https://anonhg.NetBSD.org/src/rev/6686a696e26b
branches:  trunk
changeset: 992824:6686a696e26b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:54:54 2018 +0000

description:
Define dummy drm_irq_by_busid, legacy function for legacy UMS API.

diffstat:

 sys/external/bsd/drm2/pci/drm_pci.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 969c618065bd -r 6686a696e26b sys/external/bsd/drm2/pci/drm_pci.c
--- a/sys/external/bsd/drm2/pci/drm_pci.c       Mon Aug 27 07:54:41 2018 +0000
+++ b/sys/external/bsd/drm2/pci/drm_pci.c       Mon Aug 27 07:54:54 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_pci.c,v 1.22 2018/08/27 07:03:26 riastradh Exp $   */
+/*     $NetBSD: drm_pci.c,v 1.23 2018/08/27 07:54:54 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 1.22 2018/08/27 07:03:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 1.23 2018/08/27 07:54:54 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -40,6 +40,7 @@
 
 #include <drm/drmP.h>
 #include <drm/drm_legacy.h>
+#include <drm/drm_internal.h>
 
 struct drm_bus_irq_cookie {
        pci_intr_handle_t *intr_handles;
@@ -274,3 +275,10 @@
 
        return 0;
 }
+
+int
+drm_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file)
+{
+
+       return -ENOSYS;
+}



Home | Main Index | Thread Index | Old Index