Re: how to assay usb-ohci.c
- From: Iwo Mergler <Iwo.Mergler@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Dec 2006 14:14:15 +0000
freegnu wrote:
hi all , im a newbie to linux devicer driver proggramming. and now i want
to
assay the process of the usb-ohci.c , but i dont know
how it work and the process of the function called. there is not any
function called module_init() module_exit() and so on.
First, you seem to be working on a 2.4.x kernel. The USB system
has been improved significantly in more recent kernels.
The OHCI driver is unusual. The main part of the OHCI handling
is inside ohci_hcd.c file (usb-ohci.c in your case). For each
platform which implements an OHCI controller, there is a
ohci_platform.c file which gets included by the main file.
In the case of a PC, this would be ohci_pci.c, on a TI OMAP
it's ohci_omap.c, etc.
It's the platform specific files which contain the module
init and exit calls.
BTW. 'assay' is an expression mainly used in biology.
Computer scientists probably prefer 'understand', 'trace'
or even 'grok'. ;-)
Kind regards,
Iwo
.
- References:
- how to assay usb-ohci.c
- From: freegnu
- how to assay usb-ohci.c
- Prev by Date: Re: how to assay usb-ohci.c
- Next by Date: Re: ARM920 Timer Counter Configuration
- Previous by thread: Re: how to assay usb-ohci.c
- Next by thread: The size of result from vfork() + pipe()
- Index(es):