Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on Lenovo ThinkPad T400 - Intel 82567LM ethernet adapter



On Tue, Oct 14, 2008 at 01:46:04PM +0200, Pouya D. Tafti wrote:
> Hello,
> 
> This is my first post to this mailing list.  Kindly please direct me
> to the appropriate list if this is not the one.
> 
> I received my ThinkPad T400 yesterday, and installed NetBSD/amd64
> 4.99.73.  Please find the output from dmesg and sysctl -A attached.
> An immediate observation is that ethernet and wifi do not work.
> 
> Windows reports the ethernet adapter as Intel 82567LM.  A Linux driver
> is apparently available from Intel:
> 
> <http://preview.tinyurl.com/3zaltk>
> 
> Based on my quick and limited research I suspect the FreeBSD driver
> from Intel to support this adapter as well:
> 
> <http://preview.tinyurl.com/4vclu3>
> 
> Could someone with some experience possibly provide a hint as to how
> much effort would likely be required in order to include support for
> this adapter in NetBSD?

I think it's easy as there's some ICH9 adapters supported already; can
you try the attached patch ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--
Index: if_wm.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_wm.c,v
retrieving revision 1.161
diff -u -p -u -r1.161 if_wm.c
--- if_wm.c     9 Sep 2008 05:54:23 -0000       1.161
+++ if_wm.c     14 Oct 2008 20:39:55 -0000
@@ -848,6 +848,15 @@ static const struct wm_product {
        { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82801I_IGP_C,
          "82801I (C) LAN Controller",
          WM_T_ICH9,            WMP_F_1000T },
+       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82801I_IGP_M,
+         "82801I mobile LAN Controller",
+         WM_T_ICH9,            WMP_F_1000T },
+       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82801H_IGP_M_V,
+         "82801I mobile (V) LAN Controller",
+         WM_T_ICH9,            WMP_F_1000T },
+       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82801I_IGP_M_AMT,
+         "82801I mobile (AMT) LAN Controller",
+         WM_T_ICH9,            WMP_F_1000T },
        { 0,                    0,
          NULL,
          0,                    0 },
Index: pcidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.960
diff -u -p -u -r1.960 pcidevs
--- pcidevs     1 Oct 2008 15:38:14 -0000       1.960
+++ pcidevs     14 Oct 2008 20:39:57 -0000
@@ -2202,12 +2202,15 @@ product INTEL 80K3LAN_CPR_SPT 0x10ba    i80
 product INTEL 80K3LAN_SDS_SPT 0x10bb   i80003 Gigabit Ethernet (SERDES)
 product        INTEL 82571GB_QUAD_COPPER 0x10bc i82571GB quad 1000baseT 
Ethernet
 product INTEL 82801I_IGP_AMT   0x10bd  82801I (AMT) LAN Controller
+product INTEL 82801I_IGP_M     0x10bf  82801I mobile LAN controllerWWWW
 product INTEL 82801I_IFE       0x10c0  82801I LAN Controller
 product INTEL 82801I_IFE_G     0x10c2  82801I (G) LAN Controller
 product INTEL 82801I_IFE_GT    0x10c3  82801I (GT) LAN Controller
 product INTEL 82801H_IFE_GT    0x10c4  i82801H IFE (GT) LAN Controller
 product INTEL 82801H_IFE_G     0x10c5  i82801H IFE (G) LAN Controller
+product INTEL 82801H_IGP_M_V   0x10cb  i82801H IGP (MV) LAN Controller
 product INTEL 82567V           0x10ce  i82567V LAN controller
+product INTEL 82801I_IGP_M_AMT 0x10f5  82801I mobile (AMT) LAN controller
 product INTEL 82815_DC100_HUB  0x1100  82815 Hub
 product INTEL 82815_DC100_AGP  0x1101  82815 AGP
 product INTEL 82815_DC100_GRAPH        0x1102  82815 Graphics


Home | Main Index | Thread Index | Old Index