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

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