diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-08-21 15:18:48 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-08-31 14:58:14 +1000 |
commit | 70907c3fc4b344d00ce900e6a536e9cc16a35216 (patch) | |
tree | d723cafda2c6f32675c9e1ff52c55bce283e4aa5 /lib/types/types.h | |
parent | 74ca9eaf3d0dd64560c3eaa132df2e854b51bcdd (diff) | |
download | talos-petitboot-70907c3fc4b344d00ce900e6a536e9cc16a35216.tar.gz talos-petitboot-70907c3fc4b344d00ce900e6a536e9cc16a35216.zip |
Recognise storage devices on USB bus
Users may want to prioritise USB-attached storage devices differently to
other devices. Detect if a device is USB-attached and add a new device
type to identify it.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r-- | lib/types/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h index 0415206..6a2c258 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -8,6 +8,7 @@ enum device_type { DEVICE_TYPE_NETWORK, DEVICE_TYPE_DISK, + DEVICE_TYPE_USB, DEVICE_TYPE_OPTICAL, DEVICE_TYPE_ANY, DEVICE_TYPE_UNKNOWN, |