summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorAnastasiia Lukianenko <[email protected]>2020-08-06 12:42:55 +0300
committerTom Rini <[email protected]>2020-08-14 15:18:30 -0400
commit722bc5b5d901eafb96e8530cc7cf3036bff398a4 (patch)
treedd7518078a82e91b14944d9136147e688e064992 /include/dm
parentc850674ff74b1625c17a77a454acec0e9cc6ec36 (diff)
xen: pvblock: Add initial support for para-virtualized block driver
Add initial infrastructure for Xen para-virtualized block device. This includes compile-time configuration and the skeleton for the future driver implementation. Add new class UCLASS_PVBLOCK which is going to be a parent for virtual block devices. Add new interface type IF_TYPE_PVBLOCK. Implement basic driver setup by reading XenStore configuration. Signed-off-by: Andrii Anisov <[email protected]> Signed-off-by: Anastasiia Lukianenko <[email protected]> Signed-off-by: Oleksandr Andrushchenko <[email protected]>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index dbc14ec3429..4ec5fa6670a 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -123,6 +123,7 @@ enum uclass_id {
UCLASS_W1, /* Dallas 1-Wire bus */
UCLASS_W1_EEPROM, /* one-wire EEPROMs */
UCLASS_WDT, /* Watchdog Timer driver */
+ UCLASS_PVBLOCK, /* Xen virtual block device */
UCLASS_COUNT,
UCLASS_INVALID = -1,