summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb/common/cxgb_common.h
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-09-09 01:28:03 +0000
committerkmacy <kmacy@FreeBSD.org>2007-09-09 01:28:03 +0000
commit36e50690beafcb223cb1b34751cd4f28ad095394 (patch)
tree4cef61463d4eb54cc5156a6cc7cf54ed763f4010 /sys/dev/cxgb/common/cxgb_common.h
parent8fc160dac01fee84ee885f1358e4dffb7e772df5 (diff)
downloadFreeBSD-src-36e50690beafcb223cb1b34751cd4f28ad095394.zip
FreeBSD-src-36e50690beafcb223cb1b34751cd4f28ad095394.tar.gz
- 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
Diffstat (limited to 'sys/dev/cxgb/common/cxgb_common.h')
-rw-r--r--sys/dev/cxgb/common/cxgb_common.h5
1 files changed, 4 insertions, 1 deletions
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;
};
OpenPOWER on IntegriCloud