Subject: kern/30173: Add request for Corega CG-LAPCIGT
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <konishi@hauN.org>
List: netbsd-bugs
Date: 05/08/2005 14:03:00
>Number:         30173
>Category:       kern
>Synopsis:       Add request for Corega CG-LAPCIGT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 08 14:03:00 +0000 2005
>Originator:     konishi@hauN.org
>Release:        NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD nabe 3.99.3 NetBSD 3.99.3 (GENERIC) #0: Wed May 4 13:11:11 JST 2005 root@nabe:/export/obj/sys/arch/i386/compile.i386/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	Enabling Corega CG-LAPCIGT.
	This card is based on RealTek 8169S, but PCI vendor ID and product ID
	are different with original RealTek's one.
>How-To-Repeat:
	Run GENERIC(NetBSD 2.99.14), then get the following dmesg.
unknown vendor 0x1259 product 0xc107 (ethernet network, revision 0x10) at pci0 dev 9 function 0 not configured
>Fix:
*** /sys/dev/pci/pcidevs        Wed May  4 14:49:57 2005
--- /sys/dev/pci/pcidevs.new    Wed May  4 11:57:23 2005
***************
*** 1314,1319 ****
--- 1314,1321 ----
  /* Corega products */
  product COREGA CB_TXD         0xa117  FEther CB-TXD 10/100 Ethernet
  product COREGA 2CB_TXD                0xa11e  FEther II CB-TXD 10/100 Ethernet
+ product COREGA LAPCIGT      0xc107  CG-LAPCIGT
+
 
  /* Corollary Products */
  product COROLLARY CBUSII_PCIB 0x0014  \"C-Bus II\"-PCI Bridge


*** /sys/dev/pci/if_re_pci.c    Wed May  4 14:49:56 2005
--- /sys/dev/pci/if_re_pci.c.new        Wed May  4 12:46:02 2005
***************
*** 106,111 ****
--- 106,113 ----
                "RealTek 8169 Gigabit Ethernet" },
        { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8169S,
                "RealTek 8169S Single-chip Gigabit Ethernet" },
+       { PCI_VENDOR_COREGA, PCI_PRODUCT_COREGA_LAPCIGT, RTK_HWREV_8169S,
+               "Corega CG-LAPCIGT Gigabit Ethernet" },
        { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8110S,
                "RealTek 8110S Single-chip Gigabit Ethernet" },
        { 0, 0, 0, NULL }