ieee1394_hotplug.h 805 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _IEEE1394_HOTPLUG_H
  2. #define _IEEE1394_HOTPLUG_H
  3. #include <linux/kernel.h>
  4. #include <linux/types.h>
  5. #include <linux/mod_devicetable.h>
  6. /* Unit spec id and sw version entry for some protocols */
  7. #define AVC_UNIT_SPEC_ID_ENTRY 0x0000A02D
  8. #define AVC_SW_VERSION_ENTRY 0x00010001
  9. #define CAMERA_UNIT_SPEC_ID_ENTRY 0x0000A02D
  10. #define CAMERA_SW_VERSION_ENTRY 0x00000100
  11. /* Check to make sure this all isn't already defined */
  12. #ifndef IEEE1394_MATCH_VENDOR_ID
  13. #define IEEE1394_MATCH_VENDOR_ID 0x0001
  14. #define IEEE1394_MATCH_MODEL_ID 0x0002
  15. #define IEEE1394_MATCH_SPECIFIER_ID 0x0004
  16. #define IEEE1394_MATCH_VERSION 0x0008
  17. struct ieee1394_device_id {
  18. u32 match_flags;
  19. u32 vendor_id;
  20. u32 model_id;
  21. u32 specifier_id;
  22. u32 version;
  23. void *driver_data;
  24. };
  25. #endif
  26. #endif /* _IEEE1394_HOTPLUG_H */