aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/toshiba/ps3_gelic_net.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/toshiba/ps3_gelic_net.h')
-rw-r--r--drivers/net/ethernet/toshiba/ps3_gelic_net.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/drivers/net/ethernet/toshiba/ps3_gelic_net.h b/drivers/net/ethernet/toshiba/ps3_gelic_net.h
index 309abb472aa2..8505196be9f5 100644
--- a/drivers/net/ethernet/toshiba/ps3_gelic_net.h
+++ b/drivers/net/ethernet/toshiba/ps3_gelic_net.h
@@ -359,27 +359,26 @@ static inline void *port_priv(struct gelic_port *port)
359} 359}
360 360
361#ifdef CONFIG_PPC_EARLY_DEBUG_PS3GELIC 361#ifdef CONFIG_PPC_EARLY_DEBUG_PS3GELIC
362extern void udbg_shutdown_ps3gelic(void); 362void udbg_shutdown_ps3gelic(void);
363#else 363#else
364static inline void udbg_shutdown_ps3gelic(void) {} 364static inline void udbg_shutdown_ps3gelic(void) {}
365#endif 365#endif
366 366
367extern int gelic_card_set_irq_mask(struct gelic_card *card, u64 mask); 367int gelic_card_set_irq_mask(struct gelic_card *card, u64 mask);
368/* shared netdev ops */ 368/* shared netdev ops */
369extern void gelic_card_up(struct gelic_card *card); 369void gelic_card_up(struct gelic_card *card);
370extern void gelic_card_down(struct gelic_card *card); 370void gelic_card_down(struct gelic_card *card);
371extern int gelic_net_open(struct net_device *netdev); 371int gelic_net_open(struct net_device *netdev);
372extern int gelic_net_stop(struct net_device *netdev); 372int gelic_net_stop(struct net_device *netdev);
373extern int gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev); 373int gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev);
374extern void gelic_net_set_multi(struct net_device *netdev); 374void gelic_net_set_multi(struct net_device *netdev);
375extern void gelic_net_tx_timeout(struct net_device *netdev); 375void gelic_net_tx_timeout(struct net_device *netdev);
376extern int gelic_net_change_mtu(struct net_device *netdev, int new_mtu); 376int gelic_net_change_mtu(struct net_device *netdev, int new_mtu);
377extern int gelic_net_setup_netdev(struct net_device *netdev, 377int gelic_net_setup_netdev(struct net_device *netdev, struct gelic_card *card);
378 struct gelic_card *card);
379 378
380/* shared ethtool ops */ 379/* shared ethtool ops */
381extern void gelic_net_get_drvinfo(struct net_device *netdev, 380void gelic_net_get_drvinfo(struct net_device *netdev,
382 struct ethtool_drvinfo *info); 381 struct ethtool_drvinfo *info);
383extern void gelic_net_poll_controller(struct net_device *netdev); 382void gelic_net_poll_controller(struct net_device *netdev);
384 383
385#endif /* _GELIC_NET_H */ 384#endif /* _GELIC_NET_H */