mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-08-25 00:58:55 +00:00
ENGR00123078-1 MX28: Add L2 Switch resources definition
L2 Switch resources definition for MX28 Signed-off-by: Niu Xule <b23300@freescale.com>
This commit is contained in:
@@ -22,4 +22,22 @@ struct fec_platform_data {
|
||||
struct regulator *vddio_reg;
|
||||
};
|
||||
|
||||
struct switch_platform_data {
|
||||
int id;
|
||||
int hash_table;
|
||||
unsigned int *switch_hw;
|
||||
struct fec_platform_data *fec_enet;
|
||||
void (*request_intrs)(struct net_device *dev,
|
||||
irqreturn_t (*)(int, void *),
|
||||
void *irq_privatedata);
|
||||
void (*set_mii)(struct net_device *dev);
|
||||
void (*get_mac)(struct net_device *dev);
|
||||
void (*enable_phy_intr)(void);
|
||||
void (*disable_phy_intr)(void);
|
||||
void (*phy_ack_intr)(void);
|
||||
void (*localhw_setup)(void);
|
||||
void (*uncache)(unsigned long addr);
|
||||
void (*platform_flush_cache)(void);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user