patch-2.3.14 linux/include/linux/hdlcdrv.h

Next file: linux/include/linux/hippidevice.h
Previous file: linux/include/linux/genhd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/include/linux/hdlcdrv.h linux/include/linux/hdlcdrv.h
@@ -173,9 +173,9 @@
 	/*
 	 * the routines called by the hdlcdrv routines
 	 */
-	int (*open)(struct device *);
-	int (*close)(struct device *);
-	int (*ioctl)(struct device *, struct ifreq *, 
+	int (*open)(struct net_device *);
+	int (*close)(struct net_device *);
+	int (*ioctl)(struct net_device *, struct ifreq *, 
 		     struct hdlcdrv_ioctl *, int);
 };
 
@@ -361,14 +361,14 @@
 
 /* -------------------------------------------------------------------- */
 
-void hdlcdrv_receiver(struct device *, struct hdlcdrv_state *);
-void hdlcdrv_transmitter(struct device *, struct hdlcdrv_state *);
-void hdlcdrv_arbitrate(struct device *, struct hdlcdrv_state *);
-int hdlcdrv_register_hdlcdrv(struct device *dev, const struct hdlcdrv_ops *ops,
+void hdlcdrv_receiver(struct net_device *, struct hdlcdrv_state *);
+void hdlcdrv_transmitter(struct net_device *, struct hdlcdrv_state *);
+void hdlcdrv_arbitrate(struct net_device *, struct hdlcdrv_state *);
+int hdlcdrv_register_hdlcdrv(struct net_device *dev, const struct hdlcdrv_ops *ops,
 			     unsigned int privsize, char *ifname,
 			     unsigned int baseaddr, unsigned int irq, 
 			     unsigned int dma);
-int hdlcdrv_unregister_hdlcdrv(struct device *dev);
+int hdlcdrv_unregister_hdlcdrv(struct net_device *dev);
 
 /* -------------------------------------------------------------------- */
 

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