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