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

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