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 struct pci_dev::pd_drm_dev kludge ...



details:   https://anonhg.NetBSD.org/src/rev/5f13d58f2948
branches:  trunk
changeset: 1027972:5f13d58f2948
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:23:30 2021 +0000

description:
struct pci_dev::pd_drm_dev kludge is no more.

diffstat:

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

diffs (26 lines):

diff -r 26cf0dd7a648 -r 5f13d58f2948 sys/external/bsd/drm2/pci/drm_pci.c
--- a/sys/external/bsd/drm2/pci/drm_pci.c       Sun Dec 19 01:23:23 2021 +0000
+++ b/sys/external/bsd/drm2/pci/drm_pci.c       Sun Dec 19 01:23:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_pci.c,v 1.35 2021/12/19 01:04:33 riastradh Exp $   */
+/*     $NetBSD: drm_pci.c,v 1.36 2021/12/19 01:23:30 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.35 2021/12/19 01:04:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 1.36 2021/12/19 01:23:30 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -77,7 +77,6 @@
        }
 
        dev->pdev = pdev;
-       pdev->pd_drm_dev = dev; /* XXX Nouveau kludge.  */
 
        /* XXX Set the power state to D0?  */
 



Home | Main Index | Thread Index | Old Index