1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __PLATFORM_DATA_ETH_IXP4XX 3#define __PLATFORM_DATA_ETH_IXP4XX 4 5#include <linux/types.h> 6 7#define IXP4XX_ETH_NPEA 0x00 8#define IXP4XX_ETH_NPEB 0x10 9#define IXP4XX_ETH_NPEC 0x20 10 11/* Information about built-in Ethernet MAC interfaces */ 12struct eth_plat_info { 13 u8 phy; /* MII PHY ID, 0 - 31 */ 14 u8 rxq; /* configurable, currently 0 - 31 only */ 15 u8 txreadyq; 16 u8 hwaddr[6]; 17 u8 npe; /* NPE instance used by this interface */ 18 bool has_mdio; /* If this instance has an MDIO bus */ 19}; 20 21#endif 22