On Thu, Sep 13, 2012 at 11:53:01AM -0700, Ryan Freeman wrote: > Hey tech@, > > I think I found some low-hanging fruit, the following diff works > for my friend that recently purchased the DGE-530T at my recommendation > only to find out its no-longer supported by the sk driver as of the C1 > revision, they changed the chip entirely to realtek 8169. > > I found the relevant info already existing in pcidevs.h and > pcidevs_data.h. The following diff adds the card to re(4). > > Note that I used 5.1's release to do this as its what he was > running the diff below is for -current (though it pretty much > looks like nothing has changed there between 5.1 and now) > > any tips or hints are welcome > > ifconfig output and dmesg from friends machine in question showing > a now-working card attached :)
I have updated the diff to include a man-page update as well. Also, per sthen@, I have requested a multicast test with his instructions. I will post the results as soon as I have them. -ryan Index: sys/dev/pci/if_re_pci.c =================================================================== RCS file: /cvs/src/sys/dev/pci/if_re_pci.c,v retrieving revision 1.34 diff -u -p -u -p -r1.34 if_re_pci.c --- sys/dev/pci/if_re_pci.c 9 Jun 2011 19:34:42 -0000 1.34 +++ sys/dev/pci/if_re_pci.c 13 Sep 2012 23:20:29 -0000 @@ -72,6 +72,7 @@ const struct pci_matchid re_pci_devices[ { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169SC }, { PCI_VENDOR_COREGA, PCI_PRODUCT_COREGA_CGLAPCIGT }, { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DGE528T }, + { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DGE530T_C1 }, { PCI_VENDOR_USR2, PCI_PRODUCT_USR2_USR997902 }, { PCI_VENDOR_TTTECH, PCI_PRODUCT_TTTECH_MC322 } }; Index: share/man/man4/re.4 =================================================================== RCS file: /cvs/src/share/man/man4/re.4,v retrieving revision 1.47 diff -u -p -u -p -r1.47 re.4 --- share/man/man4/re.4 13 Mar 2011 21:32:29 -0000 1.47 +++ share/man/man4/re.4 13 Sep 2012 23:20:29 -0000 @@ -63,6 +63,8 @@ Corega CG-LAPCIGT (8169S) .It D-Link DGE-528T (8169S) .It +D-Link DGE-530T C1 (8169/8110SB) +.It D-Link DGE-660TD (8169/8110SB) .It Gigabyte 7N400 Pro2 Integrated Gigabit Ethernet (8110S)