Subject: port-i386/25275: synopsis of the problem (one line)>
To: None <gnats-bugs@gnats.netbsd.org>
From: None <buckaroo@b16-public.ymcastlouis.org>
List: netbsd-bugs
Date: 04/21/2004 16:11:16
>Number:         25275
>Category:       port-i386
>Synopsis:       synopsis of the problem (one line)>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 21 21:12:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jim Caldwell
>Release:        NetBSD 1.6.2
>Organization:
YMCA of Greater St. Louis
>Environment:
System: NetBSD gatekeeper 1.6.2 NetBSD 1.6.2 (IBM) #0: Thu Feb 12 17:43:05 CST 2004 buckaroo@keymaster:/usr/src/sys/arch/i386/compile/IBM i386
Architecture: i386
Machine: i386
>Description:
Variants on the Intel Pro 100/1000 adapters used in IBM ThinkCentres don't configure.
>How-To-Repeat:
Compile GENERIC kernel on IBM ThinkCentres - built-in Networking doesn't.
>Fix:
Patches below add support for a few extra variants.
Devices show up with UKPHY, but work properly. This is my first attempt at Kernel
programming, so this will need review :)

src/sys/dev/pci/pcidevs.h:
1356a1357
> #define PCI_PRODUCT_INTEL_82541               0x1013          /* i82541 Integrated Gigabit Ethernet (1000BASE-T) */
1376a1377
> #define PCI_PRODUCT_INTEL_82541G1     0x1076          /* PRO/1000 MT Gigabit Network Controller */

src/sys/dev/pci/if_wm.c:
295a296
> #define WM_T_82541            7       /* i82541 */
493a495,502
>
>       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82541G1,
>         "Intel i82541 1000BASE-T Ethernet",
>         WM_T_82541,           WMP_F_1000T },
>
>       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82541,
>         "Intel i82541 Integrated 1000BASE-T Ethernet",
>         WM_T_82541,           WMP_F_1000T },


>Release-Note:
>Audit-Trail:
>Unformatted: