Re: Driver initial sequence of usb drivers

2015-04-17 Thread yoma sophian
hi Greg: 2015-04-17 16:22 GMT+08:00 Greg KH : > On Fri, Apr 17, 2015 at 03:51:09PM +0800, yoma sophian wrote: >> hi Greg: >> >> > The linker order determines the order of the init functions. >> >> Would you mind to let us know where and how it do so? >> > >> > I don't understand, what is the probl

Re: Driver initial sequence of usb drivers

2015-04-17 Thread Greg KH
On Fri, Apr 17, 2015 at 03:51:09PM +0800, yoma sophian wrote: > hi Greg: > >> > The linker order determines the order of the init functions. > >> Would you mind to let us know where and how it do so? > > > > I don't understand, what is the problem with the existing code? What > > are you trying to

Re: Driver initial sequence of usb drivers

2015-04-17 Thread yoma sophian
hi Greg: >> > The linker order determines the order of the init functions. >> Would you mind to let us know where and how it do so? > > I don't understand, what is the problem with the existing code? What > are you trying to solve here? Is the linking order somehow not working > properly? No. the

Re: Driver initial sequence of usb drivers

2015-04-17 Thread Greg KH
On Fri, Apr 17, 2015 at 03:19:26PM +0800, yoma sophian wrote: > hi Greg: > > 2015-04-17 14:45 GMT+08:00 Greg KH : > > On Fri, Apr 17, 2015 at 09:22:02AM +0800, yoma sophian wrote: > >> hi all: > >> if we build usb driver as module, the dependence is like below: > >> usb-common.ko > >> usbcore.ko >

Re: Driver initial sequence of usb drivers

2015-04-17 Thread yoma sophian
hi Greg: 2015-04-17 14:45 GMT+08:00 Greg KH : > On Fri, Apr 17, 2015 at 09:22:02AM +0800, yoma sophian wrote: >> hi all: >> if we build usb driver as module, the dependence is like below: >> usb-common.ko >> usbcore.ko >> ehci-hcd.ko >> ... >> etc. >> if we choose build-in instead of modules, how

Re: Driver initial sequence of usb drivers

2015-04-16 Thread Greg KH
On Fri, Apr 17, 2015 at 09:22:02AM +0800, yoma sophian wrote: > hi all: > if we build usb driver as module, the dependence is like below: > usb-common.ko > usbcore.ko > ehci-hcd.ko > ... > etc. > if we choose build-in instead of modules, how could we make sure the > initial sequence is indeed follo

Driver initial sequence of usb drivers

2015-04-16 Thread yoma sophian
hi all: if we build usb driver as module, the dependence is like below: usb-common.ko usbcore.ko ehci-hcd.ko ... etc. if we choose build-in instead of modules, how could we make sure the initial sequence is indeed followed what we expected? appreciate your kind help in advance, -- To unsubscribe f