Ignore:
Timestamp:
2011-04-02T02:47:29+02:00 (5 years ago)
Author:
nbd
Message:

ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus behind the switch instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h

    r23979 r26393  
    504504void ag71xx_ar7240_cleanup(struct ag71xx *ag); 
    505505 
     506int ag71xx_mdio_mii_read(struct ag71xx_mdio *am, int addr, int reg); 
     507void ag71xx_mdio_mii_write(struct ag71xx_mdio *am, int addr, int reg, u16 val); 
     508 
     509u16 ar7240sw_phy_read(struct mii_bus *mii, unsigned phy_addr, 
     510                      unsigned reg_addr); 
     511int ar7240sw_phy_write(struct mii_bus *mii, unsigned phy_addr, 
     512                       unsigned reg_addr, u16 reg_val); 
     513 
    506514#endif /* _AG71XX_H */ 
Note: See TracChangeset for help on using the changeset viewer.