mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: introduce ar71xx_switch_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
#include <linux/phy.h>
|
||||
#include <linux/spi/spi.h>
|
||||
|
||||
struct ag71xx_switch_platform_data {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
struct ag71xx_platform_data {
|
||||
phy_interface_t phy_if_mode;
|
||||
u32 phy_mask;
|
||||
@@ -31,7 +35,8 @@ struct ag71xx_platform_data {
|
||||
u8 is_ar7240:1;
|
||||
u8 is_ar724x:1;
|
||||
u8 has_ar8216:1;
|
||||
u8 has_ar7240_switch:1;
|
||||
|
||||
struct ag71xx_switch_platform_data *switch_data;
|
||||
|
||||
void (*ddr_flush)(void);
|
||||
void (*set_speed)(int speed);
|
||||
|
||||
Reference in New Issue
Block a user