On Fri, Aug 10, 2012 at 04:37:43AM -0400, Brad Smith wrote:
> Add support to re(4) for the D-Link DGE-530T C1 adapter.

I swore I already searched the archives for this, yet
here it is in my own damn inbox.

I submitted a similar patch recently, presently going
through some multicast tests. 

There are some additional lines you added though, so
I may be smart to yield to your diff when everything
looks okay?

cheers,

-ryan

> Index: sys/dev/pci/if_re_pci.c
> ===================================================================
> RCS file: /home/cvs/src/sys/dev/pci/if_re_pci.c,v
> retrieving revision 1.34
> diff -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   26 Sep 2011 23:26:58 -0000
> @@ -66,14 +66,15 @@ struct re_pci_softc {
>  };
>  
>  const struct pci_matchid re_pci_devices[] = {
> +     { PCI_VENDOR_COREGA, PCI_PRODUCT_COREGA_CGLAPCIGT },
> +     { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DGE528T },
> +     { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DGE530T_C1 },
>       { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8101E },
>       { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8168 },
>       { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169 },
>       { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169SC },
> -     { PCI_VENDOR_COREGA, PCI_PRODUCT_COREGA_CGLAPCIGT },
> -     { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DGE528T },
> -     { PCI_VENDOR_USR2, PCI_PRODUCT_USR2_USR997902 },
> -     { PCI_VENDOR_TTTECH, PCI_PRODUCT_TTTECH_MC322 }
> +     { PCI_VENDOR_TTTECH, PCI_PRODUCT_TTTECH_MC322 },
> +     { PCI_VENDOR_USR2, PCI_PRODUCT_USR2_USR997902 }
>  };
>  
>  #define RE_LINKSYS_EG1032_SUBID 0x00241737
> Index: share/man/man4/re.4
> ===================================================================
> RCS file: /home/cvs/src/share/man/man4/re.4,v
> retrieving revision 1.47
> diff -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       26 Sep 2011 23:24:28 -0000
> @@ -63,6 +63,8 @@ Corega CG-LAPCIGT (8169S)
>  .It
>  D-Link DGE-528T (8169S)
>  .It
> +D-Link DGE-530T C1 (8169)
> +.It
>  D-Link DGE-660TD (8169/8110SB)
>  .It
>  Gigabyte 7N400 Pro2 Integrated Gigabit Ethernet (8110S)
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

Reply via email to