Fixed URBDRC DEVICE_ADD_FLAG definitions
@@ -222,14 +222,12 @@ struct _IUDEVMAN
UINT32 status;
};
-enum
-{
- DEVICE_ADD_FLAG_BUS,
- DEVICE_ADD_FLAG_DEV,
- DEVICE_ADD_FLAG_VENDOR,
- DEVICE_ADD_FLAG_PRODUCT,
- DEVICE_ADD_FLAG_REGISTER
-} device_add_flag_t;
+#define DEVICE_ADD_FLAG_BUS 0x01
+#define DEVICE_ADD_FLAG_DEV 0x02
+#define DEVICE_ADD_FLAG_VENDOR 0x04
+#define DEVICE_ADD_FLAG_PRODUCT 0x08
+#define DEVICE_ADD_FLAG_REGISTER 0x10
+
#define DEVICE_ADD_FLAG_ALL \
(DEVICE_ADD_FLAG_BUS | DEVICE_ADD_FLAG_DEV | DEVICE_ADD_FLAG_VENDOR | \
DEVICE_ADD_FLAG_PRODUCT | DEVICE_ADD_FLAG_REGISTER)
