[ARM] 4714/2: Headers for IXP4xx built-in Ethernet and WAN drivers

Adds platform structs and #defines required by drivers for
IXP4xx built-in Ethernet and WAN (sync serial) ports.

The actual drivers will reside in drivers/net/arm and
drivers/net/wan and will be submitted separately.

Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Rod Whitby <rod@whitby.id.au>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Krzysztof Halasa and committed by Russell King 80bbdd27 82a96f57

+21
+21
include/asm-arm/arch-ixp4xx/platform.h
··· 91 91 92 92 struct sys_timer; 93 93 94 + #define IXP4XX_ETH_NPEA 0x00 95 + #define IXP4XX_ETH_NPEB 0x10 96 + #define IXP4XX_ETH_NPEC 0x20 97 + 98 + /* Information about built-in Ethernet MAC interfaces */ 99 + struct eth_plat_info { 100 + u8 phy; /* MII PHY ID, 0 - 31 */ 101 + u8 rxq; /* configurable, currently 0 - 31 only */ 102 + u8 txreadyq; 103 + u8 hwaddr[6]; 104 + }; 105 + 106 + /* Information about built-in HSS (synchronous serial) interfaces */ 107 + struct hss_plat_info { 108 + int (*set_clock)(int port, unsigned int clock_type); 109 + int (*open)(int port, void *pdev, 110 + void (*set_carrier_cb)(void *pdev, int carrier)); 111 + void (*close)(int port, void *pdev); 112 + u8 txreadyq; 113 + }; 114 + 94 115 /* 95 116 * Frequency of clock used for primary clocksource 96 117 */