Re: USB init order dependencies.

From: Russell King (rmk@arm.linux.org.uk)
Date: Tue Nov 07 2000 - 02:26:41 EST


Dunlap, Randy writes:
> I'm not following your argument very well. I've read it
> and reread it several times.
> Does adding a call to usb_init() in init/main.c cause
> USB to be init 2 times?

No. As I said elsewhere in this thread, the USB OHCI chip is not accessible
until other board-specific initialisation has happened. This is done via an
initcall. Unfortunately, moving usb_init() back into init/main.c will mean
that USB is again initialised before any initcalls, which means for these
boards USB will be non-functional without additional changes over and above
just moving usb_init().

I hope this helps you understand the problem.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:23 EST