Module Name:    src
Committed By:   riastradh
Date:           Mon Aug 27 07:54:54 UTC 2018

Modified Files:
        src/sys/external/bsd/drm2/pci: drm_pci.c

Log Message:
Define dummy drm_irq_by_busid, legacy function for legacy UMS API.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/external/bsd/drm2/pci/drm_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/pci/drm_pci.c
diff -u src/sys/external/bsd/drm2/pci/drm_pci.c:1.22 src/sys/external/bsd/drm2/pci/drm_pci.c:1.23
--- src/sys/external/bsd/drm2/pci/drm_pci.c:1.22	Mon Aug 27 07:03:26 2018
+++ src/sys/external/bsd/drm2/pci/drm_pci.c	Mon Aug 27 07:54:54 2018
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 
 
 #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 @@ drm_pci_set_busid(struct drm_device *dev
 
 	return 0;
 }
+
+int
+drm_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file)
+{
+
+	return -ENOSYS;
+}

Reply via email to