diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-07 12:12:42 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 22:03:08 +0100 |
commit | 5371842b723dd04df57171f2c74660966901380c (patch) | |
tree | d94e2f9a128f736b6ee92c4c6a6d7819d06e4908 /drivers/firewire/fw-device-cdev.h | |
parent | 97bd9efa5a4d8a70b3bafe0d1e3e1a814fdac5bc (diff) | |
download | blackbird-op-linux-5371842b723dd04df57171f2c74660966901380c.tar.gz blackbird-op-linux-5371842b723dd04df57171f2c74660966901380c.zip |
firewire: Implement ioctl to initiate bus reset.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-device-cdev.h')
-rw-r--r-- | drivers/firewire/fw-device-cdev.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h index 4f94471b8078..8a8b390d5996 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h @@ -108,10 +108,11 @@ struct fw_cdev_event_iso_interrupt { #define FW_CDEV_IOC_SEND_REQUEST _IO('#', 0x01) #define FW_CDEV_IOC_ALLOCATE _IO('#', 0x02) #define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x03) -#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x04) -#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x05) -#define FW_CDEV_IOC_START_ISO _IO('#', 0x06) -#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x07) +#define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x04) +#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x05) +#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x06) +#define FW_CDEV_IOC_START_ISO _IO('#', 0x07) +#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x08) struct fw_cdev_get_config_rom { __u32 length; @@ -139,6 +140,13 @@ struct fw_cdev_allocate { __u32 length; }; +#define FW_CDEV_LONG_RESET 0 +#define FW_CDEV_SHORT_RESET 1 + +struct fw_cdev_initiate_bus_reset { + __u32 type; +}; + #define FW_CDEV_ISO_CONTEXT_TRANSMIT 0 #define FW_CDEV_ISO_CONTEXT_RECEIVE 1 |