summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/config_roms.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394/config_roms.h')
-rw-r--r--drivers/ieee1394/config_roms.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/ieee1394/config_roms.h b/drivers/ieee1394/config_roms.h
new file mode 100644
index 0000000..1f5cd1f
--- /dev/null
+++ b/drivers/ieee1394/config_roms.h
@@ -0,0 +1,19 @@
+#ifndef _IEEE1394_CONFIG_ROMS_H
+#define _IEEE1394_CONFIG_ROMS_H
+
+struct hpsb_host;
+
+int hpsb_default_host_entry(struct hpsb_host *host);
+int hpsb_init_config_roms(void);
+void hpsb_cleanup_config_roms(void);
+
+/* List of flags to check if a host contains a certain extra config rom
+ * entry. Available in the host->config_roms member. */
+#define HPSB_CONFIG_ROM_ENTRY_IP1394 0x00000001
+
+#ifdef CONFIG_IEEE1394_ETH1394_ROM_ENTRY
+int hpsb_config_rom_ip1394_add(struct hpsb_host *host);
+void hpsb_config_rom_ip1394_remove(struct hpsb_host *host);
+#endif
+
+#endif /* _IEEE1394_CONFIG_ROMS_H */
OpenPOWER on IntegriCloud