Commit 349f29d8 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

econet: remove ancient bug ridden protocol

More spring cleaning!

The ancient Econet protocol should go. Most of the bug fixes in recent
years have been fixing security vulnerabilities. The hardware hasn't
been made since the 90s, it is only interesting as an archeological curiosity.

For the truly curious, or insomniac, go read up on it.
  http://en.wikipedia.org/wiki/EconetSigned-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 09dcd604
...@@ -167,7 +167,6 @@ header-y += if_arp.h ...@@ -167,7 +167,6 @@ header-y += if_arp.h
header-y += if_bonding.h header-y += if_bonding.h
header-y += if_bridge.h header-y += if_bridge.h
header-y += if_cablemodem.h header-y += if_cablemodem.h
header-y += if_ec.h
header-y += if_eql.h header-y += if_eql.h
header-y += if_ether.h header-y += if_ether.h
header-y += if_fc.h header-y += if_fc.h
......
/* Definitions for Econet sockets. */
#ifndef __LINUX_IF_EC
#define __LINUX_IF_EC
/* User visible stuff. Glibc provides its own but libc5 folk will use these */
struct ec_addr {
unsigned char station; /* Station number. */
unsigned char net; /* Network number. */
};
struct sockaddr_ec {
unsigned short sec_family;
unsigned char port; /* Port number. */
unsigned char cb; /* Control/flag byte. */
unsigned char type; /* Type of message. */
struct ec_addr addr;
unsigned long cookie;
};
#define ECTYPE_PACKET_RECEIVED 0 /* Packet received */
#define ECTYPE_TRANSMIT_STATUS 0x10 /* Transmit completed,
low nibble holds status */
#define ECTYPE_TRANSMIT_OK 1
#define ECTYPE_TRANSMIT_NOT_LISTENING 2
#define ECTYPE_TRANSMIT_NET_ERROR 3
#define ECTYPE_TRANSMIT_NO_CLOCK 4
#define ECTYPE_TRANSMIT_LINE_JAMMED 5
#define ECTYPE_TRANSMIT_NOT_PRESENT 6
#ifdef __KERNEL__
#define EC_HLEN 6
/* This is what an Econet frame looks like on the wire. */
struct ec_framehdr {
unsigned char dst_stn;
unsigned char dst_net;
unsigned char src_stn;
unsigned char src_net;
unsigned char cb;
unsigned char port;
};
struct econet_sock {
/* struct sock has to be the first member of econet_sock */
struct sock sk;
unsigned char cb;
unsigned char port;
unsigned char station;
unsigned char net;
unsigned short num;
};
static inline struct econet_sock *ec_sk(const struct sock *sk)
{
return (struct econet_sock *)sk;
}
struct ec_device {
unsigned char station, net; /* Econet protocol address */
};
#endif
#endif
...@@ -207,7 +207,6 @@ source "net/ipx/Kconfig" ...@@ -207,7 +207,6 @@ source "net/ipx/Kconfig"
source "drivers/net/appletalk/Kconfig" source "drivers/net/appletalk/Kconfig"
source "net/x25/Kconfig" source "net/x25/Kconfig"
source "net/lapb/Kconfig" source "net/lapb/Kconfig"
source "net/econet/Kconfig"
source "net/wanrouter/Kconfig" source "net/wanrouter/Kconfig"
source "net/phonet/Kconfig" source "net/phonet/Kconfig"
source "net/ieee802154/Kconfig" source "net/ieee802154/Kconfig"
......
...@@ -40,7 +40,6 @@ obj-$(CONFIG_AF_RXRPC) += rxrpc/ ...@@ -40,7 +40,6 @@ obj-$(CONFIG_AF_RXRPC) += rxrpc/
obj-$(CONFIG_ATM) += atm/ obj-$(CONFIG_ATM) += atm/
obj-$(CONFIG_L2TP) += l2tp/ obj-$(CONFIG_L2TP) += l2tp/
obj-$(CONFIG_DECNET) += decnet/ obj-$(CONFIG_DECNET) += decnet/
obj-$(CONFIG_ECONET) += econet/
obj-$(CONFIG_PHONET) += phonet/ obj-$(CONFIG_PHONET) += phonet/
ifneq ($(CONFIG_VLAN_8021Q),) ifneq ($(CONFIG_VLAN_8021Q),)
obj-y += 8021q/ obj-y += 8021q/
......
#
# Acorn Econet/AUN protocols
#
config ECONET
tristate "Acorn Econet/AUN protocols (EXPERIMENTAL)"
depends on EXPERIMENTAL && INET
---help---
Econet is a fairly old and slow networking protocol mainly used by
Acorn computers to access file and print servers. It uses native
Econet network cards. AUN is an implementation of the higher level
parts of Econet that runs over ordinary Ethernet connections, on
top of the UDP packet protocol, which in turn runs on top of the
Internet protocol IP.
If you say Y here, you can choose with the next two options whether
to send Econet/AUN traffic over a UDP Ethernet connection or over
a native Econet network card.
To compile this driver as a module, choose M here: the module
will be called econet.
config ECONET_AUNUDP
bool "AUN over UDP"
depends on ECONET
help
Say Y here if you want to send Econet/AUN traffic over a UDP
connection (UDP is a packet based protocol that runs on top of the
Internet protocol IP) using an ordinary Ethernet network card.
config ECONET_NATIVE
bool "Native Econet"
depends on ECONET
help
Say Y here if you have a native Econet network card installed in
your computer.
#
# Makefile for Econet support code.
#
obj-$(CONFIG_ECONET) += econet.o
econet-y := af_econet.o
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment