vserver 1.9.3
[linux-2.6.git] / drivers / net / sunqe.h
index b90ed5d..af34f36 100644 (file)
@@ -311,7 +311,7 @@ struct qe_init_block {
 struct sunqe;
 
 struct sunqec {
-       unsigned long           gregs;          /* QEC Global Registers         */
+       void __iomem            *gregs;         /* QEC Global Registers         */
        struct sunqe            *qes[4];        /* Each child MACE              */
        unsigned int            qec_bursts;     /* Support burst sizes          */
        struct sbus_dev         *qec_sdev;      /* QEC's SBUS device            */
@@ -331,8 +331,8 @@ struct sunqe_buffers {
 ((__u32)((unsigned long)(&(((struct sunqe_buffers *)0)->mem[elem][0]))))
 
 struct sunqe {
-       unsigned long                   qcregs;         /* QEC per-channel Registers   */
-       unsigned long                   mregs;          /* Per-channel MACE Registers  */
+       void __iomem                    *qcregs;                /* QEC per-channel Registers   */
+       void __iomem                    *mregs;         /* Per-channel MACE Registers  */
        struct qe_init_block            *qe_block;      /* RX and TX descriptors       */
        __u32                           qblock_dvma;    /* RX and TX descriptors       */
        spinlock_t                      lock;           /* Protects txfull state       */