]> asedeno.scripts.mit.edu Git - linux.git/blob - drivers/staging/netlogic/platform_net.h
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux.git] / drivers / staging / netlogic / platform_net.h
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 };