Skip to contentSkip to conversation

usb.c

DISCUSSION Ouyang 3 participants 5 messages Jun 5, 2012 – Jun 6, 2012

lore
Share & tools
lore

Ouyang

author
#0 lore raw

Wireless-testing is a kernel about wireless card or something related, but why there is a file named usb.c? Is it related to usb? Hope who can answer it to me. Thank you so much.

#1 lore raw
Quoted 3 lines · Ouyang

Wireless-testing is a kernel about wireless card or something related, but why there is a file named usb.c? Is it related to usb? Hope who can answer it to me. Thank you so much.

Wireless-testing is a complete tree, thus it has every file that is found in the mainline tree. There are a number of files named usb.c. To know what it does, you would need to tell what path it is in. In general, a file named usb.c would contain the interface between a device and the USB system.

The differences between wireless-testing and mainline are related to the development. New material comes through wireless-testing and goes through several trees before if is merged into mainline. Usually wireless-testing is about 1 version newer than mainline.

Larry

author
#2 lore raw
Quoted 2 lines · Larry Finger

Wireless-testing is a complete tree, thus it has every file that is found in

the

Quoted 2 lines

mainline tree. There are a number of files named usb.c. To know what it does, you would need to tell what path it is in. In general, a file named usb.c

would

Quoted 11 lines

contain the interface between a device and the USB system.

The differences between wireless-testing and mainline are related to the development. New material comes through wireless-testing and goes through several trees before if is merged into mainline. Usually wireless-testing is about 1 version newer than mainline.

Larry

Thank you so much for the reply. I am so appreciated.

I am still a little confused. Would you please set an example for drivers/net/wireless/rtlwifi/usb.c ?

#3 lore raw

Hi,

Quoted 2 lines · Ouyang

I am still a little confused. Would you please set an example for drivers/net/wireless/rtlwifi/usb.c ?

That contains some of the code for dealing with USB RTLWifi devices.

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#4 lore raw
In reply to Ouyang
Quoted 4 lines · Ouyang

Thank you so much for the reply. I am so appreciated.

I am still a little confused. Would you please set an example for drivers/net/wireless/rtlwifi/usb.c ?

That file contains the USB-specific low-level routines for the driver used by the RTL8188CU devices built by Realtek. If you want to know what that file does, read the comments.

Larry