summaryrefslogtreecommitdiffstats
path: root/sys/dev/ste/if_ste.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ste/if_ste.c')
-rw-r--r--sys/dev/ste/if_ste.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/ste/if_ste.c b/sys/dev/ste/if_ste.c
index cad1fde..78c0290 100644
--- a/sys/dev/ste/if_ste.c
+++ b/sys/dev/ste/if_ste.c
@@ -1573,12 +1573,14 @@ ste_init_rx_list(struct ste_softc *sc)
return (error);
if (i == (STE_RX_LIST_CNT - 1)) {
cd->ste_rx_chain[i].ste_next = &cd->ste_rx_chain[0];
- ld->ste_rx_list[i].ste_next = ld->ste_rx_list_paddr +
- (sizeof(struct ste_desc_onefrag) * 0);
+ ld->ste_rx_list[i].ste_next =
+ htole32(ld->ste_rx_list_paddr +
+ (sizeof(struct ste_desc_onefrag) * 0));
} else {
cd->ste_rx_chain[i].ste_next = &cd->ste_rx_chain[i + 1];
- ld->ste_rx_list[i].ste_next = ld->ste_rx_list_paddr +
- (sizeof(struct ste_desc_onefrag) * (i + 1));
+ ld->ste_rx_list[i].ste_next =
+ htole32(ld->ste_rx_list_paddr +
+ (sizeof(struct ste_desc_onefrag) * (i + 1)));
}
}
OpenPOWER on IntegriCloud