summaryrefslogtreecommitdiffstats
path: root/include/dm9000.h
diff options
context:
space:
mode:
authorsascha <sascha@nomad.localdomain>2007-10-16 13:55:48 +0200
committersascha <sascha@nomad.localdomain>2007-10-16 13:55:48 +0200
commitfdf739c7a5f5d4c9f2a49c65c1be14cdafa1b1db (patch)
tree941e55a209d817cbab76777eef3ad95585938fa9 /include/dm9000.h
parent0d26cc5df17f475f3692e1f04b0aa08415ffed46 (diff)
downloadbarebox-fdf739c7a5f5d4c9f2a49c65c1be14cdafa1b1db.tar.gz
barebox-fdf739c7a5f5d4c9f2a49c65c1be14cdafa1b1db.tar.xz
move dm9000 specific stuff to platform_data
Diffstat (limited to 'include/dm9000.h')
-rw-r--r--include/dm9000.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dm9000.h b/include/dm9000.h
new file mode 100644
index 0000000000..3cc52356b2
--- /dev/null
+++ b/include/dm9000.h
@@ -0,0 +1,16 @@
+
+#ifndef __DM9000_H__
+#define __DM9000_H__
+
+#define DM9000_WIDTH_8 1
+#define DM9000_WIDTH_16 2
+#define DM9000_WIDTH_32 3
+
+struct dm9000_platform_data {
+ unsigned long iobase;
+ unsigned long iodata;
+ int buswidth;
+};
+
+#endif /* __DM9000_H__ */
+