]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/dm9000.h
Add config option for disabling DM9000-SROM support.
[people/ms/u-boot.git] / include / dm9000.h
diff --git a/include/dm9000.h b/include/dm9000.h
new file mode 100644 (file)
index 0000000..76f9bfd
--- /dev/null
@@ -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__ */