qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Phani Vadrevu <pvadrevu@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] DEFINE_NIC_PROPERTIES in net.h
Date: Sun, 3 Mar 2013 19:53:46 -0500	[thread overview]
Message-ID: <CANSQQCK-djGq49kCG96peJ1XhR8VGZCeJFW1wL3utfSyJRK95A@mail.gmail.com> (raw)

Hi list,
        I am trying to write a device emulator for a Broadcom card. As
reference, I am looking at e1000.c code of 1.2.2 version. In that
code, there is this line: DEFINE_NIC_PROPERTIES( E1000State, conf);

Is there a definite structure for the state object that is passed to
DEFINE_NIC_PROPERTIES? What does this function do? All I need is some
basic functioning code, so if this is not essential, I can ignore it.

Thanks,
Phani

             reply	other threads:[~2013-03-04  0:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04  0:53 Phani Vadrevu [this message]
2013-03-04  1:27 ` [Qemu-devel] DEFINE_NIC_PROPERTIES in net.h Peter Maydell
2013-03-04  7:52 ` Markus Armbruster

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=CANSQQCK-djGq49kCG96peJ1XhR8VGZCeJFW1wL3utfSyJRK95A@mail.gmail.com \
    --to=pvadrevu@gmail.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).