Blame SOURCES/0001-Add-support-for-ExaNIC-network-cards-5.patch

8572c5
From 7460046a5430e92cd6a4ef0c938f80e95669b5bc Mon Sep 17 00:00:00 2001
8572c5
From: Ka-Shu Wong <31426385+kashuwong@users.noreply.github.com>
8572c5
Date: Fri, 1 Sep 2017 15:33:56 +1000
8572c5
Subject: [PATCH] Add support for ExaNIC network cards (#5)
8572c5
8572c5
ExaNIC cards have multiple physical ports on the same PCI function and
8572c5
need to be numbered using the dev_port attribute.
8572c5
---
8572c5
 src/bios_device.c | 2 ++
8572c5
 1 file changed, 2 insertions(+)
8572c5
8572c5
diff --git a/src/bios_device.c b/src/bios_device.c
8572c5
index e9d5177..3cc528b 100644
8572c5
--- a/src/bios_device.c
8572c5
+++ b/src/bios_device.c
8572c5
@@ -221,6 +221,8 @@ int ismultiport(const char *driver)
8572c5
 		return 1;
8572c5
 	if (!strncmp(driver, "cxgb", 4))
8572c5
 		return 1;
8572c5
+	if (!strncmp(driver, "exanic", 6))
8572c5
+		return 1;
8572c5
 	return 0;
8572c5
 }
8572c5
 
8572c5
-- 
8572c5
2.13.6
8572c5