From: "Andreas Färber" <afaerber@suse.de>
To: "Hervé Poussineau" <hpoussin@reactos.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/3] sonic: fix netcard reset
Date: Mon, 07 Nov 2011 12:16:59 +0100 [thread overview]
Message-ID: <4EB7BE2B.5010703@suse.de> (raw)
In-Reply-To: <1320616132-21864-2-git-send-email-hpoussin@reactos.org>
Am 06.11.2011 22:48, schrieb Hervé Poussineau:
> From: Herv Poussineau <hpoussin@reactos.org>
Typo.
At least to me it's not obvious why this is correct, so please add an
explanatory patch description.
Andreas
> Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
> ---
> hw/dp8393x.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/hw/dp8393x.c b/hw/dp8393x.c
> index cfec4cb..acb1604 100644
> --- a/hw/dp8393x.c
> +++ b/hw/dp8393x.c
> @@ -845,8 +845,7 @@ static void nic_reset(void *opaque)
> s->regs[SONIC_CR] = SONIC_CR_RST | SONIC_CR_STP | SONIC_CR_RXDIS;
> s->regs[SONIC_DCR] &= ~(SONIC_DCR_EXBUS | SONIC_DCR_LBR);
> s->regs[SONIC_RCR] &= ~(SONIC_RCR_LB0 | SONIC_RCR_LB1 | SONIC_RCR_BRD | SONIC_RCR_RNT);
> - s->regs[SONIC_TCR] |= SONIC_TCR_NCRS | SONIC_TCR_PTX;
> - s->regs[SONIC_TCR] &= ~SONIC_TCR_BCM;
> + s->regs[SONIC_TCR] = SONIC_TCR_NCRS | SONIC_TCR_PTX;
> s->regs[SONIC_IMR] = 0;
> s->regs[SONIC_ISR] = 0;
> s->regs[SONIC_DCR2] = 0;
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2011-11-07 11:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-06 21:48 [Qemu-devel] [PATCH 1/3] sonic: fix typo Hervé Poussineau
2011-11-06 21:48 ` [Qemu-devel] [PATCH 2/3] sonic: fix netcard reset Hervé Poussineau
2011-11-07 11:16 ` Andreas Färber [this message]
2011-11-06 21:48 ` [Qemu-devel] [PATCH 3/3] sonic: reset all bits of in_use field when required Hervé Poussineau
2011-11-07 11:15 ` [Qemu-trivial] [Qemu-devel] [PATCH 1/3] sonic: fix typo Andreas Färber
2011-11-07 11:15 ` Andreas Färber
2011-11-08 10:46 ` Stefan Hajnoczi
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=4EB7BE2B.5010703@suse.de \
--to=afaerber@suse.de \
--cc=aliguori@us.ibm.com \
--cc=hpoussin@reactos.org \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.