1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[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
This commit is contained in:
juhosg
2009-07-11 14:59:31 +00:00
parent 23e2296ede
commit 3f82f4f4f2
3 changed files with 24 additions and 7 deletions

View File

@@ -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[] = {