linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Resetting USB HC .. During kernel boot
@ 2010-09-02 11:57 Prabhu Chawandi
  2010-09-02 14:26 ` Alan Stern
  0 siblings, 1 reply; 4+ messages in thread
From: Prabhu Chawandi @ 2010-09-02 11:57 UTC (permalink / raw)
  To: linux-kernel, linux-usb, listar

Hi All,

   I want to reset the USB HC  while the booting is happening. I have
the register details and functionality with me, but not sure which
part of the code to insert this segment.

please advice me ...

thanks,
Prabhu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resetting USB HC .. During kernel boot
  2010-09-02 11:57 Resetting USB HC .. During kernel boot Prabhu Chawandi
@ 2010-09-02 14:26 ` Alan Stern
  2010-09-03  6:28   ` Prabhu Chawandi
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Stern @ 2010-09-02 14:26 UTC (permalink / raw)
  To: Prabhu Chawandi; +Cc: linux-kernel, linux-usb, listar

On Thu, 2 Sep 2010, Prabhu Chawandi wrote:

> Hi All,
> 
>    I want to reset the USB HC  while the booting is happening. I have
> the register details and functionality with me, but not sure which
> part of the code to insert this segment.
> 
> please advice me ...

Why do you want to do this?

Anyway, it depends on what type of host controller you're talking 
about.  UHCI controllers are already reset during boot.  The same is 
true for PCI-based EHCI and OHCI controllers (except on certain PA-RISC 
systems).

I haven't checked the various non-PCI controllers.

Alan Stern


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resetting USB HC .. During kernel boot
  2010-09-02 14:26 ` Alan Stern
@ 2010-09-03  6:28   ` Prabhu Chawandi
  2010-09-03 14:05     ` Alan Stern
  0 siblings, 1 reply; 4+ messages in thread
From: Prabhu Chawandi @ 2010-09-03  6:28 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-kernel, linux-usb, listar, kernelnewbies

Hi Alan,

  I am working on a board, where USB controller is on chip. and this
has both UHC and EHC.  I have to reset these during the boot up.
Bootloader does not reset it before handing over control to kernel, I
am facing crash. So I am planning to reset here in kernel.

Can you help to locate the file, where this part of the code can be inserted.

Thanks in advance,
Prabhu


On Thu, Sep 2, 2010 at 7:56 PM, Alan Stern <stern@rowland.harvard.edu> wrote:
> On Thu, 2 Sep 2010, Prabhu Chawandi wrote:
>
>> Hi All,
>>
>>    I want to reset the USB HC  while the booting is happening. I have
>> the register details and functionality with me, but not sure which
>> part of the code to insert this segment.
>>
>> please advice me ...
>
> Why do you want to do this?
>
> Anyway, it depends on what type of host controller you're talking
> about.  UHCI controllers are already reset during boot.  The same is
> true for PCI-based EHCI and OHCI controllers (except on certain PA-RISC
> systems).
>
> I haven't checked the various non-PCI controllers.
>
> Alan Stern
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Resetting USB HC .. During kernel boot
  2010-09-03  6:28   ` Prabhu Chawandi
@ 2010-09-03 14:05     ` Alan Stern
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Stern @ 2010-09-03 14:05 UTC (permalink / raw)
  To: Prabhu Chawandi; +Cc: linux-kernel, linux-usb, listar, kernelnewbies

On Fri, 3 Sep 2010, Prabhu Chawandi wrote:

> Hi Alan,
> 
>   I am working on a board, where USB controller is on chip. and this
> has both UHC and EHC.  I have to reset these during the boot up.
> Bootloader does not reset it before handing over control to kernel, I
> am facing crash. So I am planning to reset here in kernel.
> 
> Can you help to locate the file, where this part of the code can be inserted.

No.  All I can tell you is that it will be somewhere in the 
platform-specific code for your board, i.e., somewhere under arch/.

Alan Stern


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-03 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02 11:57 Resetting USB HC .. During kernel boot Prabhu Chawandi
2010-09-02 14:26 ` Alan Stern
2010-09-03  6:28   ` Prabhu Chawandi
2010-09-03 14:05     ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).