]> err.no Git - linux-2.6/blobdiff - drivers/ieee1394/hosts.c
ieee1394: stricter error checks in csr1212
[linux-2.6] / drivers / ieee1394 / hosts.c
index 32a1309219384537a21b8f8a6f972affb5a7d33b..615ba62080131161ec1298ba529e06e3db1d216b 100644 (file)
@@ -218,6 +218,14 @@ void hpsb_remove_host(struct hpsb_host *host)
        device_unregister(&host->device);
 }
 
+/**
+ * hpsb_update_config_rom_image - updates configuration ROM image of a host
+ *
+ * Updates the configuration ROM image of a host.  rom_version must be the
+ * current version, otherwise it will fail with return value -1. If this
+ * host does not support config-rom-update, it will return -%EINVAL.
+ * Return value 0 indicates success.
+ */
 int hpsb_update_config_rom_image(struct hpsb_host *host)
 {
        unsigned long reset_delay;