netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: David Brownell
	<dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Viktor Horvath <ViktorHorvath-hi6Y0CQ0nG0@public.gmane.org>,
	Robbert Wethmar <robbert-OrSUPh62Yq7z+pZb47iToQ@public.gmane.org>,
	Bart van der Klip <bklip-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
Subject: Re: net/usb/mcs7830: new device IDs
Date: Mon, 28 Jul 2008 15:03:50 -0700	[thread overview]
Message-ID: <200807281503.50436.david-b@pacbell.net> (raw)
In-Reply-To: <200807282337.19911.arnd-r2nGTMty4D4@public.gmane.org>

On Monday 28 July 2008, Arnd Bergmann wrote:
> This adds USB device IDs for MosChip 7730 and Sitecom LN030
> to the mcs7830 driver. The IDs have been reported to work without
> further modifications.
> 
> Signed-off-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
> Cc: Viktor Horvath <ViktorHorvath-hi6Y0CQ0nG0@public.gmane.org>
> Cc: Robbert Wethmar <robbert-OrSUPh62Yq7z+pZb47iToQ@public.gmane.org>
> Cc: Bart van der Klip <bklip-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>

Acked-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>

> --- a/drivers/net/usb/mcs7830.c
> +++ b/drivers/net/usb/mcs7830.c
> @@ -46,6 +46,10 @@
>  
>  #define MCS7830_VENDOR_ID	0x9710
>  #define MCS7830_PRODUCT_ID	0x7830
> +#define MCS7730_PRODUCT_ID	0x7730
> +
> +#define SITECOM_VENDOR_ID	0x0DF6
> +#define LN_030_PRODUCT_ID	0x0021
>  
>  #define MCS7830_MII_ADVERTISE	(ADVERTISE_PAUSE_CAP | ADVERTISE_100FULL | \
>  				 ADVERTISE_100HALF | ADVERTISE_10FULL | \
> @@ -491,7 +495,16 @@ static int mcs7830_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
>  }
>  
>  static const struct driver_info moschip_info = {
> -	.description	= "MOSCHIP 7830 usb-NET adapter",
> +	.description	= "MOSCHIP 7830/7730 usb-NET adapter",
> +	.bind		= mcs7830_bind,
> +	.rx_fixup	= mcs7830_rx_fixup,
> +	.flags		= FLAG_ETHER,
> +	.in		= 1,
> +	.out		= 2,
> +};
> +
> +static const struct driver_info sitecom_info = {
> +	.description    = "Sitecom LN-30 usb-NET adapter",
>  	.bind		= mcs7830_bind,
>  	.rx_fixup	= mcs7830_rx_fixup,
>  	.flags		= FLAG_ETHER,
> @@ -504,6 +517,14 @@ static const struct usb_device_id products[] = {
>  		USB_DEVICE(MCS7830_VENDOR_ID, MCS7830_PRODUCT_ID),
>  		.driver_info = (unsigned long) &moschip_info,
>  	},
> +	{
> +		USB_DEVICE(MCS7830_VENDOR_ID, MCS7730_PRODUCT_ID),
> +		.driver_info = (unsigned long) &moschip_info,
> +	},
> +	{
> +		USB_DEVICE(SITECOM_VENDOR_ID, LN_030_PRODUCT_ID),
> +		.driver_info = (unsigned long) &sitecom_info,
> +	},
>  	{},
>  };
>  MODULE_DEVICE_TABLE(usb, products);
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2008-07-28 22:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28 21:37 net/usb/mcs7830: new device IDs Arnd Bergmann
     [not found] ` <200807282337.19911.arnd-r2nGTMty4D4@public.gmane.org>
2008-07-28 22:03   ` David Brownell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200807281503.50436.david-b@pacbell.net \
    --to=david-b-ybekhbn/0ldr7s880joybq@public.gmane.org \
    --cc=ViktorHorvath-hi6Y0CQ0nG0@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=bklip-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org \
    --cc=dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robbert-OrSUPh62Yq7z+pZb47iToQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).