NetBSD and Broadcom docs (5718-PG106-R.pdf and 57XX-PG105-R.pdf)
and even our bnx(4) driver (and it's spec) agree that the mask
should be 0x3ff.


diff --git sys/dev/pci/if_bgereg.h sys/dev/pci/if_bgereg.h
index 3685f14..c0a28b9 100644
--- sys/dev/pci/if_bgereg.h
+++ sys/dev/pci/if_bgereg.h
@@ -720,11 +720,11 @@
 #define        BGE_LEDCTL_TRADLED_STS          0x00000400
 #define        BGE_LEDCTL_BLINKPERIOD          0x7FF80000
 #define        BGE_LEDCTL_BLINKPERIOD_OVERRIDE 0x80000000
 /* TX backoff seed register */
-#define        BGE_TX_BACKOFF_SEED_MASK        0x3F
+#define        BGE_TX_BACKOFF_SEED_MASK        0x3FF
 /* Autopoll status register */
 #define        BGE_AUTOPOLLSTS_ERROR           0x00000001
 /* Transmit MAC mode register */

Reply via email to