From 2e5f44213fd55ca53c3751061e19b0c54857900b Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 11 Sep 2011 18:05:36 +0000 Subject: FEC: Allow registering MII postconfiguration callback Signed-off-by: Marek Vasut Cc: Ben Warren Cc: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel --- include/netdev.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/netdev.h') diff --git a/include/netdev.h b/include/netdev.h index e979cbd32..480453e51 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -186,4 +186,9 @@ struct mv88e61xx_config { int mv88e61xx_switch_initialize(struct mv88e61xx_config *swconfig); #endif /* CONFIG_MV88E61XX_SWITCH */ +/* + * Allow FEC to fine-tune MII configuration on boards which require this. + */ +int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int)); + #endif /* _NETDEV_H_ */ -- cgit v1.2.3