[ar71xx] use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
[openwrt.git] / target / linux / ar71xx / files / include / linux / spi / vsc7385.h
index 6d1bb13..90e05c8 100644 (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;
 };