2010-02-19 11:52:36 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2010-03-09 18:05:45 +00:00
|
|
|
#define AP91_ETH_NUM_PORT_NAMES 4
|
|
|
|
|
2010-02-19 11:52:36 +00:00
|
|
|
#if defined(CONFIG_AR71XX_DEV_AP91_ETH)
|
2010-03-09 18:05:45 +00:00
|
|
|
void ap91_eth_init(u8 *mac_addr, const char *port_names[]) __init;
|
2010-02-19 11:52:36 +00:00
|
|
|
#else
|
|
|
|
static inline void ap91_eth_init(u8 *mac_addr) { }
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _AR71XX_DEV_AP91_ETH_H */
|
|
|
|
|