Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2021 12:12:00 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 539228d372fa - main - LinuxKPI: pci re-add pci_free_irq_vectors()
Message-ID:  <202106281212.15SCC0fu035313@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=539228d372fae8c4cc401b7ba4620f27783be5a4

commit 539228d372fae8c4cc401b7ba4620f27783be5a4
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-06-28 12:09:16 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-06-28 12:09:16 +0000

    LinuxKPI: pci re-add pci_free_irq_vectors()
    
    Re-add pci_free_irq_vectors() accidentally removed in
    d4a4960c6559caa890af0901a21296e75b961210 and now needed by drm-kmod v5.5.
    
    Reported by:    wulf
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    X-MFC with:     d4a4960c6559caa890af0901a21296e75b961210
---
 sys/compat/linuxkpi/common/include/linux/pci.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
index 007665730353..85278356dfea 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -572,6 +572,7 @@ lkpi_pci_disable_msi(struct pci_dev *pdev)
 	pdev->msi_enabled = false;
 }
 #define	pci_disable_msi(pdev)		lkpi_pci_disable_msi(pdev)
+#define	pci_free_irq_vectors(pdev)	lkpi_pci_disable_msi(pdev)
 
 unsigned long	pci_resource_start(struct pci_dev *pdev, int bar);
 unsigned long	pci_resource_len(struct pci_dev *pdev, int bar);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106281212.15SCC0fu035313>