Package: linux-source-2.6.18
Version: 2.6.18.dfsg.1-13
Severity: wishlist
Tags: patch

The e1000 driver in linux-source-2.6.18 does not support
82571EB_QUAD_COPPER and 82571EB_QUAD_FIBER.

I just wrote a small patch to fix that, because the patch is very
small I hope you can integrate it in the next update release of Debian
Etch.

diff -ur linux-source-2.6.18/drivers/net/e1000/e1000_ethtool.c 
linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_ethtool.c
--- linux-source-2.6.18/drivers/net/e1000/e1000_ethtool.c       2006-09-20 
05:42:06.000000000 +0200
+++ linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_ethtool.c        
2007-06-26 15:19:54.000000000 +0200
@@ -1702,6 +1702,9 @@
                }
                /* Fall Through */
 
+       case E1000_DEV_ID_82571EB_QUAD_COPPER:
+       case E1000_DEV_ID_82571EB_QUAD_FIBER:
+
        default:
                wol->supported = WAKE_UCAST | WAKE_MCAST |
                                 WAKE_BCAST | WAKE_MAGIC;
diff -ur linux-source-2.6.18/drivers/net/e1000/e1000_hw.c 
linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_hw.c
--- linux-source-2.6.18/drivers/net/e1000/e1000_hw.c    2006-09-20 
05:42:06.000000000 +0200
+++ linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_hw.c     
2007-06-26 15:21:29.000000000 +0200
@@ -386,6 +386,8 @@
         break;
     case E1000_DEV_ID_82571EB_COPPER:
     case E1000_DEV_ID_82571EB_FIBER:
+    case E1000_DEV_ID_82571EB_QUAD_COPPER:
+    case E1000_DEV_ID_82571EB_QUAD_FIBER:
     case E1000_DEV_ID_82571EB_SERDES:
             hw->mac_type = e1000_82571;
         break;
diff -ur linux-source-2.6.18/drivers/net/e1000/e1000_hw.h 
linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_hw.h
--- linux-source-2.6.18/drivers/net/e1000/e1000_hw.h    2006-09-20 
05:42:06.000000000 +0200
+++ linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_hw.h     
2007-06-26 15:16:22.000000000 +0200
@@ -470,6 +470,8 @@
 #define E1000_DEV_ID_82571EB_COPPER      0x105E
 #define E1000_DEV_ID_82571EB_FIBER       0x105F
 #define E1000_DEV_ID_82571EB_SERDES      0x1060
+#define E1000_DEV_ID_82571EB_QUAD_COPPER 0x10A4
+#define E1000_DEV_ID_82571EB_QUAD_FIBER  0x10A5
 #define E1000_DEV_ID_82572EI_COPPER      0x107D
 #define E1000_DEV_ID_82572EI_FIBER       0x107E
 #define E1000_DEV_ID_82572EI_SERDES      0x107F
diff -ur linux-source-2.6.18/drivers/net/e1000/e1000_main.c 
linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_main.c
--- linux-source-2.6.18/drivers/net/e1000/e1000_main.c  2007-05-02 
00:06:22.000000000 +0200
+++ linux-source-2.6.18-586-sernet-1.2/drivers/net/e1000/e1000_main.c   
2007-06-26 15:23:15.000000000 +0200
@@ -103,6 +103,8 @@
        INTEL_E1000_ETHERNET_DEVICE(0x10B9),
        INTEL_E1000_ETHERNET_DEVICE(0x10BA),
        INTEL_E1000_ETHERNET_DEVICE(0x10BB),
+       INTEL_E1000_ETHERNET_DEVICE(0x10A4),
+       INTEL_E1000_ETHERNET_DEVICE(0x10A5),
        /* required last entry */
        {0,}
 };

Reply via email to