summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dahdi/files')
-rw-r--r--net-misc/dahdi/files/dahdi-2.1.0.4-install.patch11
-rw-r--r--net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch12
-rw-r--r--net-misc/dahdi/files/dahdi-2.2.0.2-no-depmod.patch12
-rw-r--r--net-misc/dahdi/files/dahdi-2.2.0.2-wctc4xxp-net-device-ops.patch42
4 files changed, 0 insertions, 77 deletions
diff --git a/net-misc/dahdi/files/dahdi-2.1.0.4-install.patch b/net-misc/dahdi/files/dahdi-2.1.0.4-install.patch
deleted file mode 100644
index e788766..0000000
--- a/net-misc/dahdi/files/dahdi-2.1.0.4-install.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.org 2008-10-05 17:43:24.000000000 +0200
-+++ Makefile 2008-10-05 17:43:37.000000000 +0200
-@@ -191,7 +191,7 @@
- build_tools/uninstall-modules dahdi $(KVERS)
- endif
- $(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
-- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
-+# [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
-
- uninstall-modules:
- ifdef DESTDIR
diff --git a/net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch b/net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch
deleted file mode 100644
index 928beee..0000000
--- a/net-misc/dahdi/files/dahdi-2.2.0.1-no-depmod.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr dahdi-linux-2.2.0.1.ORIG/Makefile dahdi-linux-2.1.0.4/Makefile
---- dahdi-linux-2.2.0.1.ORIG/Makefile 2009-03-10 15:53:36.000000000 +0000
-+++ dahdi-linux-2.2.0.1/Makefile 2009-03-10 15:53:59.000000000 +0000
-@@ -191,7 +191,7 @@
- build_tools/uninstall-modules dahdi $(KVERS)
- endif
- $(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
-- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
-+# [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
-
- uninstall-modules:
- ifdef DESTDIR
diff --git a/net-misc/dahdi/files/dahdi-2.2.0.2-no-depmod.patch b/net-misc/dahdi/files/dahdi-2.2.0.2-no-depmod.patch
deleted file mode 100644
index b87b28c..0000000
--- a/net-misc/dahdi/files/dahdi-2.2.0.2-no-depmod.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr dahdi-linux-2.2.0.2.ORIG/Makefile dahdi-linux-2.2.0.2/Makefile
---- dahdi-linux-2.2.0.2.ORIG/Makefile 2009-03-10 15:53:36.000000000 +0000
-+++ dahdi-linux-2.2.0.2/Makefile 2009-03-10 15:53:59.000000000 +0000
-@@ -191,7 +191,7 @@
- build_tools/uninstall-modules dahdi $(KVERS)
- endif
- $(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
-- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
-+# [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
-
- uninstall-modules:
- ifdef DESTDIR
diff --git a/net-misc/dahdi/files/dahdi-2.2.0.2-wctc4xxp-net-device-ops.patch b/net-misc/dahdi/files/dahdi-2.2.0.2-wctc4xxp-net-device-ops.patch
deleted file mode 100644
index a8f0a1e..0000000
--- a/net-misc/dahdi/files/dahdi-2.2.0.2-wctc4xxp-net-device-ops.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c 2009/08/04 16:30:11 6936
-+++ dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c 2009/08/04 16:38:56 6937
-@@ -742,6 +742,17 @@
- return 0;
- }
-
-+#ifdef HAVE_NET_DEVICE_OPS
-+static const struct net_device_ops wctc4xxp_netdev_ops = {
-+ .ndo_set_multicast_list = &wctc4xxp_net_set_multi,
-+ .ndo_open = &wctc4xxp_net_up,
-+ .ndo_stop = &wctc4xxp_net_down,
-+ .ndo_start_xmit = &wctc4xxp_net_hard_start_xmit,
-+ .ndo_get_stats = &wctc4xxp_net_get_stats,
-+ .ndo_do_ioctl = &wctc4xxp_net_ioctl,
-+};
-+#endif
-+
- /**
- * wctc4xxp_net_register - Register a new network interface.
- * @wc: transcoder card to register the interface for.
-@@ -773,14 +784,21 @@
- netdev->priv = wc;
- # endif
- memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
-+
-+# ifdef HAVE_NET_DEVICE_OPS
-+ netdev->netdev_ops = &wctc4xxp_netdev_ops;
-+# else
- netdev->set_multicast_list = &wctc4xxp_net_set_multi;
- netdev->open = &wctc4xxp_net_up;
- netdev->stop = &wctc4xxp_net_down;
- netdev->hard_start_xmit = &wctc4xxp_net_hard_start_xmit;
- netdev->get_stats = &wctc4xxp_net_get_stats;
- netdev->do_ioctl = &wctc4xxp_net_ioctl;
-+# endif
-+
- netdev->promiscuity = 0;
- netdev->flags |= IFF_NOARP;
-+
- # if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
- netdev->poll = &wctc4xxp_poll;
- netdev->weight = 64;