aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi.h')
-rw-r--r--hw/ssi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/ssi.h b/hw/ssi.h
index 2bde9f5b44..a05d60beb4 100644
--- a/hw/ssi.h
+++ b/hw/ssi.h
@@ -83,6 +83,10 @@ SSIBus *ssi_create_bus(DeviceState *parent, const char *name);
uint32_t ssi_transfer(SSIBus *bus, uint32_t val);
+/* Automatically connect all children nodes a spi controller as slaves */
+void ssi_auto_connect_slaves(DeviceState *parent, qemu_irq *cs_lines,
+ SSIBus *bus);
+
/* max111x.c */
void max111x_set_input(DeviceState *dev, int line, uint8_t value);