2 * Atheros AP91 reference board ethernet initialization
4 * Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
11 #ifndef _AR71XX_DEV_AP91_ETH_H
12 #define _AR71XX_DEV_AP91_ETH_H
14 #define AP91_ETH_NUM_PORT_NAMES 4
16 #if defined(CONFIG_AR71XX_DEV_AP91_ETH)
17 void ap91_eth_init(u8 *mac_addr, const char *port_names[]) __init;
19 static inline void ap91_eth_init(u8 *mac_addr) { }
22 #endif /* _AR71XX_DEV_AP91_ETH_H */