diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-10-10 18:19:17 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-10-10 18:19:17 +0000 |
commit | a489d379d259e9b1f8ce6d5b7090108b70093aba (patch) | |
tree | 90186ad10e2f26a4a876abf69e465b72b3bb399e /sys/dev | |
parent | fb201011e8c807212087ca6311efe593eecebadf (diff) |
lightly season with a touch of htole32()... a pinch will do.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_vr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index 6650cb15301..9dcbca9949d 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vr.c,v 1.34 2003/10/10 18:12:41 jason Exp $ */ +/* $OpenBSD: if_vr.c,v 1.35 2003/10/10 18:19:16 jason Exp $ */ /* * Copyright (c) 1997, 1998 @@ -936,14 +936,14 @@ vr_list_rx_init(sc) cd->vr_rx_chain[i].vr_nextdesc = &cd->vr_rx_chain[0]; ld->vr_rx_list[i].vr_next = - sc->sc_listmap->dm_segs[0].ds_addr + - offsetof(struct vr_list_data, vr_rx_list[0]); + htole32(sc->sc_listmap->dm_segs[0].ds_addr + + offsetof(struct vr_list_data, vr_rx_list[0])); } else { cd->vr_rx_chain[i].vr_nextdesc = &cd->vr_rx_chain[i + 1]; ld->vr_rx_list[i].vr_next = - sc->sc_listmap->dm_segs[0].ds_addr + - offsetof(struct vr_list_data, vr_rx_list[i + 1]); + htole32(sc->sc_listmap->dm_segs[0].ds_addr + + offsetof(struct vr_list_data, vr_rx_list[i + 1])); } } |