The following reply was made to PR usb/92403; it has been noted by GNATS.

From: "M. Warner Losh" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: usb/92403: uplcom.c needs new entry for 4.00 revision of
 Prolific chipset
Date: Thu, 26 Jan 2006 22:27:53 -0700 (MST)

 Does this work for you?
 
 Warner
 Index: uplcom.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/dev/usb/uplcom.c,v
 retrieving revision 1.30
 diff -u -r1.30 uplcom.c
 --- uplcom.c   4 Dec 2005 10:06:04 -0000       1.30
 +++ uplcom.c   27 Jan 2006 05:27:12 -0000
 @@ -224,6 +224,9 @@
        uint16_t        product;
        int32_t         release;         /* release is a 16bit entity,
                                          * if -1 is specified we "don't care"
 +                                        * This is a floor value.  The table
 +                                        * must have newer revs before older
 +                                        * revs (and -1 last).
                                          */
        char            chiptype;
  } uplcom_products [] = {
 @@ -320,7 +323,7 @@
        for (i = 0; uplcom_products[i].vendor != 0; i++) {
                if (uplcom_products[i].vendor == uaa->vendor &&
                    uplcom_products[i].product == uaa->product &&
 -                  (uplcom_products[i].release == uaa->release ||
 +                  (uplcom_products[i].release <= uaa->release ||
                     uplcom_products[i].release == -1)) {
                        return (UMATCH_VENDOR_PRODUCT);
                }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to