Mailinglist Archive: opensuse-commit (857 mails)
| < Previous | Next > |
commit ndiswrapper
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Tue, 13 Nov 2007 00:59:15 +0100
- Message-id: <20071112235915.8DEF4678335@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package ndiswrapper
checked in at Tue Nov 13 00:59:15 CET 2007.
--------
--- arch/i386/ndiswrapper/ndiswrapper.changes 2007-10-18 17:51:05.000000000
+0200
+++ /mounts/work_users/ro/STABLE/ndiswrapper/ndiswrapper.changes
2007-11-13 00:57:32.051904000 +0100
@@ -1,0 +2,19 @@
+Tue Nov 13 00:57:14 CET 2007 - ro@xxxxxxx
+
+- hack to compile with 2.6.24rc2 (using mandriva patchkit)
+
+-------------------------------------------------------------------
+Tue Nov 13 00:30:17 CET 2007 - ro@xxxxxxx
+
+- update to version 1.49:
+ * If a driver returns invalid MAC address (00:00:00:00:00) when
+ queried with OID_802_3_CURRENT_ADDRESS (probably because
+ NdisReadNetworkAddress returns NDIS_STATUS_FAILURE?), use
+ OID_802_3_PERMANENT_ADDRESS to get the correct address. This is required
for
+ some atheros devices (e.g., AR5007EG)
+ * Fixed a kernel crash with non-preempt kernels (observed with acx111 driver)
+ * Preemption, as required by Windows, has been reimplemented. With this,
+ ndiswrapper works with RT-preempt and non-preempt kernels
+ * Dropped support for 2.4 kernels (and very old 2.6 kernels)
+
+-------------------------------------------------------------------
Old:
----
ndiswrapper-1.48.tar.bz2
New:
----
ndiswrapper-1.49.tar.bz2
ndiswrapper-2.6.24.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ndiswrapper.spec ++++++
--- /var/tmp/diff_new_pack.T21295/_old 2007-11-13 00:59:10.000000000 +0100
+++ /var/tmp/diff_new_pack.T21295/_new 2007-11-13 00:59:10.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package ndiswrapper (Version 1.48)
+# spec file for package ndiswrapper (Version 1.49)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -15,7 +15,7 @@
Group: System/Kernel
AutoReqProv: on
Summary: Use Microsoft NDIS Network Drivers for WLAN Cards
-Version: 1.48
+Version: 1.49
Release: 1
Requires: pciutils
Requires: ndiswrapper-kmp
@@ -24,6 +24,7 @@
Source2: README.SUSE
Source3: preamble
Patch0: ndiswrapper.diff
+Patch1: ndiswrapper-2.6.24.diff
Url: http://ndiswrapper.sourceforge.net
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -63,6 +64,7 @@
%prep
%setup
%patch0 -p1
+%patch1
cp %SOURCE2 .
mkdir obj
@@ -108,6 +110,19 @@
%doc AUTHORS
%doc ChangeLog
%changelog
+* Tue Nov 13 2007 - ro@xxxxxxx
+- hack to compile with 2.6.24rc2 (using mandriva patchkit)
+* Tue Nov 13 2007 - ro@xxxxxxx
+- update to version 1.49:
+ * If a driver returns invalid MAC address (00:00:00:00:00) when
+ queried with OID_802_3_CURRENT_ADDRESS (probably because
+ NdisReadNetworkAddress returns NDIS_STATUS_FAILURE?), use
+ OID_802_3_PERMANENT_ADDRESS to get the correct address. This is required for
+ some atheros devices (e.g., AR5007EG)
+ * Fixed a kernel crash with non-preempt kernels (observed with acx111 driver)
+ * Preemption, as required by Windows, has been reimplemented. With this,
+ ndiswrapper works with RT-preempt and non-preempt kernels
+ * Dropped support for 2.4 kernels (and very old 2.6 kernels)
* Thu Oct 18 2007 - ro@xxxxxxx
- update to version 1.48:
* Support for 2.6.23 kernel
++++++ ndiswrapper-1.48.tar.bz2 -> ndiswrapper-1.49.tar.bz2 ++++++
++++ 2327 lines of diff (skipped)
++++++ ndiswrapper-2.6.24.diff ++++++
--- driver/ndis.h
+++ driver/ndis.h
@@ -841,6 +841,7 @@
struct ndis_mp_block *nmb;
struct wrap_device *wd;
struct net_device *net_dev;
+ struct napi_struct napi;
void *shutdown_ctx;
struct ndis_mp_interrupt *mp_interrupt;
struct kdpc irq_kdpc;
--- driver/proc.c
+++ driver/proc.c
@@ -15,6 +15,7 @@
#include <linux/proc_fs.h>
#include <linux/module.h>
#include <asm/uaccess.h>
+#include <net/net_namespace.h>
#include "ndis.h"
#include "iw_ndis.h"
@@ -508,7 +509,7 @@
{
struct proc_dir_entry *procfs_entry;
- wrap_procfs_entry = proc_mkdir(DRIVER_NAME, proc_net);
+ wrap_procfs_entry = proc_mkdir(DRIVER_NAME, init_net.proc_net);
if (wrap_procfs_entry == NULL) {
ERROR("couldn't create procfs directory");
return -ENOMEM;
@@ -535,5 +536,5 @@
if (wrap_procfs_entry == NULL)
return;
remove_proc_entry("debug", wrap_procfs_entry);
- remove_proc_entry(DRIVER_NAME, proc_net);
+ remove_proc_entry(DRIVER_NAME, init_net.proc_net);
}
--- driver/wrapndis.c
+++ driver/wrapndis.c
@@ -797,16 +797,18 @@
static int ndis_net_dev_open(struct net_device *net_dev)
{
- ENTER1("%p", netdev_priv(net_dev));
+ struct wrap_ndis_device *wnd = netdev_priv(net_dev);
+ ENTER1("%p", wnd);
netif_start_queue(net_dev);
- netif_poll_enable(net_dev);
+ napi_enable(&wnd->napi);
EXIT1(return 0);
}
static int ndis_net_dev_close(struct net_device *net_dev)
{
- ENTER1("%p", netdev_priv(net_dev));
- netif_poll_disable(net_dev);
+ struct wrap_ndis_device *wnd = netdev_priv(net_dev);
+ ENTER1("%p", wnd);
+ napi_disable(&wnd->napi);
netif_tx_disable(net_dev);
EXIT1(return 0);
}
@@ -2022,7 +2024,6 @@
}
wd = pdo->reserved;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
- SET_MODULE_OWNER(net_dev);
if (wrap_is_pci_bus(wd->dev_bus))
SET_NETDEV_DEV(net_dev, &wd->pci.pdev->dev);
if (wrap_is_usb_bus(wd->dev_bus))
++++++ preamble ++++++
--- arch/i386/ndiswrapper/preamble 2006-04-11 21:35:39.000000000 +0200
+++ /mounts/work_users/ro/STABLE/ndiswrapper/preamble 2007-11-13
00:33:51.203740000 +0100
@@ -1 +1,2 @@
Enhances: kernel-%1
+PreReq: coreutils grep
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |