[PATCH net-next 02/10] net: hns: set debug port irq index to 0

2016-04-27 Thread Yisen Zhuang
From: Daode Huang As debug ports are removed from service dsaf to debug dsaf, its interrupts offset should start from 0, So this patch re-defines the offset index of debug ports. Signed-off-by: Daode Huang Signed-off-by: Yuzeng Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 8

[PATCH net-next 02/10] net: hns: set debug port irq index to 0

2016-04-22 Thread Yisen Zhuang
From: Daode Huang 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 Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 8 +--