summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/files-2.6.26/include/asm-mips/mach-atheros/ar531x_platform.h
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-20 16:19:46 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-20 16:19:46 +0000
commita348226cd2f1e87f82d2489e8b04b665cd0fcc20 (patch)
tree92259ea79c3ec40fc15d5d515966ac2043a3bccb /target/linux/atheros/files-2.6.26/include/asm-mips/mach-atheros/ar531x_platform.h
parent58b41997f202fb24c4556fe295ea33ee83d9c5af (diff)
[atheros]: move files for kernel 2.6.26 to a special directory.
In kernel 2.6.28 the directory structure has chanced, so for kernel 2.6.26 a own files directory is needed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14583 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/files-2.6.26/include/asm-mips/mach-atheros/ar531x_platform.h')
-rw-r--r--target/linux/atheros/files-2.6.26/include/asm-mips/mach-atheros/ar531x_platform.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/atheros/files-2.6.26/include/asm-mips/mach-atheros/ar531x_platform.h b/target/linux/atheros/files-2.6.26/include/asm-mips/mach-atheros/ar531x_platform.h
new file mode 100644
index 000000000..bddcd59a0
--- /dev/null
+++ b/target/linux/atheros/files-2.6.26/include/asm-mips/mach-atheros/ar531x_platform.h
@@ -0,0 +1,28 @@
+#ifndef __AR531X_PLATFORM_H
+#define __AR531X_PLATFORM_H
+
+/*
+ * Board support data. The driver is required to locate
+ * and fill-in this information before passing a reference to
+ * this structure as the HAL_BUS_TAG parameter supplied to
+ * ath_hal_attach.
+ */
+struct ar531x_config {
+ const char *board; /* board config data */
+ const char *radio; /* radio config data */
+ int unit; /* unit number [0, 1] */
+ u32 tag; /* used as devid for now */
+};
+
+struct ar531x_eth {
+ int phy;
+ int mac;
+ u32 reset_base;
+ u32 reset_mac;
+ u32 reset_phy;
+ u32 phy_base;
+ char *board_config;
+ char *macaddr;
+};
+
+#endif /* __AR531X_PLATFORM_H */