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 */ 12 struct 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 }; 18 19 #endif 20