OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db667a1
)
eepro100: Set configuration bit for standard TCB
author
Stefan Weil
<weil@mail.berlios.de>
Tue, 6 Apr 2010 11:44:05 +0000
(13:44 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/hw/eepro100.c
b/hw/eepro100.c
index
e74d3bb
..
32e670e
100644
(file)
--- 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);