summaryrefslogtreecommitdiffstats
path: root/sys/dev/bce/if_bcereg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bce/if_bcereg.h')
-rw-r--r--sys/dev/bce/if_bcereg.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/dev/bce/if_bcereg.h b/sys/dev/bce/if_bcereg.h
index e25386f..515d36e 100644
--- a/sys/dev/bce/if_bcereg.h
+++ b/sys/dev/bce/if_bcereg.h
@@ -131,7 +131,9 @@
/****************************************************************************/
/* Debugging macros and definitions. */
-/****************************************************************************/
+/****************************************************************************/
+/* #define BCE_DEBUG 1 */
+
#define BCE_CP_LOAD 0x00000001
#define BCE_CP_SEND 0x00000002
#define BCE_CP_RECV 0x00000004
@@ -466,7 +468,7 @@ struct flash_spec {
* running and there won't be any firmware-driver synchronization during a
* driver reset.
*/
-#define FW_ACK_TIME_OUT_MS 100
+#define FW_ACK_TIME_OUT_MS 1000
#define BCE_DRV_RESET_SIGNATURE 0x00000000
@@ -4924,8 +4926,7 @@ struct fw_info {
#define BCE_MAX_JUMBO_ETHER_MTU 9018
#define BCE_MAX_JUMBO_ETHER_MTU_VLAN 9022
-// #define BCE_MAX_MTU ETHER_MAX_LEN_JUMBO + ETHER_VLAN_ENCAP_LEN /* 9022 */
-
+
/****************************************************************************/
/* BCE Device State Data Structure */
/****************************************************************************/
@@ -5047,7 +5048,9 @@ struct bce_softc
/* Frame size and mbuf allocation size for RX frames. */
u32 max_frame_size;
- int rx_bd_mbuf_alloc_size;
+ int rx_bd_mbuf_alloc_size;
+ int rx_bd_mbuf_data_len;
+ int rx_bd_mbuf_align_pad;
int pg_bd_mbuf_alloc_size;
/* Receive mode settings (i.e promiscuous, multicast, etc.). */
OpenPOWER on IntegriCloud