aboutsummaryrefslogtreecommitdiffstats
path: root/net/802
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-05-10 17:14:35 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-05-15 20:14:35 -0400
commit211ed865108e24697b44bee5daac502ee6bdd4a4 (patch)
tree2a902c914f96298f265ef52cba5e463c5c8dea32 /net/802
parent60eea6cf2964beea6c38d9050bc3823a93db97e0 (diff)
net: delete all instances of special processing for token ring
We are going to delete the Token ring support. This removes any special processing in the core networking for token ring, (aside from net/tr.c itself), leaving the drivers and remaining tokenring support present but inert. The mass removal of the drivers and net/tr.c will be in a separate commit, so that the history of these files that we still care about won't have the giant deletion tied into their history. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/802')
-rw-r--r--net/802/p8022.c3
-rw-r--r--net/802/tr.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/net/802/p8022.c b/net/802/p8022.c
index 7f353c4f437a..0bda8de7df51 100644
--- a/net/802/p8022.c
+++ b/net/802/p8022.c
@@ -1,6 +1,5 @@
1/* 1/*
2 * NET3: Support for 802.2 demultiplexing off Ethernet (Token ring 2 * NET3: Support for 802.2 demultiplexing off Ethernet
3 * is kept separate see p8022tr.c)
4 * This program is free software; you can redistribute it and/or 3 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License 4 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 5 * as published by the Free Software Foundation; either version
diff --git a/net/802/tr.c b/net/802/tr.c
index 30a352ed09b1..175243b0d6d8 100644
--- a/net/802/tr.c
+++ b/net/802/tr.c
@@ -604,7 +604,6 @@ static void tr_setup(struct net_device *dev)
604 604
605 dev->header_ops = &tr_header_ops; 605 dev->header_ops = &tr_header_ops;
606 606
607 dev->type = ARPHRD_IEEE802_TR;
608 dev->hard_header_len = TR_HLEN; 607 dev->hard_header_len = TR_HLEN;
609 dev->mtu = 2000; 608 dev->mtu = 2000;
610 dev->addr_len = TR_ALEN; 609 dev->addr_len = TR_ALEN;