diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-07-11 14:59:31 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-07-11 14:59:31 +0000 |
commit | 3f82f4f4f292d053206a4fd25719e15aa3518f49 (patch) | |
tree | df715c6b55a6ec14a2d778a62b2deacba7ef653b /target/linux/ar71xx/files/arch | |
parent | 23e2296edecc252583a5bb2d7fbc6a5107fe2767 (diff) |
[ar71xx] use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16780 3c298f89-4303-0410-b956-a3cf2f4a3e73
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[] = { |