]> 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)
commit2d53fa8fcc7de16763ae45ddb337f2f417de49dc
treea355ee74148a6ebaa97fc3a4a882ff76a91edb5e
parent211cf4704ed1e696015370af1af5c4085da24f6c
parent277f739cdd30a31a42dbad29aaa654e8573532b5
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>