hyperv: Add mmio_size attribute to device nodes
Some devices such as graphics and PCI passthrough bridges require MMIO space. Add this as a device node attribute if present. Change-Id: Id374ff61c29c1ccad10e3a7f3f7053c14d02aa5e Reviewed-on: https://review.haiku-os.org/c/haiku/+/10483 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#define HYPERV_CHANNEL_ID_ITEM "hyperv/channel"
|
||||
#define HYPERV_DEVICE_TYPE_STRING_ITEM "hyperv/type_string"
|
||||
#define HYPERV_INSTANCE_ID_ITEM "hyperv/instance"
|
||||
#define HYPERV_MMIO_SIZE_ITEM "hyperv/mmio_size"
|
||||
|
||||
#define HYPERV_PRETTYNAME_VMBUS "Hyper-V Virtual Machine Bus"
|
||||
#define HYPERV_PRETTYNAME_VMBUS_DEVICE_FMT "Hyper-V Channel %u"
|
||||
|
||||
Reference in New Issue
Block a user