aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/device.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-02-02 14:37:00 +0000
committerMichael Brown <mcb30@ipxe.org>2015-02-03 12:19:47 +0000
commit018b13dcec1b7c5d6be358e534451c06feaf7afb (patch)
treea030b0a2ab8a5d8e5ea786692b3f0a23e501f67b /src/include/ipxe/device.h
parent8c43891db4eb131d019360ccfb619f235b17eb58 (diff)
downloadipxe-018b13dcec1b7c5d6be358e534451c06feaf7afb.tar.gz
[usb] Add basic support for USB devices
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/device.h')
-rw-r--r--src/include/ipxe/device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/ipxe/device.h b/src/include/ipxe/device.h
index fd17b252e..03e29851e 100644
--- a/src/include/ipxe/device.h
+++ b/src/include/ipxe/device.h
@@ -66,10 +66,13 @@ struct device_description {
/** Hyper-V bus type */
#define BUS_TYPE_HV 9
+/** USB bus type */
+#define BUS_TYPE_USB 10
+
/** A hardware device */
struct device {
/** Name */
- char name[16];
+ char name[32];
/** Driver name */
const char *driver_name;
/** Device description */