]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'hns3-add-support-for-reset'
authorDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 12:28:36 +0000 (21:28 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 12:28:36 +0000 (21:28 +0900)
commit20e489cc2e6eba3f4bbdd5e26588f41d191bf348
treea355ee74148a6ebaa97fc3a4a882ff76a91edb5e
parentb1dbbdd7012ca05e0afd2ba82db09df33f1583f1
parent70b3fdb380344410df27204a60c33e9f9550a0ba
Merge branch 'hns3-add-support-for-reset'

Lipeng says:

====================
net: hns3: add support for reset

There are 4 reset types for HNS3 PF driver, include global reset,
core reset, IMP reset, PF reset.The core reset will reset all datapath
of all functions except IMP, MAC and PCI interface. Global reset is equal
with the core reset plus all MAC reset. IMP reset is caused by watchdog
timer expiration, the same range with core reset. PF reset will reset
whole physical function.

This patchset adds reset support for hns3 driver and fix some related bugs.

---
Change log:
V1 -> V2:
1, fix some comments from Yunsheng Lin.
====================

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