eepro100: Improve support for different devices
commitba42b6467b0e95f29187539237424cec13f0d5da
authorStefan Weil <weil@mail.berlios.de>
Fri, 30 Oct 2009 12:36:21 +0000 (30 13:36 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:11 +0000 (9 08:43 -0600)
tree84003c26f24f684a840691c47aecbad8df08725a
parentb4dccd8db43f6ee45389916bb96846344f7ce203
eepro100: Improve support for different devices

* Add device properties (size of statistical data,
  extended tcb support) to EEPRO100State and set
  these values for the different devices.

* Fix PCI configuration for existing devices.

* Add initialisation code for missing devices.

* Remove function device_supports_eTxCB.
  It is no longer needed.

* Fix dump of statistical data. It now respects
  the real size of the statistical data.
  An endianess issue was fixed here, too.

* CU_SHOWSTATS, CU_DUMPSTATS now write a
  completion value after the statistical data.
  There is no need to keep this value in
  eepro100_stats_t, so member "complete"
  could be removed.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/eepro100.c