提交 632321ec 编写于 作者: S 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: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册