diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-14 17:34:55 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-15 18:21:36 +0100 |
commit | 9472316b6eab3500ded544f6e86700c33541ef4e (patch) | |
tree | f155121d72e4881793113ff1890fcc79f37a2c71 /drivers/firewire/fw-device-cdev.h | |
parent | eb0306eac0aad0b7da18d8fbfb777f155b2c010d (diff) | |
download | lwn-9472316b6eab3500ded544f6e86700c33541ef4e.tar.gz lwn-9472316b6eab3500ded544f6e86700c33541ef4e.zip |
firewire: Implement deallocation of address ranges.
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 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h index 3437a360d7dc..10b83222db69 100644 --- a/drivers/firewire/fw-device-cdev.h +++ b/drivers/firewire/fw-device-cdev.h @@ -113,12 +113,13 @@ struct fw_cdev_event_iso_interrupt { #define FW_CDEV_IOC_GET_INFO _IO('#', 0x00) #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_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) +#define FW_CDEV_IOC_DEALLOCATE _IO('#', 0x03) +#define FW_CDEV_IOC_SEND_RESPONSE _IO('#', 0x04) +#define FW_CDEV_IOC_INITIATE_BUS_RESET _IO('#', 0x05) +#define FW_CDEV_IOC_CREATE_ISO_CONTEXT _IO('#', 0x06) +#define FW_CDEV_IOC_QUEUE_ISO _IO('#', 0x07) +#define FW_CDEV_IOC_START_ISO _IO('#', 0x08) +#define FW_CDEV_IOC_STOP_ISO _IO('#', 0x09) /* FW_CDEV_VERSION History * @@ -173,6 +174,10 @@ struct fw_cdev_allocate { __u32 length; }; +struct fw_cdev_deallocate { + __u64 offset; +}; + #define FW_CDEV_LONG_RESET 0 #define FW_CDEV_SHORT_RESET 1 |