patch-2.1.56 linux/drivers/net/Space.c

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

diff -u --recursive --new-file v2.1.55/linux/drivers/net/Space.c linux/drivers/net/Space.c
@@ -326,6 +326,17 @@
 #   define NEXT_DEV     (&dev_cops)
 #endif  /* COPS */
 
+#if defined(CONFIG_IPDDP)
+    extern int ipddp_init(struct device *dev);
+    static struct device dev_ipddp = {
+        "ipddp0\0   ",
+                0, 0, 0, 0,
+                0x0, 0,
+                0, 0, 0, NEXT_DEV, ipddp_init };
+#   undef NEXT_DEV
+#   define NEXT_DEV     (&dev_ipddp)
+#endif /* CONFIG_IPDDP */
+
 /* The first device defaults to I/O base '0', which means autoprobe. */
 #ifndef ETH0_ADDR
 # define ETH0_ADDR 0

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov