patch-2.3.14 linux/include/linux/concap.h
Next file: linux/include/linux/cyclomx.h
Previous file: linux/include/linux/b1pcmcia.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 18 11:38:47 1999
- Orig file:
v2.3.13/linux/include/linux/concap.h
- Orig date:
Wed Apr 1 16:20:56 1998
diff -u --recursive --new-file v2.3.13/linux/include/linux/concap.h linux/include/linux/concap.h
@@ -25,7 +25,7 @@
/* this manages all data needed by the encapsulation protocol
*/
struct concap_proto{
- struct device *net_dev; /* net device using our service */
+ struct net_device *net_dev; /* net device using our service */
struct concap_device_ops *dops; /* callbacks provided by device */
struct concap_proto_ops *pops; /* callbacks provided by us */
int flags;
@@ -72,7 +72,7 @@
or when the device driver resets the interface. All services of the
encapsulation protocol may be used after this*/
int (*restart)(struct concap_proto *cprot,
- struct device *ndev,
+ struct net_device *ndev,
struct concap_device_ops *dops);
/* inactivate an encapsulation protocol instance. The encapsulation
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)