|
|
3a9410 |
From eb17cd2553366491b54c834b00fd953e94ef0bd2 Mon Sep 17 00:00:00 2001
|
|
|
3a9410 |
Message-Id: <eb17cd2553366491b54c834b00fd953e94ef0bd2@dist-git>
|
|
|
3a9410 |
From: Boris Fiuczynski <fiuczy@linux.ibm.com>
|
|
|
3a9410 |
Date: Fri, 13 May 2022 12:31:14 +0200
|
|
|
3a9410 |
Subject: [PATCH] schemas: refactor out nodedev ccw address schema
|
|
|
3a9410 |
|
|
|
3a9410 |
Refactor out nodedev ccw address schema for easy reuse later.
|
|
|
3a9410 |
|
|
|
3a9410 |
Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
|
|
|
3a9410 |
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
|
|
3a9410 |
(cherry picked from commit e9ba2ced0b6bdcf6ed4c4b38d8f3fc63b6fa6d59)
|
|
|
3a9410 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2165011
|
|
|
3a9410 |
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
|
|
3a9410 |
---
|
|
|
3a9410 |
docs/schemas/nodedev.rng | 22 +++++++++-------------
|
|
|
3a9410 |
1 file changed, 9 insertions(+), 13 deletions(-)
|
|
|
3a9410 |
|
|
|
3a9410 |
diff --git a/docs/schemas/nodedev.rng b/docs/schemas/nodedev.rng
|
|
|
3a9410 |
index e4733f0804..29515d2d7e 100644
|
|
|
3a9410 |
--- a/docs/schemas/nodedev.rng
|
|
|
3a9410 |
+++ b/docs/schemas/nodedev.rng
|
|
|
3a9410 |
@@ -653,10 +653,7 @@
|
|
|
3a9410 |
</interleave>
|
|
|
3a9410 |
</define>
|
|
|
3a9410 |
|
|
|
3a9410 |
- <define name="capccwdev">
|
|
|
3a9410 |
- <attribute name="type">
|
|
|
3a9410 |
- <value>ccw</value>
|
|
|
3a9410 |
- </attribute>
|
|
|
3a9410 |
+ <define name="capccwaddress">
|
|
|
3a9410 |
<element name="cssid">
|
|
|
3a9410 |
<ref name="ccwCssidRange"/>
|
|
|
3a9410 |
</element>
|
|
|
3a9410 |
@@ -668,19 +665,18 @@
|
|
|
3a9410 |
</element>
|
|
|
3a9410 |
</define>
|
|
|
3a9410 |
|
|
|
3a9410 |
+ <define name="capccwdev">
|
|
|
3a9410 |
+ <attribute name="type">
|
|
|
3a9410 |
+ <value>ccw</value>
|
|
|
3a9410 |
+ </attribute>
|
|
|
3a9410 |
+ <ref name="capccwaddress"/>
|
|
|
3a9410 |
+ </define>
|
|
|
3a9410 |
+
|
|
|
3a9410 |
<define name="capcssdev">
|
|
|
3a9410 |
<attribute name="type">
|
|
|
3a9410 |
<value>css</value>
|
|
|
3a9410 |
</attribute>
|
|
|
3a9410 |
- <element name="cssid">
|
|
|
3a9410 |
- <ref name="ccwCssidRange"/>
|
|
|
3a9410 |
- </element>
|
|
|
3a9410 |
- <element name="ssid">
|
|
|
3a9410 |
- <ref name="ccwSsidRange"/>
|
|
|
3a9410 |
- </element>
|
|
|
3a9410 |
- <element name="devno">
|
|
|
3a9410 |
- <ref name="ccwDevnoRange"/>
|
|
|
3a9410 |
- </element>
|
|
|
3a9410 |
+ <ref name="capccwaddress"/>
|
|
|
3a9410 |
<optional>
|
|
|
3a9410 |
<ref name="mdev_types"/>
|
|
|
3a9410 |
</optional>
|
|
|
3a9410 |
--
|
|
|
3a9410 |
2.39.1
|
|
|
3a9410 |
|