patch-2.3.14 linux/drivers/net/z85230.h

Next file: linux/drivers/net/znet.c
Previous file: linux/drivers/net/z85230.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/net/z85230.h linux/drivers/net/z85230.h
@@ -320,7 +320,7 @@
 	 */
 
 	void		*private;	/* For our owner */
-	struct device	*netdevice;	/* Network layer device */
+	struct net_device	*netdevice;	/* Network layer device */
 	struct net_device_stats stats;	/* Network layer statistics */
 
 	/*
@@ -397,12 +397,12 @@
 extern void z8530_describe(struct z8530_dev *, char *mapping,int io);
 extern int z8530_init(struct z8530_dev *);
 extern int z8530_shutdown(struct z8530_dev *);
-extern int z8530_sync_open(struct device *, struct z8530_channel *);
-extern int z8530_sync_close(struct device *, struct z8530_channel *);
-extern int z8530_sync_dma_open(struct device *, struct z8530_channel *);
-extern int z8530_sync_dma_close(struct device *, struct z8530_channel *);
-extern int z8530_sync_txdma_open(struct device *, struct z8530_channel *);
-extern int z8530_sync_txdma_close(struct device *, struct z8530_channel *);
+extern int z8530_sync_open(struct net_device *, struct z8530_channel *);
+extern int z8530_sync_close(struct net_device *, struct z8530_channel *);
+extern int z8530_sync_dma_open(struct net_device *, struct z8530_channel *);
+extern int z8530_sync_dma_close(struct net_device *, struct z8530_channel *);
+extern int z8530_sync_txdma_open(struct net_device *, struct z8530_channel *);
+extern int z8530_sync_txdma_close(struct net_device *, struct z8530_channel *);
 extern int z8530_channel_load(struct z8530_channel *, u8 *);
 extern int z8530_queue_xmit(struct z8530_channel *c, struct sk_buff *skb);
 extern struct net_device_stats *z8530_get_stats(struct z8530_channel *c);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)