summaryrefslogtreecommitdiff
path: root/drivers/staging/netlogic/platform_net.h
blob: c8d4c13424c6ba5bd799804dc2a5f7c952e906b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
/*
 * Copyright (c) 2003-2012 Broadcom Corporation
 * All Rights Reserved
 */

#define PORTS_PER_CONTROLLER		4

struct xlr_net_data {
	int cpu_mask;
	u32 __iomem *mii_addr;
	u32 __iomem *serdes_addr;
	u32 __iomem *pcs_addr;
	u32 __iomem *gpio_addr;
	int phy_interface;
	int rfr_station;
	int tx_stnid[PORTS_PER_CONTROLLER];
	int *bucket_size;
	int phy_addr[PORTS_PER_CONTROLLER];
	struct xlr_fmn_info *gmac_fmn_info;
};