[kernel] r12236 - in dists/sid/linux-2.6/debian: . patches/bugfix/mips patches/series

Martin Michlmayr tbm at alioth.debian.org
Sat Sep 13 19:35:24 UTC 2008


Author: tbm
Date: Sat Sep 13 19:35:23 2008
New Revision: 12236

Log:
Fix dead 21041 ethernet after ifconfig down (Thomas Bogendoerfer).


Added:
   dists/sid/linux-2.6/debian/patches/bugfix/mips/fix_dead_21041_after_ifconfig_down.patch
   dists/sid/linux-2.6/debian/patches/series/6
Modified:
   dists/sid/linux-2.6/debian/changelog

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Sat Sep 13 19:35:23 2008
@@ -6,6 +6,9 @@
   [ Bastian Blank ]
   * Allow forced module loading again. (closes: #494144)
 
+  [ Martin Michlmayr ]
+  * Fix dead 21041 ethernet after ifconfig down (Thomas Bogendoerfer).
+
  -- maximilian attems <maks at debian.org>  Wed, 10 Sep 2008 14:35:24 +0200
 
 linux-2.6 (2.6.26-5) unstable; urgency=low

Added: dists/sid/linux-2.6/debian/patches/bugfix/mips/fix_dead_21041_after_ifconfig_down.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/mips/fix_dead_21041_after_ifconfig_down.patch	Sat Sep 13 19:35:23 2008
@@ -0,0 +1,27 @@
+From: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
+Subject: [PATCH] Fix dead 21041 ethernet after ifconfig down
+
+The de2104x did a pci_disable_device() in it's close function, but
+the open function never does a pci_enable_device() and assumes that
+the device is already enabled. Considering that downing the interface
+is just a temporary thing the pci_disable_device() isn't a pretty good
+idea and removing it from the close function just fixes the bug.
+
+Signed-off-by: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
+---
+
+ drivers/net/tulip/de2104x.c |    1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
+index 9281d06..f54c450 100644
+--- a/drivers/net/tulip/de2104x.c
++++ b/drivers/net/tulip/de2104x.c
+@@ -1418,7 +1418,6 @@ static int de_close (struct net_device *dev)
+ 
+ 	de_free_rings(de);
+ 	de_adapter_sleep(de);
+-	pci_disable_device(de->pdev);
+ 	return 0;
+ }
+ 

Added: dists/sid/linux-2.6/debian/patches/series/6
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/series/6	Sat Sep 13 19:35:23 2008
@@ -0,0 +1 @@
++ bugfix/mips/fix_dead_21041_after_ifconfig_down.patch



More information about the Kernel-svn-changes mailing list