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