From: Lonnie Mendez <lmendez19@austin.rr.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] question on implementation of uhci host controller driver
Date: Sat, 18 Mar 2006 13:53:52 -0600 [thread overview]
Message-ID: <441C6550.50500@austin.rr.com> (raw)
In-Reply-To: <8716cb52347cfc2f301da7a4b05c7971@terzarima.net>
Charles Forsyth wrote:
>> If the initial value isn't the default
>>value then I'll be understanding this a whole lot better.
>>
>>
>
>yes, having checked the spec again i see what you mean.
>i'm not sure, then. if i have a spare moment when working on the ohci
>i'll see what is in the uhci registers after a reset.
>
I added a debug statement to show the initial value set in the uhci
probe function under linux. This is displayed before the hcd ever
touches the registers:
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: detected 2 ports
uhci_hcd 0000:00:1d.0: uhci_check_and_reset_hc: sts = 0x0020
uhci_hcd 0000:00:1d.0: uhci_check_and_reset_hc: cmd = 0x0000
Sure enough the status register has hchalted bit set. I'm not sure
if the bios does this or the firmware on the uhci controller. I'll
submit a patch for qemu to make it more realistic (and so plan9 boots
with -usb parameter).
Most of my patches for qemu are linked here:
http://gnome.dnsalias.net/patches/
next prev parent reply other threads:[~2006-03-18 19:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-18 4:21 Lonnie Mendez
2006-03-18 7:50 ` Charles Forsyth
2006-03-18 8:08 ` Lonnie Mendez
2006-03-18 8:16 ` Charles Forsyth
2006-03-18 8:46 ` Lonnie Mendez
2006-03-18 8:53 ` Charles Forsyth
2006-03-18 19:53 ` Lonnie Mendez [this message]
2006-03-20 15:55 ` Charles Forsyth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=441C6550.50500@austin.rr.com \
--to=lmendez19@austin.rr.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).