[PATCH] USB: Pegasus: Linksys USBVPN1 support + cleanup
authorMalte Doersam <mdoersam@arcor.de>
Sat, 28 Jan 2006 16:48:33 +0000 (17:48 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 22:49:56 +0000 (14:49 -0800)
commitefafe6fb72b2bbab40080a08f7946f1eadb9bad9
tree502053738219df278ecc7b0175d7fee4d8ec611c
parentaef4e266964bc15861b5835c1f5b9d2ebc155c2a
[PATCH] USB: Pegasus: Linksys USBVPN1 support + cleanup

This patch adds a second linksys vendor-id (077b) and the product id of the
pegasus based adapter USBVPN1

http://www1.linksys.com/Products/product.asp?prid=3D543&scid=3D30

Furthermore it replaces all LINKSYS_GPIO_RESET with DEFAULT_GPIO_RESET as both
are declared like this:
#define        DEFAULT_GPIO_RESET      0x24
#define        LINKSYS_GPIO_RESET      0x24

This is misleading and confusing.
The check is now done via the VENDOR_ID in pegasus.c:
if (usb_dev_id[pegasus->dev_index].vendor == VENDOR_LINKSYS

Signed-off-by: Malte Doersam <mdoersam@arcor.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/net/pegasus.c
drivers/usb/net/pegasus.h