summaryrefslogtreecommitdiffstats
path: root/include/linux/arcdevice.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2009-01-09 13:01:09 +0000
committerDavid S. Miller <davem@davemloft.net>2009-01-21 14:02:19 -0800
commitbca5b8939f107e498b3fdc92b3a2d286a868d347 (patch)
treec0713f14333dd81f350d00d145b2c577b2405e17 /include/linux/arcdevice.h
parent5803c5122acb31ebf5f76b1a9925e2c72c4436e1 (diff)
downloadlinux-bca5b8939f107e498b3fdc92b3a2d286a868d347.tar.gz
linux-bca5b8939f107e498b3fdc92b3a2d286a868d347.tar.bz2
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/linux/arcdevice.h')
-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 */