summaryrefslogtreecommitdiff
path: root/include/linux/fec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fec.h')
-rw-r--r--include/linux/fec.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/fec.h b/include/linux/fec.h
index 2ad61317d32b..5ebd1f4742de 100644
--- a/include/linux/fec.h
+++ b/include/linux/fec.h
@@ -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