diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-07-11 14:59:31 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-07-11 14:59:31 +0000 |
commit | 218298becfb97225c0f10949b0730d4858a1fea2 (patch) | |
tree | 230a7f57d87ac2ebe3a1e8216736c27a10200083 /target/linux/ar71xx/files/arch | |
parent | 292775eb34a0deaf84d0b9345d2f0125c8c5b36b (diff) | |
download | upstream-218298becfb97225c0f10949b0730d4858a1fea2.tar.gz upstream-218298becfb97225c0f10949b0730d4858a1fea2.tar.bz2 upstream-218298becfb97225c0f10949b0730d4858a1fea2.zip |
use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
SVN-Revision: 16780
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c index 111ea4a3dd..80dd3c64aa 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c @@ -169,6 +169,11 @@ static void ap83_vsc7385_reset(void) static struct vsc7385_platform_data ap83_vsc7385_data = { .reset = ap83_vsc7385_reset, .ucode_name = "vsc7385_ucode_ap83.bin", + .mac_cfg = { + .tx_ipg = 6, + .bit2 = 0, + .clk_sel = 3, + }, }; static struct spi_board_info ap83_spi_info[] = { |