[OS-BUILD PATCH 7/33] sfc: Mark siena driver unmaintained

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Peter Georg <peter.georg@xxxxxxxxxxxxxxxxxxxxxxxx>

sfc: Mark siena driver unmaintained

Bugzilla: http://bugzilla.redhat.com/2019379
Upstream Status: RHEL only

commit 6d38c2cf547c30319207e4b4205863e5ca7bc06c
Author: Prarit Bhargava <prarit@xxxxxxxxxx>
Date:   Thu Nov 25 10:32:33 2021 -0500

    sfc: Mark siena driver unmaintained

    Bugzilla: http://bugzilla.redhat.com/2019379

    Upstream Status: RHEL9 only, https://gitlab.com/cki-project/kernel-ark
    commit 9231ea8a892839fecea3946582aa1eee4cc2b164
    Author: Prarit Bhargava <prarit@xxxxxxxxxx>
    Date:   Tue Nov 23 20:26:13 2021 -0500

        sfc: Mark siena driver unmaintained

        Mark siena driver unmaintained.

        Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

    Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

Signed-off-by: Peter Georg <peter.georg@xxxxxxxxxxxxxxxxxxxxxxxx>

diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c
index blahblah..blahblah 100644
--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -818,6 +818,12 @@ static const struct pci_device_id efx_pci_table[] = {
 	{0}			/* end of list */
 };
 
+static const struct pci_device_id efx_unmaintained_pci_table[] = {
+	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0803)},	/* SFC9020 */
+	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0813)},	/* SFL9021 */
+	{0}
+};
+
 /**************************************************************************
  *
  * Data housekeeping
@@ -1072,6 +1078,8 @@ static int efx_pci_probe(struct pci_dev *pci_dev,
 	if (!efx->type->is_vf)
 		efx_probe_vpd_strings(efx);
 
+	pci_hw_unmaintained(efx_unmaintained_pci_table, pci_dev);
+
 	/* Set up basic I/O (BAR mappings etc) */
 	rc = efx_init_io(efx, efx->type->mem_bar(efx), efx->type->max_dma_mask,
 			 efx->type->mem_map_size(efx));

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1610
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux