summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.h
blob: 08b1dde6bbf74591f5302f19b4c3efaae5ce1fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *  Atheros AP91 reference board ethernet initialization
 *
 *  Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
 *
 *  This program is free software; you can redistribute it and/or modify it
 *  under the terms of the GNU General Public License version 2 as published
 *  by the Free Software Foundation.
 */

#ifndef _AR71XX_DEV_AP91_ETH_H
#define _AR71XX_DEV_AP91_ETH_H

#define AP91_ETH_NUM_PORT_NAMES	4

#if defined(CONFIG_AR71XX_DEV_AP91_ETH)
void ap91_eth_init(const char *port_names[]) __init;
#else
static inline void ap91_eth_init(const char *port_names[]) { }
#endif

#endif /* _AR71XX_DEV_AP91_ETH_H */