This patch adds code to enable the translation of logical devices to the of
NVMeoFC paths.
Signed-off-by: Diego Domingos
Signed-off-by: Avnish Chouhan
---
grub-core/osdep/linux/ofpath.c | 415
+--
include/grub/util/ofpath.h | 28
This patch implements the functions to scan and discovery of NVMeoFC.
Signed-off-by: Diego Domingos
Signed-off-by: Avnish Chouhan
---
grub-core/disk/ieee1275/ofdisk.c | 397
+--
1 file changed, 298 insertions(+), 99 deletions(-)
diff --git a
This patch enables the fcp-targets and fcp-luns methods which are
responsible to get WWPNs and LUNs for fibre channel devices.
Those methods are specially necessary if the boot directory and grub
installation are in different FCP disks, allowing the dev_iterate()
to find the WWPNs and LUNs when ca
grub-ofpathname doesn't work with fibre channel because there is no
function currently implemented for it.
This patch enables it by prividing a function that looks for the port
name, building the entire path for OF devices.
Signed-off-by: Diego Domingos
Signed-off-by: Avnish Chouhan
---
grub-co
Usually grub will parse the PFW arguments by searching for the first occurence
of the character ':'.
However, we can have this char more than once on NQN.
This patch changes the logic to find the last occurence of this char so we can
get the proper values
for NVMeoFC
Signed-off-by: Diego Domingo
This patch series adds support of NVMeoFC on grub. It consists of five
patches.
Patch 1/5 (0001-ieee1275-powerpc-implements-fibre-channel-discovery-.patch):
grub-ofpathname doesn't work with fibre channel because there is no
function currently implemented for it.
This patch enables it by prividing