qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] e1000: link auto-negotiation fixes
@ 2014-06-19 15:55 Gabriel L. Somlo
  2014-06-19 15:55 ` [Qemu-devel] [PATCH v2 1/4] e1000: emulate auto-negotiation during external link status change Gabriel L. Somlo
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Gabriel L. Somlo @ 2014-06-19 15:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: romain, mst, agraf, stefanha, pbonzini, afaerber

New in v2:

  - checking for E1000_FLAG_AUTONEG in s->compat_flags when deciding
    whether to run the auto-negotiation timer vs. simply forcing the
    link up during e1000_set_link_status()

  - grouped E1000_FLAG_AUTONEG check in s->compat_flags tighter with
    the rest of the auto-negotiation checks in the two other locations
    they appear in the source code (hopefully improving clarity).

  - added patch to move the auto-negotiation timer function past set_ics()
    to avoid the need for a forward declaration.


This series contains a few fixes and improvements in the emulation
of link auto-negotiation:

  - use auto-negotiation when the link is bounced externally (e.g. via
    set_link <foo> down/up on the qemu monitor command line).

  - allow mii_tool on linux access to all the phy registers and flags
    it requires in order to report a successfully auto-negotiated link.

  - inject LSC interrupt upon successful link auto-negotiation (required
    by stock OS X e1000 driver).

Gabriel L. Somlo (4):
  e1000: emulate auto-negotiation during external link status change
  e1000: improve auto-negotiation reporting via mii-tool
  e1000: move e1000_autoneg_timer() to after set_ics()
  e1000: signal guest on successful link auto-negotiation

 hw/net/e1000.c      | 59 ++++++++++++++++++++++++++++++-----------------------
 hw/net/e1000_regs.h |  3 +++
 2 files changed, 36 insertions(+), 26 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-19 16:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19 15:55 [Qemu-devel] [PATCH v2 0/4] e1000: link auto-negotiation fixes Gabriel L. Somlo
2014-06-19 15:55 ` [Qemu-devel] [PATCH v2 1/4] e1000: emulate auto-negotiation during external link status change Gabriel L. Somlo
2014-06-19 16:26   ` Michael S. Tsirkin
2014-06-19 15:55 ` [Qemu-devel] [PATCH v2 2/4] e1000: improve auto-negotiation reporting via mii-tool Gabriel L. Somlo
2014-06-19 15:55 ` [Qemu-devel] [PATCH v2 3/4] e1000: move e1000_autoneg_timer() to after set_ics() Gabriel L. Somlo
2014-06-19 15:55 ` [Qemu-devel] [PATCH v2 4/4] e1000: signal guest on successful link auto-negotiation Gabriel L. Somlo
2014-06-19 16:29 ` [Qemu-devel] [PATCH v2 0/4] e1000: link auto-negotiation fixes Michael S. Tsirkin

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