fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / net / sunbmac.h
index b4c5309..b563d3c 100644 (file)
@@ -303,10 +303,10 @@ enum bigmac_timer_state {
 };
 
 struct bigmac {
-       unsigned long   gregs;  /* QEC Global Registers               */
-       unsigned long   creg;   /* QEC BigMAC Channel Registers       */
-       unsigned long   bregs;  /* BigMAC Registers                   */
-       unsigned long   tregs;  /* BigMAC Transceiver                 */
+       void __iomem    *gregs; /* QEC Global Registers               */
+       void __iomem    *creg;  /* QEC BigMAC Channel Registers       */
+       void __iomem    *bregs; /* BigMAC Registers                   */
+       void __iomem    *tregs; /* BigMAC Transceiver                 */
        struct bmac_init_block  *bmac_block;    /* RX and TX descriptors */
        __u32                    bblock_dvma;   /* RX and TX descriptors */
 
@@ -332,14 +332,13 @@ struct bigmac {
        struct sbus_dev         *qec_sdev;
        struct sbus_dev         *bigmac_sdev;
        struct net_device       *dev;
-       struct bigmac           *next_module;
 };
 
 /* 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 *big_mac_alloc_skb(unsigned int length, int gfp_flags)
+static inline struct sk_buff *big_mac_alloc_skb(unsigned int length, gfp_t gfp_flags)
 {
        struct sk_buff *skb;