summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev/e1000/e1000_vf.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/dev/e1000/e1000_vf.h')
-rw-r--r--freebsd/sys/dev/e1000/e1000_vf.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/freebsd/sys/dev/e1000/e1000_vf.h b/freebsd/sys/dev/e1000/e1000_vf.h
index 8d02eda3..a07c1e3e 100644
--- a/freebsd/sys/dev/e1000/e1000_vf.h
+++ b/freebsd/sys/dev/e1000/e1000_vf.h
@@ -48,6 +48,7 @@
struct e1000_hw;
#define E1000_DEV_ID_82576_VF 0x10CA
+#define E1000_DEV_ID_I350_VF 0x1520
#define E1000_VF_INIT_TIMEOUT 200 /* Number of retries to clear RSTI */
@@ -94,9 +95,10 @@ union e1000_adv_rx_desc {
union {
u32 data;
struct {
- u16 pkt_info; /* RSS type, Packet type */
- u16 hdr_info; /* Split Header,
- * header buffer length */
+ /* RSS type, Packet type */
+ u16 pkt_info;
+ /* Split Header, header buffer len */
+ u16 hdr_info;
} hs_rss;
} lo_dword;
union {
@@ -160,6 +162,7 @@ struct e1000_adv_tx_context_desc {
enum e1000_mac_type {
e1000_undefined = 0,
e1000_vfadapt,
+ e1000_vfadapt_i350,
e1000_num_macs /* List is 1-based, so subtract 1 for TRUE count. */
};
@@ -259,8 +262,8 @@ struct e1000_mbx_info {
};
struct e1000_dev_spec_vf {
- u32 vf_number;
- u32 v2p_mailbox;
+ u32 vf_number;
+ u32 v2p_mailbox;
};
struct e1000_hw {
@@ -274,7 +277,7 @@ struct e1000_hw {
struct e1000_mbx_info mbx;
union {
- struct e1000_dev_spec_vf vf;
+ struct e1000_dev_spec_vf vf;
} dev_spec;
u16 device_id;