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/dist/drm/nouveau Reduce diff a little.



details:   https://anonhg.NetBSD.org/src/rev/64a1b722d745
branches:  trunk
changeset: 364738:64a1b722d745
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:19:08 2018 +0000

description:
Reduce diff a little.

This code was already #ifndef __NetBSD__; the corresponding logic
lives in nouveau_module.c.

diffstat:

 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (34 lines):

diff -r 0d72170e51a4 -r 64a1b722d745 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c      Mon Aug 27 14:18:54 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c      Mon Aug 27 14:19:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_drm.c,v 1.12 2018/08/27 13:38:15 riastradh Exp $       */
+/*     $NetBSD: nouveau_drm.c,v 1.13 2018/08/27 14:19:08 riastradh Exp $       */
 
 /*
  * Copyright 2012 Red Hat Inc.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_drm.c,v 1.12 2018/08/27 13:38:15 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_drm.c,v 1.13 2018/08/27 14:19:08 riastradh Exp $");
 
 #include <linux/console.h>
 #include <linux/delay.h>
@@ -1151,15 +1151,8 @@
 {
        driver_pci = driver_stub;
        driver_pci.set_busid = drm_pci_set_busid;
-#ifdef __NetBSD__
-       driver_pci.request_irq = drm_pci_request_irq;
-       driver_pci.free_irq = drm_pci_free_irq;
-#endif
        driver_platform = driver_stub;
        driver_platform.set_busid = drm_platform_set_busid;
-#ifdef __NetBSD__
-       /* XXX platform intr establish?  */
-#endif
 
        nouveau_display_options();
 



Home | Main Index | Thread Index | Old Index