PERFORCE change 121698 for review
Rui Paulo
rpaulo at FreeBSD.org
Fri Jun 15 16:00:56 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=121698
Change 121698 by rpaulo at 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),
More information about the p4-projects
mailing list