diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2009-02-20 16:27:42 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2009-02-20 16:27:42 +0000 |
commit | ab82c57b352e2e5d45a4fa09816e5b29dc9ed231 (patch) | |
tree | 136db11a5fc8f4ef4dd9e448bb7c17945e605cd9 /target/linux/atheros/files-2.6.28/arch/mips/include/asm/mach-atheros/ar531x_platform.h | |
parent | 35a6422eb6d4233328a68f238fb9a39d2ca56333 (diff) | |
download | upstream-ab82c57b352e2e5d45a4fa09816e5b29dc9ed231.tar.gz upstream-ab82c57b352e2e5d45a4fa09816e5b29dc9ed231.tar.bz2 upstream-ab82c57b352e2e5d45a4fa09816e5b29dc9ed231.zip |
[atheros]: Add initial kernel 2.6.28 support for atheros target.
The include files moved from /include/asm-mips/mach-atheros/ to /arch/mips/include/asm/mach-atheros/
This patch is based on the old kernel 2.6.27 patches.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14584 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/files-2.6.28/arch/mips/include/asm/mach-atheros/ar531x_platform.h')
-rw-r--r-- | target/linux/atheros/files-2.6.28/arch/mips/include/asm/mach-atheros/ar531x_platform.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/atheros/files-2.6.28/arch/mips/include/asm/mach-atheros/ar531x_platform.h b/target/linux/atheros/files-2.6.28/arch/mips/include/asm/mach-atheros/ar531x_platform.h new file mode 100644 index 0000000000..bddcd59a0b --- /dev/null +++ b/target/linux/atheros/files-2.6.28/arch/mips/include/asm/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 */ |