]> git.proxmox.com Git - qemu.git/commit
eepro100: Add support for multiple individual addresses (multiple IA)
authorStefan Weil <weil@mail.berlios.de>
Wed, 29 Sep 2010 19:59:55 +0000 (21:59 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 12 Oct 2010 21:09:45 +0000 (16:09 -0500)
commite74f86377a6184326be13f1c7a6c7f9c218b1798
tree5d88c7cb55315972423df83dc863b8356395646c
parent286409ad631f3c5df737d0693785ef67dcfd8ba7
eepro100: Add support for multiple individual addresses (multiple IA)

I reviewed the latest sources of Linux, FreeBSD and NetBSD.
They all reset the multiple IA bit (multi_ia in BSD) to zero,
but I did not find code which sets this bit to one
(like it is done by some routers).

Running Windows guests also did not set this bit.

Intel's Open Source Software Developer Manual does not
give much information on the semantics related to this bit,
so I had to guess how it works. The guess was good enough
to make the router emulation work.

Related changes in this patch:
* Update naming and documentation of the internal hash register.
  It is not limited to multicast, but also used for multiple IA.
* Dump complete configuration register when debug traces are enabled.
* Debug output when multiple IA bit is set during CmdConfigure.
* Debug output when frames are received because multiple IA bit is set,
  or when they are ignored although it is set.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 010ec6293409f10b88631c36145944b9c3277ce1)
hw/eepro100.c