Commit 632321ec authored by Stefan Richter's avatar Stefan Richter

firewire: cdev: fix documentation of FW_CDEV_IOC_GET_INFO

The FW_CDEV_IOC_GET_INFO ioctl looks at client->device->config_rom, not
at the local node's config ROM.

We could fix the implementation or the documentation.  I believe the way
how it is currently implemented is more useful than the way how it is
currently documented.  In fact, libdc1394 uses the ABI already as
implemented, not as documented.  Hence let's change the documentation.
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 4817ed24
...@@ -201,7 +201,7 @@ union fw_cdev_event { ...@@ -201,7 +201,7 @@ union fw_cdev_event {
* case, @rom_length is updated with the actual length of the * case, @rom_length is updated with the actual length of the
* configuration ROM. * configuration ROM.
* @rom: If non-zero, address of a buffer to be filled by a copy of the * @rom: If non-zero, address of a buffer to be filled by a copy of the
* local node's configuration ROM * device's configuration ROM
* @bus_reset: If non-zero, address of a buffer to be filled by a * @bus_reset: If non-zero, address of a buffer to be filled by a
* &struct fw_cdev_event_bus_reset with the current state * &struct fw_cdev_event_bus_reset with the current state
* of the bus. This does not cause a bus reset to happen. * of the bus. This does not cause a bus reset to happen.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment