diff options
| author | 2009-01-11 22:45:02 +0100 | |
|---|---|---|
| committer | 2009-05-30 10:17:43 +0200 | |
| commit | c58e16442b16f85d76808209c4aa7c37adc62de4 (patch) | |
| tree | 3f21c9b5a6ea601c7dabf97f53c395aeac3b2d5e /src/fw.h | |
| parent | Use new broadcast request ioctl (diff) | |
Use new iso resource allocation ioctls
This allows raw1394_bandwidth_modify() and raw1394_channel_modify()
to work on juju without write access to the IRM's character device file.
If either the build-time requirement of firewire-cdev header ABI >= v.2
or the runtime requirement of firewire-core ABI >= v.2 is not satisfied,
the code falls back to transactions to the IRM as before.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to '')
| -rw-r--r-- | src/fw.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -81,6 +81,7 @@ struct fw_handle { int port_count; int err; int generation; + int abi_version; void *userdata; int notify_bus_reset; @@ -202,6 +203,12 @@ int fw_update_config_rom(fw_handle_t handle, const quadlet_t *new_rom, int fw_get_config_rom(fw_handle_t handle, quadlet_t *buffer, size_t buffersize, size_t *rom_size, unsigned char *rom_version); +int fw_bandwidth_modify(raw1394handle_t handle, + unsigned int bandwidth, + enum raw1394_modify_mode mode); +int fw_channel_modify(raw1394handle_t handle, + unsigned int channel, + enum raw1394_modify_mode mode); int fw_iso_xmit_start(raw1394handle_t handle, int start_on_cycle, int prebuffer_packets); |
