[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTin5U3xY2ZFSZ9RsK7mADy0L8XiGWrsFHhQ=-WEx@mail.gmail.com>
Date: Fri, 3 Sep 2010 11:58:42 +0530
From: Prabhu Chawandi <prabhu.chavandi@...il.com>
To: Alan Stern <stern@...land.harvard.edu>
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
listar@...linux.org, kernelnewbies@...linux.org
Subject: Re: Resetting USB HC .. During kernel boot
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@...land.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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists