summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/include/dm9000.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/include/dm9000.h')
-rw-r--r--qemu/roms/u-boot/include/dm9000.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/include/dm9000.h b/qemu/roms/u-boot/include/dm9000.h
new file mode 100644
index 000000000..42b04fac3
--- /dev/null
+++ b/qemu/roms/u-boot/include/dm9000.h
@@ -0,0 +1,17 @@
+/*
+ * NOTE: DAVICOM DM9000 ethernet driver interface
+ *
+ * Authors: Remy Bohmer <linux@bohmer.net>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef __DM9000_H__
+#define __DM9000_H__
+
+/****************** function prototypes **********************/
+#if !defined(CONFIG_DM9000_NO_SROM)
+void dm9000_write_srom_word(int offset, u16 val);
+void dm9000_read_srom_word(int offset, u8 *to);
+#endif
+
+#endif /* __DM9000_H__ */