|
@@ -382,7 +382,10 @@ static void nicvf_get_regs(struct net_device *dev,
|
|
|
p[i++] = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_DOOR, q);
|
|
|
p[i++] = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_STATUS, q);
|
|
|
p[i++] = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_DEBUG, q);
|
|
|
- p[i++] = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_CNM_CHG, q);
|
|
|
+ /* Padding, was NIC_QSET_SQ_0_7_CNM_CHG, which
|
|
|
+ * produces bus errors when read
|
|
|
+ */
|
|
|
+ p[i++] = 0;
|
|
|
p[i++] = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_STAT_0_1, q);
|
|
|
reg_offset = NIC_QSET_SQ_0_7_STAT_0_1 | (1 << 3);
|
|
|
p[i++] = nicvf_queue_reg_read(nic, reg_offset, q);
|