summaryrefslogtreecommitdiff
path: root/src/include/device/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/path.h')
-rw-r--r--src/include/device/path.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/device/path.h b/src/include/device/path.h
index eaa9cc7d67..067a507166 100644
--- a/src/include/device/path.h
+++ b/src/include/device/path.h
@@ -15,6 +15,7 @@ enum device_path_type {
DEVICE_PATH_IOAPIC,
DEVICE_PATH_GENERIC,
DEVICE_PATH_SPI,
+ DEVICE_PATH_USB,
DEVICE_PATH_MMIO,
/*
@@ -37,6 +38,7 @@ enum device_path_type {
"DEVICE_PATH_IOAPIC", \
"DEVICE_PATH_GENERIC", \
"DEVICE_PATH_SPI", \
+ "DEVICE_PATH_USB", \
"DEVICE_PATH_MMIO", \
}
@@ -91,6 +93,11 @@ struct generic_path {
unsigned int subid;
};
+struct usb_path {
+ unsigned int port_type;
+ unsigned int port_id;
+};
+
struct mmio_path {
uintptr_t addr;
};
@@ -109,6 +116,7 @@ struct device_path {
struct cpu_bus_path cpu_bus;
struct generic_path generic;
struct spi_path spi;
+ struct usb_path usb;
struct mmio_path mmio;
};
};