Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 16:00:55 GMT
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 121698 for review
Message-ID:  <200706151600.l5FG0tBr069714@repoman.freebsd.org>

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

Change 121698 by rpaulo@rpaulo_epsilon on 2007/06/15 16:00:38

	Adapt to the following commit:
	
	date: 2007/06/12 15:37:18;  author: imp
	Expand USB_ATTACH_{ERROR,SUCCESS}_RETURN inline and eliminate from
	usb_port.h.  They aren't needed, and are a legacy of this code's past.

Affected files ...

.. //depot/projects/soc2007/rpaulo-macbook/dev/usb/ukbd.c#5 edit

Differences ...

==== //depot/projects/soc2007/rpaulo-macbook/dev/usb/ukbd.c#5 (text+ko) ====

@@ -184,7 +184,7 @@
 		if (err) {
 			printf("%s: could not read report descriptor\n",
 			       device_get_nameunit(sc->sc_dev));
-			USB_ATTACH_ERROR_RETURN;
+			return ENXIO;
 		}
 
 		if (hid_locate(desc, size, HID_USAGE2(HUP_CUSTOM, HUC_FNKEY),



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