summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/ar531x_platform.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-04 21:18:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-04 21:18:10 +0000
commit76c376d82a9bb487024875ad8a9985b078428ca0 (patch)
treecb1889ac12efd291486fea515200a0715cba6ce7 /target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/ar531x_platform.h
parentb4bd2648998ee5ed8f4a1dc6385462976ad64ff0 (diff)
downloadmaster-31e0f0ae-76c376d82a9bb487024875ad8a9985b078428ca0.tar.gz
master-31e0f0ae-76c376d82a9bb487024875ad8a9985b078428ca0.tar.bz2
master-31e0f0ae-76c376d82a9bb487024875ad8a9985b078428ca0.zip
update atheros 2.6 port - add support for the older chip generation
SVN-Revision: 6265
Diffstat (limited to 'target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/ar531x_platform.h')
-rw-r--r--target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/ar531x_platform.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/ar531x_platform.h b/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/ar531x_platform.h
new file mode 100644
index 0000000000..377b31a266
--- /dev/null
+++ b/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/ar531x_platform.h
@@ -0,0 +1,26 @@
+#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;
+ char *board_config;
+};
+
+#endif /* __AR531X_PLATFORM_H */