From: Anthony Liguori <anthony@codemonkey.ws>
To: Mark McLoughlin <markmc@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH 1/3][RESEND] Use macros for virtio-net PCI vendor/device IDs
Date: Mon, 26 Jan 2009 09:23:04 -0600 [thread overview]
Message-ID: <497DD558.10004@codemonkey.ws> (raw)
In-Reply-To: <1232977349.3724.83.camel@blaa>
Mark McLoughlin wrote:
> Gerd added these macros a while back.
>
Applied all. Thanks.
Regards,
Anthony Liguori
> Signed-off-by: Mark McLoughlin <markmc@redhat.com>
> ---
> hw/virtio-net.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/hw/virtio-net.c b/hw/virtio-net.c
> index 54c0030..b13914a 100644
> --- a/hw/virtio-net.c
> +++ b/hw/virtio-net.c
> @@ -320,7 +320,9 @@ void virtio_net_init(PCIBus *bus, NICInfo *nd, int devfn)
> VirtIONet *n;
> static int virtio_net_id;
>
> - n = (VirtIONet *)virtio_init_pci(bus, "virtio-net", 6900, 0x1000,
> + n = (VirtIONet *)virtio_init_pci(bus, "virtio-net",
> + PCI_VENDOR_ID_REDHAT_QUMRANET,
> + PCI_DEVICE_ID_VIRTIO_NET,
> 0, VIRTIO_ID_NET,
> 0x02, 0x00, 0x00,
> sizeof(struct virtio_net_config),
>
parent reply other threads:[~2009-01-26 17:15 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1232977349.3724.83.camel@blaa>]
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=497DD558.10004@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=markmc@redhat.com \
--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 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).