bgmac.h (02083c3aeda7b5fab49920b7fd9277b2c9ec50a9) bgmac.h (f3537b3494c06a98a8636c375b6d7a5060c5ac2d)
1#ifndef _BGMAC_H
2#define _BGMAC_H
3
4#include <linux/netdevice.h>
5
6#define BGMAC_DEV_CTL 0x000
7#define BGMAC_DC_TSM 0x00000002
8#define BGMAC_DC_CFCO 0x00000004

--- 523 unchanged lines hidden (view full) ---

532 int (*phy_connect)(struct bgmac *bgmac);
533};
534
535struct bgmac *bgmac_alloc(struct device *dev);
536int bgmac_enet_probe(struct bgmac *bgmac);
537void bgmac_enet_remove(struct bgmac *bgmac);
538void bgmac_adjust_link(struct net_device *net_dev);
539int bgmac_phy_connect_direct(struct bgmac *bgmac);
1#ifndef _BGMAC_H
2#define _BGMAC_H
3
4#include <linux/netdevice.h>
5
6#define BGMAC_DEV_CTL 0x000
7#define BGMAC_DC_TSM 0x00000002
8#define BGMAC_DC_CFCO 0x00000004

--- 523 unchanged lines hidden (view full) ---

532 int (*phy_connect)(struct bgmac *bgmac);
533};
534
535struct bgmac *bgmac_alloc(struct device *dev);
536int bgmac_enet_probe(struct bgmac *bgmac);
537void bgmac_enet_remove(struct bgmac *bgmac);
538void bgmac_adjust_link(struct net_device *net_dev);
539int bgmac_phy_connect_direct(struct bgmac *bgmac);
540int bgmac_enet_suspend(struct bgmac *bgmac);
541int bgmac_enet_resume(struct bgmac *bgmac);
540
541struct mii_bus *bcma_mdio_mii_register(struct bgmac *bgmac);
542void bcma_mdio_mii_unregister(struct mii_bus *mii_bus);
543
544static inline u32 bgmac_read(struct bgmac *bgmac, u16 offset)
545{
546 return bgmac->read(bgmac, offset);
547}

--- 64 unchanged lines hidden ---
542
543struct mii_bus *bcma_mdio_mii_register(struct bgmac *bgmac);
544void bcma_mdio_mii_unregister(struct mii_bus *mii_bus);
545
546static inline u32 bgmac_read(struct bgmac *bgmac, u16 offset)
547{
548 return bgmac->read(bgmac, offset);
549}

--- 64 unchanged lines hidden ---