[atheros] fix GPIO direction setup on ar5312, and fix compiler warnings
[openwrt.git] / target / linux / atheros / files / include / asm-mips / mach-atheros / ar531x_platform.h
1 #ifndef __AR531X_PLATFORM_H
2 #define __AR531X_PLATFORM_H
3
4 /*
5 * Board support data. The driver is required to locate
6 * and fill-in this information before passing a reference to
7 * this structure as the HAL_BUS_TAG parameter supplied to
8 * ath_hal_attach.
9 */
10 struct ar531x_config {
11 const char *board; /* board config data */
12 const char *radio; /* radio config data */
13 int unit; /* unit number [0, 1] */
14 u32 tag; /* used as devid for now */
15 };
16
17 struct ar531x_eth {
18 int phy;
19 int mac;
20 u32 reset_base;
21 u32 reset_mac;
22 u32 reset_phy;
23 u32 phy_base;
24 char *board_config;
25 char *macaddr;
26 };
27
28 #endif /* __AR531X_PLATFORM_H */
This page took 0.04557 seconds and 5 git commands to generate.