Author: leigh123linux
Update of /cvs/free/rpms/ndiswrapper-kmod/F-17
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24253
Modified Files:
ndiswrapper_3.3_kernel.patch
Log Message:
* Fri Mar 30 2012 leigh scott <leigh123linux(a)googlemail.com> - 1.57-2
- patched for 3.3.0 kernel
- fix release tag
ndiswrapper_3.3_kernel.patch:
ndis.c | 6 ++++++
wrapndis.c | 4 ++++
2 files changed, 10 insertions(+)
Index: ndiswrapper_3.3_kernel.patch
===================================================================
RCS file: /cvs/free/rpms/ndiswrapper-kmod/F-17/ndiswrapper_3.3_kernel.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ndiswrapper_3.3_kernel.patch 30 Mar 2012 15:36:03 -0000 1.2
+++ ndiswrapper_3.3_kernel.patch 30 Mar 2012 15:43:21 -0000 1.3
@@ -1,6 +1,6 @@
--- a/driver/wrapndis.c 2012/03/26 17:00:31 3107
+++ b/driver/wrapndis.c 2012/03/26 17:01:18 3108
-@@ -1675,6 +1675,7 @@ static int ndis_set_wol(struct net_devic
+@@ -1675,6 +1675,7 @@
return 0;
}
@@ -8,7 +8,7 @@
static u32 ndis_get_tx_csum(struct net_device *dev)
{
struct ndis_device *wnd = netdev_priv(dev);
-@@ -1735,18 +1736,21 @@ static int ndis_set_sg(struct net_device
+@@ -1735,18 +1736,21 @@
else
return -EOPNOTSUPP;
}
@@ -30,17 +30,6 @@
};
static int notifier_event(struct notifier_block *notifier, unsigned long event,
-@@ -1837,6 +1841,10 @@ static NDIS_STATUS ndis_start_device(str
- NDIS_PACKET_TYPE_BROADCAST | NDIS_PACKET_TYPE_MULTICAST;
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
- net_dev->netdev_ops = &ndis_netdev_ops;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0)
-+ net_dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM |
-+ NETIF_F_RXCSUM;
-+#endif
- #else
- net_dev->init = ndis_net_dev_init;
- net_dev->uninit = ndis_net_dev_uninit;
--- a/driver/ndis.c 2011/10/04 15:31:37 3085
+++ b/driver/ndis.c 2012/03/26 17:00:31 3107
@@ -2654,9 +2654,15 @@
Show replies by date