opengnsys_ipxe/src/drivers
Michael Brown 5d3d62d8d7 [realtek] Fix reopening of legacy-mode 8139 NIC
realtek_destroy_ring() currently does nothing if the card is operating
in legacy (pre-RTL8139C+) mode.  In particular, the producer and
consumer counters are incorrectly left holding their current values.
Virtual hardware (e.g. the emulated RTL8139 in qemu and similar VMs)
is tolerant of this behaviour, but real hardware will fail to transmit
if the descriptors are not used in the correct order.

Fix by resetting the producer and consumer counters in
realtek_destroy_ring() even if the card is operating in legacy mode.

Reported-by: Gelip <mrgelip@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2013-05-26 18:31:46 +01:00
..
bitbash [bitbash] Add optional open() and close() methods for bit-bashing interfaces 2012-08-24 17:26:10 +01:00
block [libc] Use __einfo() tuple as first argument to EUNIQ() 2013-04-19 00:45:13 +01:00
bus [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
infiniband [hermon] Use PCI VPD for non-volatile option storage 2012-10-25 08:24:00 -07:00
linux [device] Make driver name a generic device property 2011-04-07 23:09:19 +01:00
net [realtek] Fix reopening of legacy-mode 8139 NIC 2013-05-26 18:31:46 +01:00
nvs [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00