]> git.proxmox.com Git - qemu.git/commitdiff
eepro100: Set configuration bit for standard TCB
authorStefan Weil <weil@mail.berlios.de>
Tue, 6 Apr 2010 11:44:05 +0000 (13:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Apr 2010 12:32:30 +0000 (15:32 +0300)
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>
hw/eepro100.c

index e74d3bb10875c4d1e70dca94a8d948baef16a280..32e670ec9350aa00e55964b939d3461c04014455 100644 (file)
@@ -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);