vserver 1.9.3
[linux-2.6.git] / drivers / net / b44.h
index 9c9d4f8..22647be 100644 (file)
 #define SSB_PCI_MASK1          0xfc000000
 #define SSB_PCI_MASK2          0xc0000000
 
-#define br32(REG)      readl(bp->regs + (REG))
-#define bw32(REG,VAL)  writel((VAL), bp->regs + (REG))
-
 /* 4400 PHY registers */
 #define B44_MII_AUXCTRL                24      /* Auxiliary Control */
 #define  MII_AUXCTRL_DUPLEX    0x0001  /* Full Duplex */
@@ -530,7 +527,7 @@ struct b44 {
        struct net_device_stats stats;
        struct b44_hw_stats     hw_stats;
 
-       unsigned long           regs;
+       void __iomem            *regs;
        struct pci_dev          *pdev;
        struct net_device       *dev;
 
@@ -542,6 +539,8 @@ struct b44 {
        u8                      phy_addr;
        u8                      mdc_port;
        u8                      core_unit;
+
+       struct mii_if_info      mii_if;
 };
 
 #endif /* _B44_H */