summaryrefslogtreecommitdiff
path: root/hw/eepro100.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-04-06 13:44:05 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-04-06 15:32:30 +0300
commit3dec59a1fb5e1144b655e00cca693240cab0bc70 (patch)
treedf4637b7a51bc98adedf5399bbf06dced96466de /hw/eepro100.c
parentdb667a1205587d7b5123330f1f0dc506a9b06459 (diff)
downloadqemu-3dec59a1fb5e1144b655e00cca693240cab0bc70.tar.gz
eepro100: Set configuration bit for standard TCB
For some devices, this bit is always set. For the others, it is set by default. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r--hw/eepro100.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c
index e74d3bb108..32e670ec93 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -518,6 +518,9 @@ static void e100_pci_reset(EEPRO100State * s, E100PCIDeviceInfo *e100_device)
logout("Device %X is undefined!\n", device);
}
+ /* Standard TxCB. */
+ s->configuration[6] |= BIT(4);
+
/* Standard statistical counters. */
s->configuration[6] |= BIT(5);