diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2009-09-03 23:12:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-07 04:56:38 -0400 |
commit | 84517482e19bc775de7b3b4e998dee2f506bc34e (patch) | |
tree | ae3491a5cf8891feef8c2896ef50758d763646f2 /drivers/net/benet/be.h | |
parent | 384824281caa9ac4b76664033416f1eac4a652fe (diff) |
be2net: Changes to support flashing of the be2 network adapter
Changes to support flashing of the be2 network adapter using the
request_firmware() & ethtool infrastructure. The trigger to flash the device
will come from ethtool utility. The driver will invoke request_firmware()
to start the flash process. The file containing the flash image is expected
to be available in /lib/firmware/
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 6c45a2233d0d..13b72ce870de 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h | |||
@@ -28,10 +28,11 @@ | |||
28 | #include <linux/if_vlan.h> | 28 | #include <linux/if_vlan.h> |
29 | #include <linux/workqueue.h> | 29 | #include <linux/workqueue.h> |
30 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
31 | #include <linux/firmware.h> | ||
31 | 32 | ||
32 | #include "be_hw.h" | 33 | #include "be_hw.h" |
33 | 34 | ||
34 | #define DRV_VER "2.0.400" | 35 | #define DRV_VER "2.101.205" |
35 | #define DRV_NAME "be2net" | 36 | #define DRV_NAME "be2net" |
36 | #define BE_NAME "ServerEngines BladeEngine2 10Gbps NIC" | 37 | #define BE_NAME "ServerEngines BladeEngine2 10Gbps NIC" |
37 | #define OC_NAME "Emulex OneConnect 10Gbps NIC" | 38 | #define OC_NAME "Emulex OneConnect 10Gbps NIC" |
@@ -361,4 +362,5 @@ static inline u8 is_udp_pkt(struct sk_buff *skb) | |||
361 | extern void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm, | 362 | extern void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm, |
362 | u16 num_popped); | 363 | u16 num_popped); |
363 | extern void be_link_status_update(struct be_adapter *adapter, bool link_up); | 364 | extern void be_link_status_update(struct be_adapter *adapter, bool link_up); |
365 | extern int be_load_fw(struct be_adapter *adapter, u8 *func); | ||
364 | #endif /* BE_H */ | 366 | #endif /* BE_H */ |