From 36e50690beafcb223cb1b34751cd4f28ad095394 Mon Sep 17 00:00:00 2001 From: kmacy Date: Sun, 9 Sep 2007 01:28:03 +0000 Subject: - fix qset to port binding as a proper fix for the problems encountered on the 4-port - fix the use after free seen when sending packets small enough to fit as an immediate and bpf peers are present - update to firmware rev 4.7 along with various small vendor fixes Supported by: Chelsio Approved by: re (blanket) MFC after: 3 days --- sys/dev/cxgb/common/cxgb_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev/cxgb/common/cxgb_common.h') diff --git a/sys/dev/cxgb/common/cxgb_common.h b/sys/dev/cxgb/common/cxgb_common.h index 9d75102..0b4b6aa 100644 --- a/sys/dev/cxgb/common/cxgb_common.h +++ b/sys/dev/cxgb/common/cxgb_common.h @@ -40,6 +40,7 @@ $FreeBSD$ enum { MAX_FRAME_SIZE = 10240, /* max MAC frame size, includes header + FCS */ EEPROMSIZE = 8192, /* Serial EEPROM size */ + SERNUM_LEN = 16, /* Serial # length */ RSS_TABLE_SIZE = 64, /* size of RSS lookup and mapping tables */ TCB_SIZE = 128, /* TCB size */ NMTUS = 16, /* size of MTU table */ @@ -98,7 +99,7 @@ enum { enum { FW_VERSION_MAJOR = 4, - FW_VERSION_MINOR = 5, + FW_VERSION_MINOR = 7, FW_VERSION_MICRO = 0 }; @@ -348,6 +349,7 @@ struct vpd_params { unsigned int uclk; unsigned int mdc; unsigned int mem_timing; + u8 sn[SERNUM_LEN + 1]; u8 eth_base[6]; u8 port_type[MAX_NPORTS]; unsigned short xauicfg[2]; @@ -474,6 +476,7 @@ struct cmac { u64 rx_mcnt; unsigned int toggle_cnt; unsigned int txen; + u64 rx_pause; struct mac_stats stats; }; -- cgit v1.1