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/nvkm/subdev/pci nouve...
details: https://anonhg.NetBSD.org/src/rev/e976b1f8d8fe
branches: trunk
changeset: 1028937:e976b1f8d8fe
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 12:31:26 2021 +0000
description:
nouveau: Remove post-merge audit comments -- LGTM.
diffstat:
sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/nouveau_nvkm_subdev_pci_base.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 79d9e6b45f39 -r e976b1f8d8fe sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/nouveau_nvkm_subdev_pci_base.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/nouveau_nvkm_subdev_pci_base.c Sun Dec 19 12:31:19 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/nouveau_nvkm_subdev_pci_base.c Sun Dec 19 12:31:26 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nouveau_nvkm_subdev_pci_base.c,v 1.9 2021/12/19 10:51:58 riastradh Exp $ */
+/* $NetBSD: nouveau_nvkm_subdev_pci_base.c,v 1.10 2021/12/19 12:31:26 riastradh Exp $ */
/*
* Copyright 2015 Red Hat Inc.
@@ -24,7 +24,7 @@
* Authors: Ben Skeggs <bskeggs%redhat.com@localhost>
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_subdev_pci_base.c,v 1.9 2021/12/19 10:51:58 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_subdev_pci_base.c,v 1.10 2021/12/19 12:31:26 riastradh Exp $");
#include "priv.h"
#include "agp.h"
@@ -123,14 +123,13 @@
return ret;
}
-#ifdef __NetBSD__ /* XXX post-merge audit */
+#ifdef __NetBSD__
{
const char *const name = device_xname(pci_dev_dev(pdev));
const struct pci_attach_args *pa = &pdev->pd_pa;
const char *intrstr;
char intrbuf[PCI_INTRSTR_LEN];
- /* XXX convert to use drm_pci_request_irq() */
if (pdev->msi_enabled) {
if (pdev->pd_intr_handles == NULL) {
if ((ret = pci_msi_alloc_exact(pa, &pci->pci_ihp,
Home |
Main Index |
Thread Index |
Old Index