summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Hemminger2009-01-09 14:01:09 +0100
committerDavid S. Miller2009-01-21 23:02:19 +0100
commitbca5b8939f107e498b3fdc92b3a2d286a868d347 (patch)
treec0713f14333dd81f350d00d145b2c577b2405e17 /include
parentarcnet: convert to internal stats (diff)
downloadkernel-qcow2-linux-bca5b8939f107e498b3fdc92b3a2d286a868d347.tar.gz
kernel-qcow2-linux-bca5b8939f107e498b3fdc92b3a2d286a868d347.tar.xz
kernel-qcow2-linux-bca5b8939f107e498b3fdc92b3a2d286a868d347.zip
arcnet: convert to net_device_ops
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/arcdevice.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/arcdevice.h b/include/linux/arcdevice.h
index ef0d6b7df44c..cd4bcb6989ce 100644
--- a/include/linux/arcdevice.h
+++ b/include/linux/arcdevice.h
@@ -333,7 +333,12 @@ void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc);
void arcnet_unregister_proto(struct ArcProto *proto);
irqreturn_t arcnet_interrupt(int irq, void *dev_id);
-struct net_device *alloc_arcdev(char *name);
+struct net_device *alloc_arcdev(const char *name);
+
+int arcnet_open(struct net_device *dev);
+int arcnet_close(struct net_device *dev);
+int arcnet_send_packet(struct sk_buff *skb, struct net_device *dev);
+void arcnet_timeout(struct net_device *dev);
#endif /* __KERNEL__ */
#endif /* _LINUX_ARCDEVICE_H */