Revision 3f9cb1c1 hw/eepro100.c

b/hw/eepro100.c
715 715
            } else {
716 716
                /* Flexible mode. */
717 717
                uint8_t tbd_count = 0;
718
                if (!(s->configuration[6] & BIT(4))) {
719
                    /* Extended TCB. */
718
                if ((s->device >= i82558B) && !(s->configuration[6] & BIT(4))) {
719
                    /* Extended Flexible TCB. */
720 720
                    assert(tcb_bytes == 0);
721 721
                    for (; tbd_count < 2; tbd_count++) {
722 722
                        uint32_t tx_buffer_address = ldl_phys(tbd_address);
......
724 724
                        uint16_t tx_buffer_el = lduw_phys(tbd_address + 6);
725 725
                        tbd_address += 8;
726 726
                        logout
727
                            ("TBD (extended mode): buffer address 0x%08x, size 0x%04x\n",
727
                            ("TBD (extended flexible mode): buffer address 0x%08x, size 0x%04x\n",
728 728
                             tx_buffer_address, tx_buffer_size);
729 729
                        cpu_physical_memory_read(tx_buffer_address, &buf[size],
730 730
                                                 tx_buffer_size);

Also available in: Unified diff