File powerpc-utils.bug-1041531_ofpathname-Add-support-for-vNIC-devices.patch of Package powerpc-utils

From 25615a80f3fb5ebcc26d7b00316afce8c46ab2f9 Mon Sep 17 00:00:00 2001
From: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Mon, 22 May 2017 16:40:50 -0400
Subject: [PATCH] ofpathname: Add support for vNIC devices

Add 'vnic' to the list of device types for of2l_ethernet so vNIC
devices are supported.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
---
 scripts/ofpathname | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/ofpathname b/scripts/ofpathname
index 8528f14..1b2a1dd 100755
--- a/scripts/ofpathname
+++ b/scripts/ofpathname
@@ -1030,6 +1030,7 @@ ofpathname_to_logical()
                              of2l_ide
                           fi ;;
         eth* | l-lan  )  of2l_ethernet ;;
+	vnic          )  of2l_ethernet ;;
         hfi-ethernet* )  of2l_hfi ;;
         disk*         )  of2l_ide ;;
         usb           )  of2l_usb ;;
-- 
2.10.2

openSUSE Build Service is sponsored by