use platform data to setup the MAC_CFG register in the spi_vsc7385 driver

SVN-Revision: 16780
This commit is contained in:
Gabor Juhos
2009-07-11 14:59:31 +00:00
parent 292775eb34
commit 218298becf
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;
};