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

@@ -11,4 +11,9 @@
struct vsc7385_platform_data {
void (* reset)(void);
char *ucode_name;
struct {
u32 tx_ipg:5;
u32 bit2:1;
u32 clk_sel:3;
} mac_cfg;
};