blob: cb302c157b5f7379c3b5afe2c954db4677ce735e [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glass818f91e2016-01-17 14:51:57 -07002/*
3 * (C) Copyright 2001-2015
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * Joe Hershberger, National Instruments
Simon Glass818f91e2016-01-17 14:51:57 -07006 */
7
8#ifndef __ETH_INTERNAL_H
9#define __ETH_INTERNAL_H
10
11/* Do init that is common to driver model and legacy networking */
12void eth_common_init(void);
13
Simon Glass8607a6b2016-01-17 14:51:59 -070014int eth_mac_skip(int index);
15void eth_current_changed(void);
Simon Glass8607a6b2016-01-17 14:51:59 -070016void eth_set_dev(struct udevice *dev);
Simon Glass8607a6b2016-01-17 14:51:59 -070017void eth_set_current_to_next(void);
18
Simon Glass818f91e2016-01-17 14:51:57 -070019#endif