From 17c7b6c3fdc48301e50d22cc6138ede16bd1be24 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 6 Sep 2007 16:27:37 +0000 Subject: strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX__ becomes CONFIG_TARGET_, same for profiles. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../asm-mips/mach-atheros/ar531x_platform.h | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x_platform.h (limited to 'target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x_platform.h') diff --git a/target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x_platform.h b/target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x_platform.h new file mode 100644 index 000000000..bddcd59a0 --- /dev/null +++ b/target/linux/atheros/files/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 */ -- cgit v1.2.3