Package: ndiswrapper-source
Version: 1.2+1.3rc1-1
Followup-For: Bug #328484


Implementing the patches mentioned on gmane is not sufficient
(attached).
the halt error occur in 2.6.14-rc1, so it doesn't work...

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc1-git3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages ndiswrapper-source depends on:
ii  bzip2                         1.0.2-8.1  high-quality block-sorting file co
ii  debhelper                     4.9.8      helper programs for debian/rules
ii  gcc                           4:4.0.1-3  The GNU C compiler
ii  module-assistant              0.9.9      tool to make module package creati

ndiswrapper-source recommends no packages.

-- no debconf information
--- loader.c~	2005-08-20 14:16:05.000000000 +0200
+++ loader.c	2005-09-20 23:37:15.666257818 +0200
@@ -201,7 +201,7 @@
 		goto out_regions;
 	}
 
-	pci_set_power_state(pdev, PMSG_ON);
+	pci_set_power_state(pdev, pci_choose_state(pdev, PMSG_ON));
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,9)
 	pci_restore_state(pdev, NULL);
 #endif
--- ndis.c~	2005-08-20 14:16:05.000000000 +0200
+++ ndis.c	2005-09-20 23:36:29.747923655 +0200
@@ -1704,7 +1704,7 @@
 	/* cancel_delayed_work is probably better, but 2.4 kernels
 	 * don't have equivalent function
 	 */
-#if LINUX_KERNEL_VERSION >= KERNEL_VERSION(2,6,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
 	flush_scheduled_work();
 #else
 	set_current_state(TASK_INTERRUPTIBLE);
--- wrapper.c~	2005-08-20 14:16:05.000000000 +0200
+++ wrapper.c	2005-09-20 23:37:42.667630377 +0200
@@ -860,7 +860,7 @@
 	pci_save_state(pdev, wd->pci_state);
 #endif
 	pci_disable_device(pdev);
-	pci_set_power_state(pdev, PMSG_SUSPEND);
+	pci_set_power_state(pdev, pci_choose_state(pdev, PMSG_SUSPEND));
 
 	DBGTRACE2("%s: device suspended", wd->net_dev->name);
 	return 0;

Reply via email to