# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.694   -> 1.695  
#       drivers/usb/net/rtl8150.c       1.10    -> 1.11   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/24      [EMAIL PROTECTED]    1.695
# [PATCH] USB: rtl8150 updated
# 
#   new vendor/device ID;
#   redundant check removed from probe();
# --------------------------------------------
#
diff -Nru a/drivers/usb/net/rtl8150.c b/drivers/usb/net/rtl8150.c
--- a/drivers/usb/net/rtl8150.c Wed Jul 24 12:20:58 2002
+++ b/drivers/usb/net/rtl8150.c Wed Jul 24 12:20:58 2002
@@ -21,7 +21,7 @@
 #include <asm/uaccess.h>
 
 /* Version Information */
-#define DRIVER_VERSION "v0.5.4 (2002/04/11)"
+#define DRIVER_VERSION "v0.5.5 (2002/07/22)"
 #define DRIVER_AUTHOR "Petko Manolov <[EMAIL PROTECTED]>"
 #define DRIVER_DESC "rtl8150 based usb-ethernet driver"
 
@@ -68,11 +68,15 @@
 
 /* Define these values to match your device */
 #define VENDOR_ID_REALTEK              0x0bda
+#define        VENDOR_ID_MELCO                 0x0411
+
 #define PRODUCT_ID_RTL8150             0x8150
+#define        PRODUCT_ID_LUAKTX               0x0012
 
 /* table of devices that work with this driver */
 static struct usb_device_id rtl8150_table[] = {
        {USB_DEVICE(VENDOR_ID_REALTEK, PRODUCT_ID_RTL8150)},
+       {USB_DEVICE(VENDOR_ID_MELCO, PRODUCT_ID_LUAKTX)},
        {}
 };
 
@@ -727,11 +731,6 @@
 
        if (usb_set_configuration(udev, udev->config[0].bConfigurationValue)) {
                err("usb_set_configuration() failed");
-               return NULL;
-       }
-       if ((udev->descriptor.idVendor != VENDOR_ID_REALTEK) ||
-           (udev->descriptor.idProduct != PRODUCT_ID_RTL8150)) {
-               err("Not the one we are interested about");
                return NULL;
        }
        dev = kmalloc(sizeof(rtl8150_t), GFP_KERNEL);


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to