summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6171.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-04-02 04:06:30 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-02 04:55:40 +0200
commitb2eb06627718836f7d133141693ec9685b4c4ef5 (patch)
tree59516e2e73ed244c6daa6133208f647b80859e64 /drivers/net/dsa/mv88e6171.c
parentnet: dsa: mv88e6131: Use common initialization functions (diff)
downloadlinux-b2eb06627718836f7d133141693ec9685b4c4ef5.tar.xz
linux-b2eb06627718836f7d133141693ec9685b4c4ef5.zip
net: dsa: mv88e6xxx: Move switch product IDs into common include file
This will let us use the switch product IDs in the common source code. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6171.c')
-rw-r--r--drivers/net/dsa/mv88e6171.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/dsa/mv88e6171.c b/drivers/net/dsa/mv88e6171.c
index 18cfead83dc9..639bd83b76c7 100644
--- a/drivers/net/dsa/mv88e6171.c
+++ b/drivers/net/dsa/mv88e6171.c
@@ -17,10 +17,6 @@
#include <net/dsa.h>
#include "mv88e6xxx.h"
-/* Switch product IDs */
-#define ID_6171 0x1710
-#define ID_6172 0x1720
-
static char *mv88e6171_probe(struct device *host_dev, int sw_addr)
{
struct mii_bus *bus = dsa_host_dev_to_mii_bus(host_dev);