dsa.h (ce31b31c68e7e39f29b1257581fbd08ce3ca5589) dsa.h (5037d532b83d7325a2743dffe82882a64697a8e8)
1/*
2 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips
3 * Copyright (c) 2008-2009 Marvell Semiconductor
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 5 unchanged lines hidden (view full) ---

14#include <linux/if_ether.h>
15#include <linux/list.h>
16#include <linux/timer.h>
17#include <linux/workqueue.h>
18#include <linux/of.h>
19#include <linux/phy.h>
20#include <linux/phy_fixed.h>
21
1/*
2 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips
3 * Copyright (c) 2008-2009 Marvell Semiconductor
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 5 unchanged lines hidden (view full) ---

14#include <linux/if_ether.h>
15#include <linux/list.h>
16#include <linux/timer.h>
17#include <linux/workqueue.h>
18#include <linux/of.h>
19#include <linux/phy.h>
20#include <linux/phy_fixed.h>
21
22/* Not an official ethertype value, used only internally for DSA
23 * demultiplexing
24 */
25#define ETH_P_BRCMTAG (ETH_P_XDSA + 1)
26
22#define DSA_MAX_SWITCHES 4
23#define DSA_MAX_PORTS 12
24
25struct dsa_chip_data {
26 /*
27 * How to access the switch configuration registers.
28 */
29 struct device *mii_bus;

--- 187 unchanged lines hidden ---
27#define DSA_MAX_SWITCHES 4
28#define DSA_MAX_PORTS 12
29
30struct dsa_chip_data {
31 /*
32 * How to access the switch configuration registers.
33 */
34 struct device *mii_bus;

--- 187 unchanged lines hidden ---