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:
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user