net: hns: set debug port irq index to 0
authorDaode Huang <huangdaode@hisilicon.com>
Sat, 23 Apr 2016 09:05:06 +0000 (17:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 05:09:17 +0000 (01:09 -0400)
commita542458cb7211a5e092c6a3cd6150404a5b1aa46
tree20627c6a7d682307093c2ca012e52ddcb55f2dbb
parent89a440932b6f2eb7fee78dbde05870e2b95e6151
net: hns: set debug port irq index to 0

As debug ports are moved from service dsaf to debug dsaf,
the interrupts offset should start from 0, So this patch
re-defines the offset index of debug ports.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h