ramips: include 'linux/module.h' in the ramips_spi driver
[openwrt.git] / target / linux / ramips / files / drivers / net / ramips_eth.h
index a69754b..4927f2a 100644 (file)
@@ -219,6 +219,7 @@ struct raeth_priv
        struct tasklet_struct   rx_tasklet;
        struct ramips_rx_dma    *rx;
        struct sk_buff          *rx_skb[NUM_RX_DESC];
+       dma_addr_t              rx_dma[NUM_RX_DESC];
 
        dma_addr_t              tx_desc_dma;
        struct tasklet_struct   tx_housekeeping_tasklet;
@@ -228,12 +229,17 @@ struct raeth_priv
        unsigned int            skb_free_idx;
 
        spinlock_t              page_lock;
+       struct net_device       *netdev;
+       struct device           *parent;
        struct ramips_eth_platform_data *plat;
 
        int                     speed;
        int                     duplex;
        int                     tx_fc;
        int                     rx_fc;
+
+       struct mii_bus          *mii_bus;
+       int                     mii_irq[PHY_MAX_ADDR];
 };
 
 #endif /* RAMIPS_ETH_H */
This page took 0.028635 seconds and 4 git commands to generate.