]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: support deferred probe when can not obtain irq
authorlipeng <lipeng321@huawei.com>
Fri, 28 Apr 2017 06:49:46 +0000 (14:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 02:39:24 +0000 (22:39 -0400)
commit61b4b13f375e65b2d98d04f0005d2c9dd5fb50b4
treec32df17d3d93b85f7f570afd6470c3c5ca708e56
parentdca500567b00fcb2524af293163b6a6160f2c6b1
net: hns: support deferred probe when can not obtain irq

In the hip06 and hip07 SoCs, the interrupt lines from the
DSAF controllers are connected to mbigen hw module.
The mbigen module is probed with module_init, and, as such,
is not guaranteed to probe before the HNS driver. So we need
to support deferred probe.

Signed-off-by: lipeng <lipeng321@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h