]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'be2net'
authorDavid S. Miller <davem@davemloft.net>
Sun, 8 Feb 2015 06:51:02 +0000 (22:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Feb 2015 06:51:02 +0000 (22:51 -0800)
commit0a449420a45aef9a2f9b4cf5752f29eb9b4ba2d9
tree4e4c2b111445ebe8c9c1c0c9e455e51bd5c950a2
parente48ea714d567909a506bf93e115281cff171b9e2
parente86bf66b1fc024c05c4e3d59248e7d12ca5a50ae
Merge branch 'be2net'

Sathya Perla says:

====================
be2net: patch set

Hi Dave, pls consider applying the following patch-set to the
net-next tree. It has 5 code/style cleanup patches and 4 patches that
add functionality to the driver.

Patch 1 moves routines that were not needed to be in be.h to the respective
src files, to avoid unnecessary compilation.

Patch 2 replaces (1 << x) with BIT(x) macro

Patch 3 refactors code that checks if a FW flash file is compatible
with the adapter. The code is now refactored into 2 routines, the first one
gets the file type from the image file and the 2nd routine checks if the
file type is compatible with the adapter.

Patch 4 adds compatibility checks for flashing a FW image on the new
Skyhawk P2 HW revision.

Patch 5 adds support for a new "offset based" flashing scheme, wherein
the driver informs the FW of the offset at which each component in the flash
file is to be flashed at. This helps flashing components that were
previously not recognized by the running FW.

Patch 6 simplifies the be_cmd_rx_filter() routine, by passing to it the
filter flags already used in the FW cmd, instead of the netdev flags that
were converted to the FW-cmd flags.

Patch 7 introduces helper routines in be_set_rx_mode() and be_vid_config()
to improve code readability.

Patch 8 adds processing of port-misconfig async event sent by the FW.

Patch 9 removes unnecessary swapping of a field in the TX desc.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>