projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: allow overriding of the lan port names on AP91 based boards
[openwrt-10.03/.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
dev-ap91-eth.h
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.h
b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.h
index 424e2ae468cac73adbfec51017a3a51aeb296a78..d9cd2141ada9a118462258083ad60d6dc8a52eca 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.h
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.h
@@
-11,8
+11,10
@@
#ifndef _AR71XX_DEV_AP91_ETH_H
#define _AR71XX_DEV_AP91_ETH_H
#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)
#if defined(CONFIG_AR71XX_DEV_AP91_ETH)
-void ap91_eth_init(u8 *mac_addr) __init;
+void ap91_eth_init(u8 *mac_addr
, const char *port_names[]
) __init;
#else
static inline void ap91_eth_init(u8 *mac_addr) { }
#endif
#else
static inline void ap91_eth_init(u8 *mac_addr) { }
#endif