最終更新:2015-10-30 (金) 16:43:11 (3115d)
usb_new_device
Top / usb_new_device
perform initial device setup (usbcore-internal)
usb_new_device(struct usb_device *udev)
呼び出し元
- hub_port_connect <- hub_port_connect_change
- register_root_hub? - called by usb_add_hcd?() to register a root hub
実装
呼び出し
- usb_disable_autosuspend?(udev);
- usb_enumerate_device? - Read descriptors
- MKDEV
- announce_device?(udev) - Tell the world!
- device_add(udev->dev) -Register the device.
- The device driver is responsible for configuring the device and invoking the add-device notifier chain (used by usbfs and possibly others).