summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-09-29 06:24:57 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-09-29 06:24:57 -0500
commitf789f058273e7bac96b494eb737ca537ae7550c9 (patch)
tree5de49fe11b37b9dae92d898cf4c45602e201869c /include/linux
parent1ad691d2f86b0c7433e162c9cd9aabb607fd0358 (diff)
ISDN: Use ether_setup() for ethernet over ISDN only
The ->init() callback can be used for calling ether_setup() in case of encapsulation "ISDN over ethernet", for the other cases it does not make sense anyway.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/isdn.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h
index bcfc56b307e0..76684de94779 100644
--- a/include/linux/isdn.h
+++ b/include/linux/isdn.h
@@ -288,14 +288,9 @@ struct isdn_netif_ops {
void *daddr,
void *saddr,
unsigned len);
- int (*rebuild_header)(struct sk_buff *skb);
int (*do_ioctl)(struct net_device *dev,
struct ifreq *ifr, int cmd);
- int (*hard_header_cache)(struct neighbour *neigh,
- struct hh_cache *hh);
- void (*header_cache_update)(struct hh_cache *hh,
- struct net_device *dev,
- unsigned char * haddr);
+
unsigned short flags; /* interface flags (a la BSD) */
unsigned short type; /* interface hardware type */
unsigned char addr_len;/* hardware address length */