1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 * 3 * Copyright (c) 2003-2012 Broadcom Corporation 4 * All Rights Reserved 5 */ 6 7 #define PORTS_PER_CONTROLLER 4 8 9 struct xlr_net_data { 10 int cpu_mask; 11 u32 __iomem *mii_addr; 12 u32 __iomem *serdes_addr; 13 u32 __iomem *pcs_addr; 14 u32 __iomem *gpio_addr; 15 int phy_interface; 16 int rfr_station; 17 int tx_stnid[PORTS_PER_CONTROLLER]; 18 int *bucket_size; 19 int phy_addr[PORTS_PER_CONTROLLER]; 20 struct xlr_fmn_info *gmac_fmn_info; 21 }; 22