summaryrefslogtreecommitdiff
path: root/include/dm9000.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dm9000.h')
-rw-r--r--include/dm9000.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/dm9000.h b/include/dm9000.h
new file mode 100644
index 0000000..76f9bfd
--- /dev/null
+++ b/include/dm9000.h
@@ -0,0 +1,20 @@
+/*
+ * NOTE: DAVICOM DM9000 ethernet driver interface
+ *
+ * Authors: Remy Bohmer <linux@bohmer.net>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+#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__ */