]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/myri_sbus.h
firmware: convert maestro3 driver to use firmware loader exclusively
[linux-2.6-omap-h63xx.git] / drivers / net / myri_sbus.h
index 9391e55a5e92488d247ae41875e8bf065a7bd93b..5d93fcc95d55e7db5240b956ee3109d26331d42d 100644 (file)
@@ -280,7 +280,6 @@ struct myri_eth {
        void __iomem                    *lregs;         /* Quick ptr to LANAI regs.   */
        struct sk_buff         *rx_skbs[RX_RING_SIZE+1];/* RX skb's                   */
        struct sk_buff         *tx_skbs[TX_RING_SIZE];  /* TX skb's                   */
-       struct net_device_stats         enet_stats;     /* Interface stats.           */
 
        /* These are less frequently accessed. */
        void __iomem                    *regs;          /* MyriCOM register space.    */
@@ -290,13 +289,12 @@ struct myri_eth {
        unsigned int                    reg_size;       /* Size of register space.    */
        unsigned int                    shmem_base;     /* Offset to shared ram.      */
        struct sbus_dev                 *myri_sdev;     /* Our SBUS device struct.    */
-       struct myri_eth                 *next_module;   /* Next in adapter chain.     */
 };
 
 /* We use this to acquire receive skb's that we can DMA directly into. */
 #define ALIGNED_RX_SKB_ADDR(addr) \
         ((((unsigned long)(addr) + (64 - 1)) & ~(64 - 1)) - (unsigned long)(addr))
-static inline struct sk_buff *myri_alloc_skb(unsigned int length, int gfp_flags)
+static inline struct sk_buff *myri_alloc_skb(unsigned int length, gfp_t gfp_flags)
 {
        struct sk_buff *skb;