18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __PLATFORM_DATA_ETH_IXP4XX
38c2ecf20Sopenharmony_ci#define __PLATFORM_DATA_ETH_IXP4XX
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/types.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define IXP4XX_ETH_NPEA		0x00
88c2ecf20Sopenharmony_ci#define IXP4XX_ETH_NPEB		0x10
98c2ecf20Sopenharmony_ci#define IXP4XX_ETH_NPEC		0x20
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/* Information about built-in Ethernet MAC interfaces */
128c2ecf20Sopenharmony_cistruct eth_plat_info {
138c2ecf20Sopenharmony_ci	u8 phy;		/* MII PHY ID, 0 - 31 */
148c2ecf20Sopenharmony_ci	u8 rxq;		/* configurable, currently 0 - 31 only */
158c2ecf20Sopenharmony_ci	u8 txreadyq;
168c2ecf20Sopenharmony_ci	u8 hwaddr[6];
178c2ecf20Sopenharmony_ci};
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#endif
20