ieee1275: add nvme support within ofpath
authorEric Snowberg <eric.snowberg@oracle.com>
Tue, 20 Feb 2018 17:57:14 +0000 (09:57 -0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 23 Feb 2018 21:36:53 +0000 (22:36 +0100)
commit2391d579094cfab65a0fd89a3c617cb3a33fb715
tree87eafbf4c64dcbd6aa799e8d13c8215ea0c85738
parentae2a2745185c08d194775f28588f58ac90ae4351
ieee1275: add nvme support within ofpath

Add NVMe support within ofpath.

The Open Firmware text representation for a NVMe device contains the
Namespace ID. An invalid namespace ID is one whose value is zero or whose
value is greater than the value reported by the Number of Namespaces (NN)
field in the Identify Controller data structure.  At the moment  only a
single Namespace is supported, therefore the value is currently hard coded
to one.

Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/osdep/linux/ofpath.c