Patchwork [5/9] eepro100: Set configuration bit for standard TCB

login
register
mail settings
Submitter Stefan Weil
Date April 6, 2010, 11:44 a.m.
Message ID <1270554249-24861-6-git-send-email-weil@mail.berlios.de>
Download mbox | patch
Permalink /patch/49505/
State New
Headers show

Comments

Stefan Weil - April 6, 2010, 11:44 a.m.
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>
---
 hw/eepro100.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

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);