usb_hub.c (199816) | usb_hub.c (207080) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_hub.c 199816 2009-11-26 00:43:17Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_hub.c 207080 2010-04-22 22:15:08Z thompsa $ */ |
2/*- 3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved. 4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved. 5 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 231 unchanged lines hidden (view full) --- 241 USB_IFACE_INDEX_ANY); 242 if (err) { 243 goto done; 244 } 245 } 246 /* start control transfer, if device mode */ 247 248 if (child->flags.usb_mode == USB_MODE_DEVICE) { | 2/*- 3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved. 4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved. 5 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 231 unchanged lines hidden (view full) --- 241 USB_IFACE_INDEX_ANY); 242 if (err) { 243 goto done; 244 } 245 } 246 /* start control transfer, if device mode */ 247 248 if (child->flags.usb_mode == USB_MODE_DEVICE) { |
249 usbd_default_transfer_setup(child); | 249 usbd_ctrl_transfer_setup(child); |
250 } 251 /* if a HUB becomes present, do a recursive HUB explore */ 252 253 if (child->hub) { 254 err = (child->hub->explore) (child); 255 } 256done: 257 return (err); --- 1841 unchanged lines hidden --- | 250 } 251 /* if a HUB becomes present, do a recursive HUB explore */ 252 253 if (child->hub) { 254 err = (child->hub->explore) (child); 255 } 256done: 257 return (err); --- 1841 unchanged lines hidden --- |