All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Re: [PATCH 1/3][RESEND] Use macros for virtio-net PCI vendor/device IDs
       [not found] <1232977349.3724.83.camel@blaa>
@ 2009-01-26 15:23 ` Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-01-26 15:23 UTC (permalink / raw)
  To: Mark McLoughlin; +Cc: qemu-devel

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),
>   

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-26 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1232977349.3724.83.camel@blaa>
2009-01-26 15:23 ` [Qemu-devel] Re: [PATCH 1/3][RESEND] Use macros for virtio-net PCI vendor/device IDs Anthony Liguori

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.