Subject: Re: kern/34933
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Sami Kantoluoto <sami.kantoluoto@embedtronics.fi>
List: netbsd-bugs
Date: 10/28/2006 22:30:03
The following reply was made to PR kern/34933; it has been noted by GNATS.

From: Sami Kantoluoto <sami.kantoluoto@embedtronics.fi>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/34933
Date: Sun, 29 Oct 2006 00:57:23 +0300

 --wzJLGUyc3ArbnUjN
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 
 Patch attached.
 
 
     -sk
 
 --wzJLGUyc3ArbnUjN
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: attachment; filename="8168b_2.patch"
 
 Index: ic/rtl81x9reg.h
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ic/rtl81x9reg.h,v
 retrieving revision 1.17
 diff -b -u -b -r1.17 rtl81x9reg.h
 --- ic/rtl81x9reg.h	20 Oct 2006 16:31:08 -0000	1.17
 +++ ic/rtl81x9reg.h	28 Oct 2006 21:14:54 -0000
 @@ -161,6 +161,7 @@
  #define RTK_HWREV_8101		0x74c00000
  #define RTK_HWREV_8100		0x78800000
  #define RTK_HWREV_8168		0x30000000
 +#define	RTK_HWREV_8168_2	0x38000000
  
  #define RTK_TXDMA_16BYTES	0x00000000
  #define RTK_TXDMA_32BYTES	0x00000100
 Index: pci/if_re_pci.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/if_re_pci.c,v
 retrieving revision 1.15
 diff -b -u -b -r1.15 if_re_pci.c
 --- pci/if_re_pci.c	27 Oct 2006 09:57:26 -0000	1.15
 +++ pci/if_re_pci.c	28 Oct 2006 21:14:54 -0000
 @@ -104,6 +104,8 @@
  		"RealTek 8139C+ 10/100BaseTX" },
  	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8168, RTK_HWREV_8168,
  		"RealTek 8168B/8111B Gigabit Ethernet" },
 +	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8168, RTK_HWREV_8168_2,
 +		"RealTek 8168B/8111B Gigabit Ethernet" },
  	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8169,
  		"RealTek 8169 Gigabit Ethernet" },
  	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8169S,
 @@ -133,6 +135,7 @@
  	{ RTK_HWREV_8139D, RTK_8139, "8139D/8100B/8100C" },
  	{ RTK_HWREV_8139CPLUS, RTK_8139CPLUS, "C+"},
  	{ RTK_HWREV_8168, RTK_8169, "8168B/8111B"},
 +	{ RTK_HWREV_8168_2, RTK_8169, "8168B/8111B"},
  	{ RTK_HWREV_8169, RTK_8169, "8169"},
  	{ RTK_HWREV_8169S, RTK_8169, "8169S"},
  	{ RTK_HWREV_8169SB, RTK_8169, "8169SB"},
 
 --wzJLGUyc3ArbnUjN--