Re: [PATCH] USB 10/100 RJ45 Ethernet Network Adapter

From: Peter Korsgaard
Date: Tue Feb 22 2011 - 09:21:16 EST


>>>>> "Shahar" == Shahar Havivi <shaharh@xxxxxxxxxx> writes:

Shahar> The device is very similar to (0x0fe6, 0x8101),
Shahar> And works well with dm9601 driver.
Shahar> ---
Shahar> drivers/net/usb/dm9601.c | 5 +++++
Shahar> 1 files changed, 5 insertions(+), 0 deletions(-)

Shahar> diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c
Shahar> index 02b622e..2d1c8ae 100644
Shahar> --- a/drivers/net/usb/dm9601.c
Shahar> +++ b/drivers/net/usb/dm9601.c
Shahar> @@ -654,6 +654,11 @@ static const struct usb_device_id products[] = {
Shahar> USB_DEVICE(0x0a46, 0x9000), /* DM9000E */
Shahar> .driver_info = (unsigned long)&dm9601_info,
Shahar> },
Shahar> + {
Shahar> + USB_DEVICE(0x0fe6, 0x9700), /* DM9601 USB to Fast Ethernet Adapter */
Shahar> +
Shahar> + .driver_info = (unsigned long)&dm9601_info,
Shahar> + },
Shahar> {}, // END

Please put it after the 0x8100 device and get rid of the empty line
before .driver_info - Otherwise it looks good.

Acked-by: Peter Korsgaard <jacmet@xxxxxxxxxx>

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/