Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2025 14:17:34 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 59cec1382dd8 - stable/14 - pci: Renove #ifdef PCI_IOV from declarations now used unconditionally
Message-ID:  <202502271417.51REHY3C017604@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=59cec1382dd81b816d4c98c185350b08b9d39fb3

commit 59cec1382dd81b816d4c98c185350b08b9d39fb3
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-08-08 22:35:09 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-02-27 13:09:24 +0000

    pci: Renove #ifdef PCI_IOV from declarations now used unconditionally
    
    Fixes:  971c9f57d7e6 ("pci: Narrow the scope of recently-added PCI_IOV #ifdefs")
    (cherry picked from commit 104ee24349c033b63a50bd89ddc431a0d3ef9902)
---
 sys/dev/pci/pci_private.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/dev/pci/pci_private.h b/sys/dev/pci/pci_private.h
index d3dd41abdb62..f4164f32293b 100644
--- a/sys/dev/pci/pci_private.h
+++ b/sys/dev/pci/pci_private.h
@@ -65,16 +65,12 @@ bus_get_dma_tag_t	pci_get_dma_tag;
 bus_get_resource_list_t	pci_get_resource_list;
 bus_delete_resource_t	pci_delete_resource;
 bus_alloc_resource_t	pci_alloc_resource;
-#ifdef PCI_IOV
 bus_adjust_resource_t	pci_adjust_resource;
-#endif
 bus_release_resource_t	pci_release_resource;
 bus_activate_resource_t	pci_activate_resource;
 bus_deactivate_resource_t pci_deactivate_resource;
-#ifdef PCI_IOV
 bus_map_resource_t	pci_map_resource;
 bus_unmap_resource_t	pci_unmap_resource;
-#endif
 bus_child_deleted_t	pci_child_deleted;
 bus_child_detached_t	pci_child_detached;
 bus_child_pnpinfo_t	pci_child_pnpinfo_method;



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