diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-07-22 16:35:29 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-07-22 16:35:29 +0000 |
commit | 7564923517979268f311d5d45fa97b11ecdad7db (patch) | |
tree | 491bb39aedecd5829591fe3d4492070e50f549ab /target/linux/ar71xx/files/include | |
parent | 4e9e2cba408541afd1058d4a778eef1ffca23dc9 (diff) | |
download | upstream-7564923517979268f311d5d45fa97b11ecdad7db.tar.gz upstream-7564923517979268f311d5d45fa97b11ecdad7db.tar.bz2 upstream-7564923517979268f311d5d45fa97b11ecdad7db.zip |
parse mac address on RouterBOARDs
SVN-Revision: 11910
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r-- | target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h index 6c23340a84..f24ff800b5 100644 --- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h +++ b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h @@ -12,6 +12,7 @@ #ifndef __ASM_MACH_AR71XX_PLATFORM_H #define __ASM_MACH_AR71XX_PLATFORM_H +#include <linux/if_ether.h> #include <linux/skbuff.h> #include <linux/phy.h> #include <linux/spi/spi.h> @@ -22,6 +23,7 @@ struct ag71xx_platform_data { u32 phy_mask; phy_interface_t phy_if_mode; u32 mii_if; + u8 mac_addr[ETH_ALEN]; }; struct ar71xx_spi_platform_data { @@ -36,6 +38,8 @@ struct ar71xx_spi_platform_data { extern void ar71xx_add_device_spi(struct ar71xx_spi_platform_data *pdata, struct spi_board_info const *info, unsigned n) __init; + +extern void ar71xx_set_mac_base(char *mac_str) __init; extern void ar71xx_add_device_eth(unsigned int id, phy_interface_t phy_if_mode, u32 phy_mask) __init; |