Re: Resetting USB HC .. During kernel boot

From: Prabhu Chawandi
Date: Fri Sep 03 2010 - 02:28:47 EST


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@xxxxxxxxxxxxxxxxxxx> 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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/