qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 5/9] eepro100: Set configuration bit for standard TC


From: Stefan Weil
Subject: [Qemu-devel] [PATCH 5/9] eepro100: Set configuration bit for standard TCB
Date: Tue, 6 Apr 2010 13:44:05 +0200

For some devices, this bit is always set.
For the others, it is set by default.

Signed-off-by: Stefan Weil <address@hidden>
---
 hw/eepro100.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/hw/eepro100.c b/hw/eepro100.c
index 52c5888..cedc427 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -519,6 +519,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);
 
-- 
1.7.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]