From: Anthony Liguori <anthony@codemonkey.ws>
To: "Hervé Poussineau" <hpoussin@reactos.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] pcnet: fix wrong opaque (broken by bd8d6f7cadb6ace98c779135217a4ed7b5fccc23)
Date: Mon, 22 Aug 2011 11:33:43 -0500 [thread overview]
Message-ID: <4E5284E7.90401@codemonkey.ws> (raw)
In-Reply-To: <1313850590-20247-1-git-send-email-hpoussin@reactos.org>
On 08/20/2011 09:29 AM, Hervé Poussineau wrote:
>
> Signed-off-by: Hervé Poussineau<hpoussin@reactos.org>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> hw/pcnet-pci.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/pcnet-pci.c b/hw/pcnet-pci.c
> index 13d9380..51e1320 100644
> --- a/hw/pcnet-pci.c
> +++ b/hw/pcnet-pci.c
> @@ -290,10 +290,10 @@ static int pci_pcnet_init(PCIDevice *pci_dev)
> pci_conf[PCI_MAX_LAT] = 0xff;
>
> /* Handler for memory-mapped I/O */
> - memory_region_init_io(&d->state.mmio,&pcnet_mmio_ops, d, "pcnet-mmio",
> + memory_region_init_io(&d->state.mmio,&pcnet_mmio_ops, s, "pcnet-mmio",
> PCNET_PNPMMIO_SIZE);
>
> - memory_region_init_io(&d->io_bar,&pcnet_io_ops, d, "pcnet-io",
> + memory_region_init_io(&d->io_bar,&pcnet_io_ops, s, "pcnet-io",
> PCNET_IOPORT_SIZE);
> pci_register_bar(pci_dev, 0, PCI_BASE_ADDRESS_SPACE_IO,&d->io_bar);
>
prev parent reply other threads:[~2011-08-22 16:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-20 14:29 [Qemu-devel] [PATCH] pcnet: fix wrong opaque (broken by bd8d6f7cadb6ace98c779135217a4ed7b5fccc23) Hervé Poussineau
2011-08-22 8:48 ` Stefan Hajnoczi
2011-08-22 16:33 ` Anthony Liguori [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=4E5284E7.90401@codemonkey.ws \
--to=anthony@codemonkey.ws \
--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.