summaryrefslogtreecommitdiffstats
path: root/0001-add-pci_hw_vendor_status.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-04-27 05:55:52 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-04-27 05:55:52 +0200
commitf7ba01a9677fffa21535bc6cdcad930a858d6106 (patch)
tree6eb6df39221f8926b813d63b41ffed9da18e6a5d /0001-add-pci_hw_vendor_status.patch
parent837cd03f031f1daaa2dda23d584cda25b0dfd51e (diff)
parent6c2cc50051831fa502a8b082a312ca90e7039f3f (diff)
downloadkernel-f7ba01a9677fffa21535bc6cdcad930a858d6106.tar.gz
kernel-f7ba01a9677fffa21535bc6cdcad930a858d6106.tar.xz
kernel-f7ba01a9677fffa21535bc6cdcad930a858d6106.zip
Diffstat (limited to '0001-add-pci_hw_vendor_status.patch')
-rw-r--r--0001-add-pci_hw_vendor_status.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/0001-add-pci_hw_vendor_status.patch b/0001-add-pci_hw_vendor_status.patch
index 5d28a72c5..bc8b0e5b3 100644
--- a/0001-add-pci_hw_vendor_status.patch
+++ b/0001-add-pci_hw_vendor_status.patch
@@ -1,4 +1,4 @@
-From 85b488a5a3ae9caa080e92d147b18125c1838d6e Mon Sep 17 00:00:00 2001
+From f5a0ca1b11d0f51cf7a03908f75ba0c246184cc3 Mon Sep 17 00:00:00 2001
From: Maurizio Lombardi <mlombard@redhat.com>
Date: Mon, 18 Jun 2018 12:51:25 -0400
Subject: [PATCH] add pci_hw_vendor_status()
@@ -40,11 +40,11 @@ index 0454ca0e4e3f..5cc490b821be 100644
+#include <linux/kernel.h>
#include "pci.h"
#include "pcie/portdrv.h"
-
+
@@ -278,6 +279,34 @@ static const struct pci_device_id *pci_match_device(struct pci_driver *drv,
return found_id;
}
-
+
+/**
+ * pci_hw_vendor_status - Tell if a PCI device is supported by the HW vendor
+ * @ids: array of PCI device id structures to search in
@@ -90,7 +90,7 @@ index 83ce1cdf5676..88397dd562d9 100644
+ struct pci_dev *dev);
int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max,
int pass);
-
+
--
-2.26.0
+2.26.2