Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2006 19:15:21 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 110969 for review
Message-ID:  <200612031915.kB3JFLbh077129@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110969

Change 110969 by hselasky@hselasky_mini_itx on 2006/12/03 19:14:41

	Fix a bug in the uplcom probe routine where a revision of 0xFFFF
	was not treated as a special value. The old version of uplcom.c has
	the check, so probably a misunderstanding happened.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/uplcom.c#14 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/uplcom.c#14 (text+ko) ====

@@ -424,7 +424,8 @@
 	    while(up->vendor) {
 	        if ((up->vendor == uaa->vendor) &&
 		    (up->product == uaa->product) &&
-		    (up->release <= uaa->release)) {
+		    ((up->release <= uaa->release) ||
+		     (up->release == 0xFFFF))) {
 		    return up;
 		}
 		up++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612031915.kB3JFLbh077129>