usb_handle_request.c (190174) | usb_handle_request.c (190186) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_handle_request.c 190174 2009-03-20 19:04:31Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_handle_request.c 190186 2009-03-20 22:10:36Z thompsa $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 196 unchanged lines hidden (view full) --- 206 } 207 /* forward request to interface, if any */ 208 209 if ((error != 0) && 210 (error != ENOTTY) && 211 (iface->subdev != NULL) && 212 device_is_attached(iface->subdev)) { 213#if 0 | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 196 unchanged lines hidden (view full) --- 206 } 207 /* forward request to interface, if any */ 208 209 if ((error != 0) && 210 (error != ENOTTY) && 211 (iface->subdev != NULL) && 212 device_is_attached(iface->subdev)) { 213#if 0 |
214 DEVMETHOD(usb2_handle_request, NULL); /* dummy */ | 214 DEVMETHOD(usb_handle_request, NULL); /* dummy */ |
215#endif 216 error = USB_HANDLE_REQUEST(iface->subdev, 217 &req, ppdata, plen, 218 off, (state == ST_POST_STATUS)); 219 } 220 iface_parent = usb2_get_iface(udev, iface->parent_iface_index); 221 222 if ((iface_parent == NULL) || --- 537 unchanged lines hidden --- | 215#endif 216 error = USB_HANDLE_REQUEST(iface->subdev, 217 &req, ppdata, plen, 218 off, (state == ST_POST_STATUS)); 219 } 220 iface_parent = usb2_get_iface(udev, iface->parent_iface_index); 221 222 if ((iface_parent == NULL) || --- 537 unchanged lines hidden --- |