mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 03:28:25 +02:00
a393655eea
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
622 B
C
24 lines
622 B
C
/*
|
|
* 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 */
|
|
|