]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/net/tulip: Fix 'Descriptor Error' definition
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 23 Apr 2020 23:16:42 +0000 (01:16 +0200)
committerJason Wang <jasowang@redhat.com>
Thu, 18 Jun 2020 13:05:51 +0000 (21:05 +0800)
Bit #14 is "DE" for 'Descriptor Error':

  When set, indicates a frame truncation caused by a frame
  that does not fit within the current descriptor buffers,
  and that the 21143 does not own the next descriptor.

  [Table 4-1. RDES0 Bit Fields Description]

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/tulip.h

index 97521b21db2a96b114c93be1e92903d0c5268aed..5271aad8d58b98299f5ac0c38a5fb3a165e12982 100644 (file)
 #define RDES0_RF         BIT(11)
 #define RDES0_DT_SHIFT   12
 #define RDES0_DT_MASK    3
-#define RDES0_LE         BIT(14)
+#define RDES0_DE         BIT(14)
 #define RDES0_ES         BIT(15)
 #define RDES0_FL_SHIFT   16
 #define RDES0_FL_MASK    0x3fff