Staging: et131x: kill off the rxmac ctrl type
[safe/jmp/linux-2.6] / drivers / staging / et131x / et1310_mac.c
index a9f924d..a292b1e 100644 (file)
@@ -244,7 +244,7 @@ void ConfigRxMacRegs(struct et131x_adapter *etdev)
        u32 pf_ctrl = 0;
 
        /* Disable the MAC while it is being configured (also disable WOL) */
-       writel(0x8, &pRxMac->ctrl.value);
+       writel(0x8, &pRxMac->ctrl);
 
        /* Initialize WOL to disabled. */
        writel(0, &pRxMac->crc0);
@@ -363,7 +363,7 @@ void ConfigRxMacRegs(struct et131x_adapter *etdev)
         * but we still leave the packet filter on.
         */
        writel(pf_ctrl, &pRxMac->pf_ctrl);
-       writel(0x9, &pRxMac->ctrl.value);
+       writel(0x9, &pRxMac->ctrl);
 }
 
 void ConfigTxMacRegs(struct et131x_adapter *etdev)