Results 1 to 2 of 2
Hi,
I am studying the usb sub sytem in the linux kernel .Now I encounter some difficult .I know that the linux kernel use the bus,device and driver model. A ...
- 07-14-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 5
The puzzle for usb host controller in the linux kernel
Hi,
I am studying the usb sub sytem in the linux kernel .Now I encounter some difficult .I know that the linux kernel use the bus,device and driver model. A new driver will search it's device when registered into the bus . I am studying the ohci-s3c2410.c and find the function can register itself .And the probe function can be called either. But I can not understand where the device come from .When the device is register into the usb bus ?
int usb_hcd_s3c2410_probe (const struct hc_driver *driver,
struct platform_device *dev)
I know that the paramer dev is got from the device list of bus . But I don't know when and where the device is registered into the bus . I realy want to know it .
Thank you !
- 07-15-2008 #2Just Joined!
- Join Date
- Jan 2008
- Posts
- 5
Hi , I have got the answer. The device is registered in the initialization .Which locates in the file "/arch/arm/cpu.c " .


Reply With Quote
