From: Helge Deller <deller@gmx.de>
To: Jason Wang <jasowang@redhat.com>, qemu-devel@nongnu.org
Cc: Sven Schnelle <svens@stackframe.org>
Subject: Re: [PATCH] hw/net/tulip: add chip status register values
Date: Fri, 9 Feb 2024 10:33:50 +0100 [thread overview]
Message-ID: <209f0e2d-e7e7-40c3-a4a9-a3428b504680@gmx.de> (raw)
In-Reply-To: <9ac454b1-a49a-4d57-ad3b-c0849bd789ea@gmx.de>
On 2/6/24 23:33, Helge Deller wrote:
> On 2/5/24 20:47, Sven Schnelle wrote:
>> Netbsd isn't able to detect a link on the emulated tulip card. That's
>> because netbsd reads the Chip Status Register of the Phy (address
>> 0x14). The default phy data in the qemu tulip driver is all zero,
>> which means no link is established and autonegotation isn't complete.
>>
>> Therefore set the register to 0x3b40, which means:
>>
>> Link is up, Autonegotation complete, Full Duplex, 100MBit/s Link
>> speed.
>>
>> Also clear the mask because this register is read only.
>>
>> Signed-off-by: Sven Schnelle <svens@stackframe.org>
>
> Reviewed-by: Helge Deller <deller@gmx.de>
> Tested-by: Helge Deller <deller@gmx.de>
Unless someone complains, I'll include this patch
in the upcoming hppa pull request...
Helge
prev parent reply other threads:[~2024-02-09 9:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-05 19:47 [PATCH] hw/net/tulip: add chip status register values Sven Schnelle
2024-02-06 11:30 ` Philippe Mathieu-Daudé
2024-02-06 22:33 ` Helge Deller
2024-02-09 9:33 ` Helge Deller [this message]
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=209f0e2d-e7e7-40c3-a4a9-a3428b504680@gmx.de \
--to=deller@gmx.de \
--cc=jasowang@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=svens@stackframe.org \
/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).