Skip to content

Commit 69b4771

Browse files
Add new device path node subtypes
We didn't have `MESSAGING_REST_SERVICE` before because the spec incorrectly gave it the same subtype as `MESSAGING_NVDIMM_NAMESPACE`; that was corrected in v2.9 of the spec. `MESSAGING_NVME_OF_NAMESPACE` is new in v2.10 of the spec.
1 parent 8fba1ee commit 69b4771

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
- Added `Guid::from_bytes` and `Guid::to_bytes`.
99
- Added `UnalignedSlice` for representing a reference to an unaligned
1010
slice.
11+
- Added `DeviceSubType::MESSAGING_REST_SERVICE` and
12+
`DeviceSubType::MESSAGING_NVME_OF_NAMESPACE`.
1113

1214
### Changed
1315

src/proto/device_path/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,10 @@ impl DeviceSubType {
527527
pub const MESSAGING_DNS: DeviceSubType = DeviceSubType(31);
528528
/// NVDIMM Namespace Device Path.
529529
pub const MESSAGING_NVDIMM_NAMESPACE: DeviceSubType = DeviceSubType(32);
530+
/// REST Service Device Path.
531+
pub const MESSAGING_REST_SERVICE: DeviceSubType = DeviceSubType(33);
532+
/// NVME over Fabric (NVMe-oF) Namespace Device Path.
533+
pub const MESSAGING_NVME_OF_NAMESPACE: DeviceSubType = DeviceSubType(34);
530534

531535
/// Hard Drive Media Device Path.
532536
pub const MEDIA_HARD_DRIVE: DeviceSubType = DeviceSubType(1);

0 commit comments

Comments
 (0)